/* ==========================================================================
   YOGATEKET DESIGN SYSTEM  (public/css/yt-design.css, started 2026-12-01)

   What this is
   - The one stylesheet for how public Yogateket pages look: colours, type,
     spacing, buttons, form fields, alerts, cards and chips.
   - It is the approved retreat look ("rt-*"): plum #773669 on a white page,
     ink #241422 headings, Sofia Pro Light (300) for reading and Regular (400)
     for headings and buttons, thin dividers, a lot of white space, pill buttons.
   - The guide with every component and an HTML snippet is
     docs/design/design-system.md. A preview page is docs/design/design-system.html.

   Rules
   - EVERY new public page uses these classes (.yt-btn, .yt-field, .yt-input,
     .yt-alert, .yt-card ...) and these tokens (var(--yt-plum) ...).
   - No page-local button, field or alert CSS. No new colour values. No style="".
   - Admin (/admin) does NOT use this file. It has its own "Plum evening"
     design in public/css/admin-shell.css and never loads layouts/app.

   Load order (layouts/app.blade.php <head>)
     bootstrap 3.4.1 -> yoga.css -> combined.css -> typography.css
     -> yt-design.css (this file) -> @yield('head-css') page styles
   So this file beats Bootstrap and the old site CSS, and a page can still
   fine-tune. It is cache-busted with filemtime(), so ship it together with
   the layout (filemtime() fails if the file is missing).

   Sections
     0. Fonts (same files as typography.css, so the file also works alone)
     1. Tokens (:root)
     2. Page type
     3. Buttons
     4. Form fields
     5. Alerts
     6. Cards
     7. Badges and chips
     8. Layout: container, sections, stacks
     8a. Dialog and star rating
     9. [hidden] safety
    10. Legacy bridge for Bootstrap markup (remove when pages are migrated)

   Old class names (rt-btn, fp-btn, jn-btn ...) are listed next to the new
   ones so old markup gets the new look once its page-local rule is deleted.
   ========================================================================== */


/* ---------- 0. Fonts ------------------------------------------------------
   Same three Sofia Pro files and family name as typography.css. Repeated here
   so standalone pages (page/links, errors/503) that load only this file get
   the right weights. The browser fetches each file once. */
@font-face{font-family:YtSofia;font-weight:300;font-style:normal;font-display:swap;src:url(/fonts/sofiapro/SofiaProLight.otf) format("opentype")}
@font-face{font-family:YtSofia;font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/sofiapro/sofiapro-regular-webfont.woff2) format("woff2"),url(/fonts/sofiapro/sofiapro-regular-webfont.woff) format("woff")}
@font-face{font-family:YtSofia;font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/sofiapro/SofiaPro-Bold.otf) format("opentype")}


/* ---------- 1. Tokens -----------------------------------------------------
   The retreat (rt) values are the source of truth. typography.css also has a
   :root block with some of these names; this file loads later, so these win.
   Changed on purpose: --yt-muted #8a7487 -> #756572 (5.4:1 contrast on white
   instead of 4.25:1). Every other shared name keeps its value.
   Never use --yt-heading as a colour: it is a FONT FAMILY here (admin uses the
   same name for a colour, inside .yt-shell only). */
:root{
  /* type families */
  --yt-sans:YtSofia,SofiaPro,"Open Sans",sans-serif;
  --yt-serif:YtSerif,"Cormorant Garamond",Georgia,serif;
  --yt-heading:var(--yt-sans);          /* font family, not a colour */
  --yt-heading-weight:400;              /* "Calm", 2026-11-30 */
  --yt-body-weight:300;                 /* reading text: Sofia Pro Light */
  --yt-ui-weight:400;                   /* buttons, labels, chips: Sofia Pro Regular */

  /* colour: brand */
  --yt-plum:#773669;                    /* primary: buttons, links */
  --yt-plum-dark:#5e2853;               /* hover / pressed */
  --yt-ink:#241422;                     /* headings, input text */
  --yt-heading-color:#2a1027;           /* blog and legal titles */
  --yt-night:#2a1027;                   /* dark bands: footer, preview bar */
  --yt-text:#43343f;                    /* body text */
  --yt-muted:#756572;                   /* meta, help text (CHANGED, see above) */
  --yt-line:#ece6ea;                    /* dividers, card borders */
  --yt-chip:#d9ced6;                    /* input, ghost button and chip borders */
  --yt-tint:#f7f1f5;                    /* soft panels, info alert */
  --yt-bg:#fff;
  --yt-warm:#a8492e;                    /* few spots left, deals */
  --yt-warm-tint:#fbeee9;
  --yt-off:#a9a3a8;                     /* sold out / off button */

  /* colour: status */
  --yt-danger:#b00020;  --yt-danger-ink:#8a1a2b;  --yt-danger-tint:#fdecee;
  --yt-ok:#2c6e49;      --yt-ok-tint:#e9f3ec;
  --yt-amber-ink:#7a4a12; --yt-amber-tint:#fdf3e7;
  /* the same status colours under plain names */
  --yt-success:var(--yt-ok);          --yt-success-tint:var(--yt-ok-tint);
  --yt-error:var(--yt-danger);        --yt-error-ink:var(--yt-danger-ink);   --yt-error-tint:var(--yt-danger-tint);
  --yt-warning:var(--yt-amber-ink);   --yt-warning-tint:var(--yt-amber-tint);

  /* type scale */
  --yt-fs-eyebrow:12px; --yt-fs-small:13px; --yt-fs-ui-sm:14px; --yt-fs-ui:15px;
  --yt-fs-base:16px; --yt-fs-prose:17px; --yt-fs-lead:19px;
  --yt-fs-h3:21px; --yt-fs-h2:28px; --yt-fs-h1:40px; --yt-fs-display:54px;
  --yt-lh-tight:1.1; --yt-lh-head:1.2; --yt-lh-body:1.6; --yt-lh-prose:1.75;
  --yt-tracking-head:-.005em;
  --yt-tracking-eyebrow:.14em;

  /* spacing */
  --yt-s-1:4px; --yt-s-2:8px; --yt-s-3:12px; --yt-s-4:16px; --yt-s-5:20px; --yt-s-6:24px;
  --yt-s-7:28px; --yt-s-8:32px; --yt-s-10:40px; --yt-s-12:48px; --yt-s-14:56px; --yt-s-18:72px; --yt-s-24:96px;

  /* radius */
  --yt-r-sm:8px; --yt-r-md:10px; --yt-r-card:14px; --yt-r-lg:16px; --yt-r-hero:28px; --yt-r-pill:999px;

  /* shadow (always tinted with ink, rgb 36,20,34) */
  --yt-shadow-xs:0 1px 2px rgba(36,20,34,.04);
  --yt-shadow-sm:0 2px 8px rgba(36,20,34,.08);
  --yt-shadow-md:0 10px 30px rgba(36,20,34,.07);
  --yt-shadow-lg:0 14px 40px rgba(36,20,34,.12);
  --yt-shadow-card:0 1px 2px rgba(36,20,34,.04),0 16px 40px rgba(36,20,34,.07);
  --yt-shadow-hero:0 24px 60px rgba(36,20,34,.14);

  /* focus ring */
  --yt-focus:2px solid var(--yt-plum); --yt-focus-offset:2px;   /* buttons, chips, checkboxes */
  --yt-focus-field-offset:1px;                                   /* inputs */

  /* motion */
  --yt-dur:.2s; --yt-dur-slow:.6s; --yt-ease:ease;

  /* layout */
  --yt-wrap:1180px; --yt-wrap-narrow:1040px; --yt-wrap-text:720px; --yt-gutter:24px;
  --yt-control-h:48px; --yt-control-h-lg:54px;
}
/* Breakpoints used in this system: 1100, 900 and 600px. */
@media (max-width:600px){:root{--yt-gutter:18px;--yt-fs-display:38px;--yt-fs-h1:32px;--yt-fs-h2:25px}}
@media (prefers-reduced-motion:reduce){:root{--yt-dur:0s;--yt-dur-slow:0s}}


/* ---------- 2. Page type -------------------------------------------------- */
.yt-page{background:var(--yt-bg);color:var(--yt-text);font-family:var(--yt-sans);font-weight:var(--yt-body-weight);font-size:var(--yt-fs-base);line-height:var(--yt-lh-body);padding-bottom:var(--yt-s-24)}
.yt-page *,.yt-page *::before,.yt-page *::after{box-sizing:border-box}
.yt-page strong,.yt-page b{font-weight:400;color:var(--yt-ink)}
.yt-display,.yt-h1,.yt-h2,.yt-h3{font-family:var(--yt-heading);font-weight:var(--yt-heading-weight);color:var(--yt-ink);letter-spacing:var(--yt-tracking-head);text-transform:none;margin:0}
.yt-display{font-size:var(--yt-fs-display);line-height:1.06;max-width:19ch}
.yt-h1{font-size:var(--yt-fs-h1);line-height:var(--yt-lh-tight)}
.yt-h2{font-size:var(--yt-fs-h2);line-height:var(--yt-lh-head)}
.yt-h3{font-size:var(--yt-fs-h3);line-height:1.3}
.yt-lead{font-family:var(--yt-sans);font-weight:var(--yt-body-weight);font-size:var(--yt-fs-lead);line-height:var(--yt-lh-body);max-width:56ch}
.yt-prose p{font-family:var(--yt-sans);font-weight:var(--yt-body-weight);font-size:var(--yt-fs-prose);line-height:var(--yt-lh-prose)}
.yt-eyebrow{font-family:var(--yt-sans);font-size:var(--yt-fs-eyebrow);font-weight:400;color:var(--yt-muted);text-transform:uppercase;letter-spacing:var(--yt-tracking-eyebrow)}
.yt-muted{font-family:var(--yt-sans);font-size:var(--yt-fs-small);color:var(--yt-muted)}


/* ---------- 3. Buttons ----------------------------------------------------
   Pill shape, plum, Sofia Pro Regular 16px. Variants:
     .yt-btn--ghost  white with a thin border (secondary)
     .yt-btn--quiet  no border (tertiary)
     .yt-btn--danger calm outline that turns red on hover (delete, remove)
     .yt-btn--light  white button on a dark band
     .yt-btn--link   looks like an underlined link
     .yt-btn--sm / --lg / --block   sizes
     [disabled], aria-disabled="true", .is-disabled, .yt-btn--off
   color and text-decoration carry !important on purpose: page link rules
   such as ".rt a" or ".fp a" would otherwise repaint the label.
   It does NOT protect a button inside blog/class prose: typography.css
   ".blog__content a" and ".single .post_content a" are !important too and
   more specific, so they win (plum underlined text on a plum pill). Put
   buttons outside .blog__content / .post_content (as member-cta does).
   Old names on the same rules: rt-btn, fp-btn, faq-btn, tch-btn, tah-btn,
   jn-btn, acct-btn, .page-account .btn-pink, yt-calsheet__btn,
   yt-btn-quiet (the security pages' small outline button).
   tp__btn (teacher page) is NOT aliased yet: its file is being edited by
   the SEO work, and the --dark colour (ink or plum) waits for Nicklas. */
.yt-btn,.rt-btn,.fp-btn,.faq-btn,.tch-btn,.tah-btn,.jn-btn,.acct-btn,.page-account .btn-pink,.yt-calsheet__btn,.yt-btn-quiet{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;margin:0;padding:14px 28px;
  border:1px solid var(--yt-plum);border-radius:var(--yt-r-pill);background:var(--yt-plum);color:#fff !important;
  font-family:var(--yt-sans);font-size:16px;font-weight:var(--yt-ui-weight);line-height:1.2;letter-spacing:0;text-transform:none;
  text-align:center;text-decoration:none !important;white-space:normal;cursor:pointer;-webkit-appearance:none;appearance:none;box-shadow:none;
  transition:background-color var(--yt-dur) var(--yt-ease),border-color var(--yt-dur) var(--yt-ease),color var(--yt-dur) var(--yt-ease)}
.yt-btn:hover,.yt-btn:focus-visible,.rt-btn:hover,.rt-btn:focus-visible,.fp-btn:hover,.fp-btn:focus-visible,
.faq-btn:hover,.faq-btn:focus-visible,.tch-btn:hover,.tch-btn:focus-visible,.tah-btn:hover,.tah-btn:focus-visible,
.jn-btn:hover,.jn-btn:focus-visible,.acct-btn:hover,.acct-btn:focus-visible,.page-account .btn-pink:hover,.page-account .btn-pink:focus-visible,
.yt-calsheet__btn:hover,.yt-calsheet__btn:focus-visible,.yt-btn-quiet:hover,.yt-btn-quiet:focus-visible{
  background:var(--yt-plum-dark);border-color:var(--yt-plum-dark);color:#fff !important;text-decoration:none !important;opacity:1}
.yt-btn:focus,.rt-btn:focus,.fp-btn:focus,.faq-btn:focus,.tch-btn:focus,.tah-btn:focus,.jn-btn:focus,.acct-btn:focus,
.page-account .btn-pink:focus,.yt-calsheet__btn:focus,.yt-btn-quiet:focus{outline:0}
/* Keyboard focus ring: 2px plum, 2px away from the button. */
.yt-btn:focus-visible,.rt-btn:focus-visible,.fp-btn:focus-visible,.faq-btn:focus-visible,.tch-btn:focus-visible,.tah-btn:focus-visible,
.jn-btn:focus-visible,.acct-btn:focus-visible,.page-account .btn-pink:focus-visible,.yt-calsheet__btn:focus-visible,
.yt-btn-quiet:focus-visible,.tp__btn:focus-visible{outline:var(--yt-focus);outline-offset:var(--yt-focus-offset)}
.yt-btn:active{box-shadow:none}

/* combined.css has "button:focus{outline:0;border:none}" (more specific than
   a single class), which took the border off every <button> with these
   classes while it had focus: the pill shrank 2px and ghost/danger buttons
   lost their outline. These put the border back. The colour rules only match
   plain mouse focus (not :hover, not :focus-visible), so hover and the
   keyboard ring keep their own colours from the rules above and below. */
button:is(.yt-btn,.rt-btn,.fp-btn,.faq-btn,.tch-btn,.tah-btn,.jn-btn,.acct-btn,.yt-calsheet__btn,.yt-btn-quiet):not(.yt-btn--link):focus{border-style:solid;border-width:1px}
button:is(.yt-btn,.rt-btn,.fp-btn,.faq-btn,.tch-btn,.tah-btn,.jn-btn,.acct-btn,.yt-calsheet__btn,.yt-btn-quiet):not(.yt-btn--link):focus:not(:hover):not(:focus-visible){border-color:var(--yt-plum)}
button:is(.yt-btn--ghost,.rt-btn--ghost,.fp-btn--ghost,.yt-calsheet__btn--ghost,.yt-btn-quiet,.yt-btn--danger):not(.yt-btn--link):focus:not(:hover):not(:focus-visible){border-color:var(--yt-chip)}
button:is(.yt-btn--quiet):not(.yt-btn--link):focus:not(:hover):not(:focus-visible){border-color:transparent}
button:is(.yt-btn--light,.fp-btn--light):not(.yt-btn--link):focus:not(:hover):not(:focus-visible){border-color:#fff}
button:is(.yt-btn--off,.rt-btn--off):not(.yt-btn--link):focus:not(:hover):not(:focus-visible){border-color:var(--yt-off)}

/* Secondary / ghost */
.yt-btn--ghost,.rt-btn--ghost,.fp-btn--ghost,.yt-calsheet__btn--ghost,.yt-btn-quiet{background:#fff;color:var(--yt-ink) !important;border-color:var(--yt-chip)}
.yt-btn--ghost:hover,.yt-btn--ghost:focus-visible,.rt-btn--ghost:hover,.rt-btn--ghost:focus-visible,
.fp-btn--ghost:hover,.fp-btn--ghost:focus-visible,.yt-calsheet__btn--ghost:hover,.yt-calsheet__btn--ghost:focus-visible,
.yt-btn-quiet:hover,.yt-btn-quiet:focus-visible{background:#fff;color:var(--yt-ink) !important;border-color:var(--yt-ink)}

/* Quiet: tertiary, no border */
.yt-btn--quiet{background:transparent;color:var(--yt-plum) !important;border-color:transparent}
.yt-btn--quiet:hover,.yt-btn--quiet:focus-visible{background:var(--yt-tint);color:var(--yt-plum-dark) !important;border-color:var(--yt-tint)}

/* Danger: calm outline, fills softly on hover */
.yt-btn--danger{background:#fff;color:var(--yt-danger) !important;border-color:var(--yt-chip)}
.yt-btn--danger:hover,.yt-btn--danger:focus-visible{background:var(--yt-danger-tint);color:var(--yt-danger-ink) !important;border-color:var(--yt-danger)}
.yt-btn--danger:focus-visible{outline-color:var(--yt-danger)}

/* Light: on dark bands */
.yt-btn--light,.fp-btn--light{background:#fff;color:var(--yt-night) !important;border-color:#fff}
.yt-btn--light:hover,.yt-btn--light:focus-visible,.fp-btn--light:hover,.fp-btn--light:focus-visible{background:var(--yt-tint);color:var(--yt-night) !important;border-color:var(--yt-tint)}
.yt-btn--light:focus-visible,.fp-btn--light:focus-visible{outline-color:#fff}

/* Link-style button. Works alone (rt-link, rt-linkbtn, yt-linkbtn) and on top
   of .yt-btn. It sets no display of its own, so the hidden attribute still
   hides it (several rt-link buttons start hidden). */
.yt-btn--link,.rt-link,.rt-linkbtn,.yt-linkbtn{
  margin:0;padding:0;border:0;border-radius:2px;background:none;box-shadow:none;min-height:0;
  color:var(--yt-ink) !important;font:inherit;font-family:var(--yt-sans);font-weight:400;letter-spacing:0;text-align:inherit;
  text-decoration:underline !important;text-decoration-thickness:1px;text-underline-offset:4px;cursor:pointer;-webkit-appearance:none;appearance:none;
  transition:color var(--yt-dur) var(--yt-ease)}
.yt-btn.yt-btn--link{display:inline}
.yt-btn--link:hover,.yt-btn--link:focus-visible,.rt-link:hover,.rt-link:focus-visible,
.rt-linkbtn:hover,.rt-linkbtn:focus-visible,.yt-linkbtn:hover,.yt-linkbtn:focus-visible{background:none;border:0;color:var(--yt-plum) !important;text-decoration:underline !important}
.yt-btn--link:focus,.rt-link:focus,.rt-linkbtn:focus,.yt-linkbtn:focus{outline:0}
.yt-btn--link:focus-visible,.rt-link:focus-visible,.rt-linkbtn:focus-visible,.yt-linkbtn:focus-visible{outline:var(--yt-focus);outline-offset:var(--yt-focus-offset)}
/* rt-linkbtn ("No email? Send a new code") stays plum and a little smaller. */
.rt-linkbtn{color:var(--yt-plum) !important;font-size:var(--yt-fs-ui-sm);text-underline-offset:3px}
.rt-linkbtn:hover,.rt-linkbtn:focus-visible{color:var(--yt-plum-dark) !important}

/* Sizes */
.yt-btn--sm,.yt-btn-quiet{padding:8px 16px;font-size:var(--yt-fs-ui-sm)}
.yt-btn--lg,.jn-btn{min-height:var(--yt-control-h-lg);padding:15px 30px;font-size:17px}
.yt-btn--block,.rt-btn--block,.jn-btn{display:flex;width:100%}

/* Disabled. Works for <button disabled> and for <a disabled data-guard-disabled>
   (csp-actions.js still blocks the click). */
.yt-btn[disabled],.yt-btn[aria-disabled="true"],.yt-btn.is-disabled,
.rt-btn[disabled],.fp-btn[disabled],.faq-btn[disabled],.tch-btn[disabled],.tah-btn[disabled],.jn-btn[disabled],.acct-btn[disabled],
.page-account .btn-pink[disabled],.yt-calsheet__btn[disabled],.yt-btn-quiet[disabled],
.yt-btn--link[disabled],.rt-link[disabled],.rt-linkbtn[disabled],.yt-linkbtn[disabled]{opacity:.6;cursor:default;pointer-events:none}
.yt-btn--off,.yt-btn--off:hover,.yt-btn--off:focus,.yt-btn--off:focus-visible,
.rt-btn--off,.rt-btn--off:hover,.rt-btn--off:focus,.rt-btn--off:focus-visible{background:var(--yt-off);border-color:var(--yt-off);color:#fff !important;cursor:default}

/* Loading: JS adds .is-loading or aria-busy="true" (from a CSP-safe file such
   as public/js/csp-actions.js, never an onclick). */
.yt-btn.is-loading,.yt-btn[aria-busy="true"]{position:relative;color:transparent !important;pointer-events:none}
.yt-btn.is-loading::after,.yt-btn[aria-busy="true"]::after{content:"";position:absolute;inset:0;margin:auto;width:18px;height:18px;border-radius:50%;
  border:2px solid rgba(255,255,255,.45);border-top-color:#fff;animation:yt-spin .7s linear infinite}
.yt-btn--ghost.is-loading::after,.yt-btn--quiet.is-loading::after,.yt-btn--danger.is-loading::after,
.yt-btn--ghost[aria-busy="true"]::after,.yt-btn--quiet[aria-busy="true"]::after,.yt-btn--danger[aria-busy="true"]::after{border-color:rgba(36,20,34,.18);border-top-color:var(--yt-ink)}
@keyframes yt-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.yt-btn.is-loading::after,.yt-btn[aria-busy="true"]::after{animation-duration:2s}}


/* ---------- 4. Form fields ------------------------------------------------
   <div class="yt-field"> label + control + help + error.
   .yt-form is the opt-in bridge: put it on a <form> and Bootstrap
   .form-control fields inside take the .yt-input look. .yt-form adds no
   layout of its own (use .yt-stack for vertical spacing). Its selectors are
   written as ".yt-form input.form-control" so they beat combined.css
   ".form-group input[type=text]" (grey #f2f2f2, 25px padding). The /login
   rule in combined.css (".login-blade .container .form-row .form-group
   input[type=email]", grey, 5px corners) is more specific, so it has its
   own override below.
   Old names: rt-field, rt-input, rt-textarea, rt-error (rt-select keeps its
   own size and gets the focus ring from here). */
.yt-field,.rt-field{display:flex;flex-direction:column;gap:7px;margin:0}
.yt-label,.yt-field>label{display:block}
/* .rt-field label sets no display: the photo pickers (label.rt-file, a flex
   row) sit inside .rt-field and keep their own display. */
.yt-label,.yt-field>label,.rt-field label{margin:0;font-family:var(--yt-sans);font-size:var(--yt-fs-ui);font-weight:400;line-height:1.4;color:var(--yt-ink)}
.yt-help,.yt-field>small,.rt-field small{font-family:var(--yt-sans);font-size:var(--yt-fs-small);font-weight:300;line-height:1.5;color:var(--yt-muted)}
.yt-error,.rt-error{font-family:var(--yt-sans);font-size:var(--yt-fs-ui-sm);font-weight:400;line-height:1.4;color:var(--yt-danger)}

.yt-input,.yt-select,.yt-textarea,.rt-input,.rt-textarea,.yt-form :is(input,select,textarea).form-control{
  display:block;box-sizing:border-box;width:100%;margin:0;border:1px solid var(--yt-chip);border-radius:var(--yt-r-md);
  background-color:#fff;color:var(--yt-ink);font-family:var(--yt-sans);font-size:16px;font-weight:300;line-height:1.4;box-shadow:none;
  transition:border-color var(--yt-dur) var(--yt-ease)}
.yt-input,.rt-input,.yt-form input.form-control{height:var(--yt-control-h);padding:12px 14px}
.yt-textarea,.rt-textarea,.yt-form textarea.form-control{height:auto;min-height:84px;padding:12px 14px;line-height:1.6;resize:vertical}
.yt-select,.yt-form select.form-control{height:var(--yt-control-h);padding:0 40px 0 14px;-webkit-appearance:none;appearance:none;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23773669' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center/12px 8px}
.yt-form select[multiple].form-control{height:auto;padding:8px 14px;background-image:none}
/* /login (auth/login.blade.php): same specificity as the combined.css rule
   and later, so these win. */
.login-blade .yt-form .form-row .form-group input.form-control{background:#fff;color:var(--yt-ink);padding:12px 14px;border-radius:var(--yt-r-md)}
.yt-input--lg,.yt-select--lg{height:var(--yt-control-h-lg);font-size:18px}
.yt-input--lg{padding:0 16px}
.yt-textarea--lg{font-size:18px}
.yt-input--pill{border-radius:var(--yt-r-pill);padding:0 22px}
.yt-input::placeholder,.yt-textarea::placeholder,.rt-input::placeholder,.rt-textarea::placeholder,.yt-form :is(input,textarea).form-control::placeholder{color:var(--yt-muted);opacity:1}
.yt-input:focus,.yt-select:focus,.yt-textarea:focus,.rt-input:focus,.rt-textarea:focus,.rt-select:focus,.yt-form :is(input,select,textarea).form-control:focus{
  outline:var(--yt-focus);outline-offset:var(--yt-focus-field-offset);border-color:var(--yt-plum);box-shadow:none}
.yt-input[disabled],.yt-input[readonly],.yt-select[disabled],.yt-textarea[disabled],.yt-textarea[readonly],
.yt-form .form-control[disabled],.yt-form .form-control[readonly]{background-color:var(--yt-tint);color:var(--yt-muted);cursor:not-allowed}
/* Error: red border as well as red text */
.yt-input[aria-invalid="true"],.yt-select[aria-invalid="true"],.yt-textarea[aria-invalid="true"],.rt-input[aria-invalid="true"],.rt-textarea[aria-invalid="true"],
.yt-field.is-invalid .yt-input,.yt-field.is-invalid .yt-select,.yt-field.is-invalid .yt-textarea,.yt-form .has-error .form-control{border-color:var(--yt-danger)}
.yt-field.is-invalid :focus,.yt-form .has-error .form-control:focus,
.yt-input[aria-invalid="true"]:focus,.yt-select[aria-invalid="true"]:focus,.yt-textarea[aria-invalid="true"]:focus{outline-color:var(--yt-danger)}

/* Checkbox and radio */
.yt-check{display:flex;gap:10px;align-items:flex-start;margin:0;font-family:var(--yt-sans);font-size:var(--yt-fs-ui);font-weight:300;line-height:1.55;color:var(--yt-text);cursor:pointer}
.yt-check input{flex:0 0 auto;width:17px;height:17px;margin:3px 0 0}
.yt-check input,.yt-page input[type=checkbox],.yt-page input[type=radio],.yt-form input[type=checkbox],.yt-form input[type=radio]{accent-color:var(--yt-plum)}
.yt-check input:focus-visible,.yt-page input[type=checkbox]:focus-visible,.yt-page input[type=radio]:focus-visible,
.yt-form input[type=checkbox]:focus-visible,.yt-form input[type=radio]:focus-visible{outline:var(--yt-focus);outline-offset:var(--yt-focus-offset)}

.yt-row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.yt-row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:600px){.yt-row2,.yt-row3{grid-template-columns:1fr}}


/* ---------- 5. Alerts -----------------------------------------------------
   Block boxes, so text, <strong> and links inside flow as normal text and the
   hidden attribute still hides them. Add a close button with
   .yt-alert--dismissible + <button class="yt-alert__close">.
   role="status" for success and info, role="alert" for errors.
   Old names: rt-alert (= error), rt-notice (= info), rt-notice--warn (= warning). */
.yt-alert,.rt-alert,.rt-notice{position:relative;display:block;box-sizing:border-box;padding:14px 18px;border:0;border-radius:var(--yt-r-md);
  background:var(--yt-tint);color:var(--yt-plum-dark);font-family:var(--yt-sans);font-size:var(--yt-fs-ui);font-weight:300;line-height:1.5}
/* A .yt-alert has no margin and reads left-aligned even in a centred column.
   The old rt-alert and rt-notice keep their margins and follow their
   container's alignment, as they always did (rt-notice's 20px top margin is
   in retreats/partials/style). */
.yt-alert{margin:0;text-align:left}
.yt-alert strong,.yt-alert b,.rt-alert strong,.rt-alert b,.rt-notice strong,.rt-notice b{font-weight:400;color:inherit}
.yt-alert a:not(.yt-btn),.rt-alert a:not(.rt-btn),.rt-notice a:not(.rt-btn){color:inherit !important;text-decoration:underline !important;text-underline-offset:3px}
.yt-alert__title{display:block;margin:0 0 2px;font-weight:400}
.yt-alert--info,.rt-notice{background:var(--yt-tint);color:var(--yt-plum-dark)}
.yt-alert--success{background:var(--yt-ok-tint);color:var(--yt-ok)}
.yt-alert--warning,.rt-notice--warn{background:var(--yt-amber-tint);color:var(--yt-amber-ink)}
.yt-alert--error,.rt-alert{background:var(--yt-danger-tint);color:var(--yt-danger-ink)}
.yt-alert--dismissible{padding-right:52px}
.yt-alert__close{position:absolute;top:10px;right:12px;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin:0;padding:0;
  border:0;border-radius:var(--yt-r-pill);background:transparent;color:inherit;font:400 20px/1 var(--yt-sans);opacity:.7;cursor:pointer;text-decoration:none;
  transition:opacity var(--yt-dur) var(--yt-ease),background-color var(--yt-dur) var(--yt-ease)}
.yt-alert__close:hover{opacity:1;background:rgba(36,20,34,.06)}
.yt-alert__close:focus{outline:0}
.yt-alert__close:focus-visible{outline:2px solid currentColor;outline-offset:1px;opacity:1}


/* ---------- 6. Cards ------------------------------------------------------ */
.yt-card{box-sizing:border-box;background:#fff;border:1px solid var(--yt-line);border-radius:var(--yt-r-lg);padding:26px}
.yt-card--raised{box-shadow:var(--yt-shadow-card)}
.yt-card--tint{background:var(--yt-tint);border-color:var(--yt-tint);padding:28px}
.yt-card--empty{padding:56px 32px;text-align:center}
.yt-card__media{display:block;overflow:hidden;border-radius:var(--yt-r-card);aspect-ratio:4/3;background:var(--yt-tint)}
.yt-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform var(--yt-dur-slow) var(--yt-ease)}
a:hover .yt-card__media img,a:focus-visible .yt-card__media img{transform:scale(1.03)}
/* A whole card that is one link: image, title, meta. */
.yt-card-link{display:flex;flex-direction:column;gap:var(--yt-s-2);color:inherit !important;text-decoration:none !important}
.yt-card-link:focus{outline:0}
.yt-card-link:focus-visible{outline:var(--yt-focus);outline-offset:var(--yt-focus-offset);border-radius:var(--yt-r-card)}
.yt-card__title{font-family:var(--yt-sans);font-size:19px;font-weight:400;line-height:1.3;color:var(--yt-ink);margin:0}
.yt-card__meta{font-family:var(--yt-sans);font-size:var(--yt-fs-ui);color:var(--yt-muted)}
@media (max-width:600px){.yt-card{padding:22px}}


/* ---------- 7. Badges and chips ------------------------------------------- */
.yt-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border:1px solid var(--yt-chip);border-radius:var(--yt-r-pill);
  font-family:var(--yt-sans);font-size:var(--yt-fs-small);font-weight:400;line-height:1.2;color:var(--yt-ink);background:#fff}
.yt-badge--tint{background:var(--yt-tint);border-color:var(--yt-tint);padding:5px 12px;font-size:var(--yt-fs-eyebrow)}
.yt-badge--warm{background:var(--yt-warm-tint);border-color:var(--yt-warm-tint);color:var(--yt-warm);padding:3px 10px;font-size:var(--yt-fs-eyebrow)}
.yt-badge--ok{background:var(--yt-ok-tint);border-color:var(--yt-ok-tint);color:var(--yt-ok)}
.yt-badge--count{background:var(--yt-plum);border-color:var(--yt-plum);color:#fff;padding:1px 8px;font-size:11px}
.yt-badge--float{background:#fff;border-color:#fff;padding:4px 11px;font-size:var(--yt-fs-eyebrow);box-shadow:0 2px 8px rgba(36,20,34,.12)}
/* Filter chip: a link or a button. Mark the active one with .is-on,
   aria-pressed="true" or aria-current. */
.yt-chip{display:inline-flex;align-items:center;margin:0;padding:8px 16px;border:1px solid var(--yt-chip);border-radius:var(--yt-r-pill);background:#fff;
  color:var(--yt-ink) !important;font-family:var(--yt-sans);font-size:var(--yt-fs-ui-sm);font-weight:400;line-height:1.2;text-decoration:none !important;cursor:pointer;
  -webkit-appearance:none;appearance:none;transition:border-color var(--yt-dur) var(--yt-ease),background-color var(--yt-dur) var(--yt-ease)}
.yt-chip:hover{border-color:var(--yt-ink)}
.yt-chip.is-on,.yt-chip[aria-pressed="true"],.yt-chip[aria-current]{border-color:var(--yt-ink);box-shadow:inset 0 0 0 1px var(--yt-ink)}
.yt-chip:focus{outline:0}
.yt-chip:focus-visible{outline:var(--yt-focus);outline-offset:var(--yt-focus-offset)}
/* Choice chip: a checkbox or radio that looks like a chip. */
.yt-choice{position:relative;display:inline-flex}
.yt-choice input{position:absolute;opacity:0;width:1px;height:1px}
.yt-choice span{padding:7px 15px;border:1px solid var(--yt-chip);border-radius:var(--yt-r-pill);font:400 var(--yt-fs-ui-sm)/1.2 var(--yt-sans);color:var(--yt-ink);cursor:pointer;
  transition:border-color var(--yt-dur) var(--yt-ease),background-color var(--yt-dur) var(--yt-ease)}
.yt-choice:hover span{border-color:var(--yt-ink)}
.yt-choice input:checked+span{background:var(--yt-plum);border-color:var(--yt-plum);color:#fff}
.yt-choice input:focus-visible+span{outline:var(--yt-focus);outline-offset:var(--yt-focus-offset)}


/* ---------- 8. Layout: container, sections, stacks ------------------------ */
.yt-wrap,.yt-container{box-sizing:border-box;max-width:var(--yt-wrap);margin:0 auto;padding-left:var(--yt-gutter);padding-right:var(--yt-gutter)}
.yt-wrap--narrow,.yt-container--narrow{max-width:var(--yt-wrap-narrow)}
.yt-wrap--text,.yt-container--text{max-width:var(--yt-wrap-text)}
.yt-page-head{padding-top:var(--yt-s-18);padding-bottom:var(--yt-s-10);display:flex;flex-direction:column;gap:var(--yt-s-4);align-items:flex-start}
.yt-section{padding:38px 0;border-top:1px solid var(--yt-line)}
.yt-section--plain{border-top:0}
.yt-section>.yt-h2{margin-bottom:18px}
.yt-stack{display:flex;flex-direction:column;gap:var(--yt-s-4)}
.yt-stack--sm{gap:var(--yt-s-2)}
.yt-stack--lg{gap:var(--yt-s-6)}
.yt-actions{display:flex;flex-wrap:wrap;gap:var(--yt-s-3);align-items:center}
@media (max-width:600px){.yt-page-head{padding-top:var(--yt-s-12)}}


/* ---------- 8a. Dialog and star rating (2026-12-01) -----------------------
   .yt-dialog restyles a Bootstrap 3 modal as a centred card. Bootstrap still
   opens and closes it (data-toggle="modal" / data-dismiss="modal"), so keep
   the .modal and .modal-dialog classes and put .yt-dialog__frame on the
   .modal-dialog. The frame lets clicks through (pointer-events), so a click
   beside the card still reaches .modal and closes it, as Bootstrap expects.
   .yt-stars is five radio inputs with labels: keyboard and screen-reader
   friendly, 44px touch targets, plum on hover, focus and checked, muted when
   empty. The fill uses :has(); browsers without it light only the chosen star.
   First user: parts/rating-dialog.blade.php ("How was this class?"),
   behaviour in public/js/class-rating.js. */
.yt-dialog .yt-dialog__frame{display:flex;align-items:center;box-sizing:border-box;width:auto;max-width:calc(440px + 2 * var(--yt-s-4));
  min-height:calc(100% - 2 * var(--yt-s-4));margin:var(--yt-s-4) auto;padding:0 var(--yt-s-4);pointer-events:none}
.yt-dialog .yt-dialog__card{position:relative;width:100%;padding:var(--yt-s-8) var(--yt-s-6) var(--yt-s-6);border:0;border-radius:var(--yt-r-lg);
  box-shadow:var(--yt-shadow-hero);text-align:center;font-family:var(--yt-sans);color:var(--yt-text);pointer-events:auto}
.yt-dialog .yt-dialog__title{padding:0 var(--yt-s-10)}
.yt-dialog .yt-dialog__body{margin-top:var(--yt-s-5)}
.yt-dialog .yt-lead{margin:0 auto;color:var(--yt-text)}
.yt-dialog .yt-dialog__actions{justify-content:center}
.yt-dialog .yt-error{margin:var(--yt-s-3) 0 0}
.yt-dialog [tabindex="-1"]:focus{outline:0}
.yt-dialog__close{position:absolute;top:var(--yt-s-3);right:var(--yt-s-3);display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;
  border:0;border-radius:var(--yt-r-pill);background:transparent;color:var(--yt-text);cursor:pointer;
  transition:background-color var(--yt-dur) var(--yt-ease),color var(--yt-dur) var(--yt-ease)}
.yt-dialog__close:hover{background:var(--yt-tint);color:var(--yt-ink)}
.yt-dialog__close:focus{outline:0}
.yt-dialog__close:focus-visible{outline:var(--yt-focus);outline-offset:0}
@media (max-width:600px){.yt-dialog .yt-dialog__card{padding:var(--yt-s-8) var(--yt-s-5) var(--yt-s-5)}}

.yt-stars{display:flex;justify-content:center;gap:0;min-width:0;margin:0;padding:0;border:0}
.yt-stars__input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.yt-stars__label{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border-radius:var(--yt-r-pill);
  color:var(--yt-chip);cursor:pointer;transition:color var(--yt-dur) var(--yt-ease)}
.yt-stars__label svg{display:block;width:32px;height:32px}
/* Chosen: that star and every star before it */
.yt-stars__input:checked+.yt-stars__label,.yt-stars__label:has(~ .yt-stars__input:checked),
.yt-stars__input:focus-visible+.yt-stars__label,.yt-stars__label:has(~ .yt-stars__input:focus-visible){color:var(--yt-plum)}
/* Hover previews a new choice: the hovered star and the ones before it */
.yt-stars:hover .yt-stars__label{color:var(--yt-chip)}
.yt-stars:hover .yt-stars__label:hover,.yt-stars:hover .yt-stars__label:has(~ .yt-stars__label:hover){color:var(--yt-plum)}
.yt-stars__input:focus-visible+.yt-stars__label{outline:var(--yt-focus);outline-offset:0}
.yt-stars[aria-busy="true"] .yt-stars__label{cursor:progress}


/* ---------- 9. [hidden] safety --------------------------------------------
   The rules above set display on these classes, which would beat the browser's
   own [hidden]{display:none}. This keeps the hidden attribute working. */
.yt-btn[hidden],.rt-btn[hidden],.fp-btn[hidden],.faq-btn[hidden],.tch-btn[hidden],.tah-btn[hidden],.jn-btn[hidden],.acct-btn[hidden],
.yt-calsheet__btn[hidden],.yt-btn-quiet[hidden],.yt-btn--link[hidden],.rt-link[hidden],.rt-linkbtn[hidden],.yt-linkbtn[hidden],
.yt-field[hidden],.rt-field[hidden],.yt-input[hidden],.yt-select[hidden],.yt-textarea[hidden],.rt-input[hidden],.rt-textarea[hidden],
.yt-alert[hidden],.rt-alert[hidden],.rt-notice[hidden],.yt-card[hidden],.yt-card-link[hidden],.yt-badge[hidden],.yt-chip[hidden],.yt-choice[hidden],
.yt-check[hidden],.yt-stack[hidden],.yt-actions[hidden],.yt-row2[hidden],.yt-row3[hidden],.yt-page-head[hidden],
.yt-stars[hidden],.yt-dialog__close[hidden]{display:none !important}


/* ==========================================================================
   10. LEGACY BRIDGE: Bootstrap markup on public pages
   Remove each part when the pages that use it are migrated to .yt-* markup.
   Every selector starts with #app-layout:not(:where(.yt-shell)). #app-layout
   is the <body id> of layouts/app AND of layouts/admin, so the
   :not(:where(.yt-shell)) part keeps admin (<body class="yt-shell">) out
   even if this file is ever loaded there. :where() adds no specificity, so
   the selectors still weigh one id and beat Bootstrap and combined.css.
   Deliberately NOT bridged (see docs/design/design-system.md): bare .btn,
   .btn-default, .btn-success and .form-control. Plugins (bootstrap-select,
   datetimepicker, summernote) and the comment bars depend on them.
   ========================================================================== */

/* --- .btn-primary / .btn-pink -> .yt-btn. Dropdown toggles, .btn-link and
   .card_label (the small corner tag on CMS page cards, page/show) are
   left alone. :not(:where(...)) adds no specificity, so a page rule like
   "#app-layout .x .btn-primary" can still fine-tune. */
#app-layout:not(:where(.yt-shell)) .btn-primary:not(:where(.dropdown-toggle,.btn-link,.card_label)),
#app-layout:not(:where(.yt-shell)) .btn-pink:not(:where(.dropdown-toggle,.btn-link,.card_label)){
  display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;padding:14px 28px;
  border:1px solid var(--yt-plum);border-radius:var(--yt-r-pill);background:var(--yt-plum);background-image:none;color:#fff !important;
  font-family:var(--yt-sans);font-size:16px;font-weight:var(--yt-ui-weight);line-height:1.2;letter-spacing:0;text-transform:none;
  text-align:center;text-decoration:none !important;text-shadow:none;white-space:normal;cursor:pointer;box-shadow:none;
  transition:background-color var(--yt-dur) var(--yt-ease),border-color var(--yt-dur) var(--yt-ease),color var(--yt-dur) var(--yt-ease)}
/* Mouse focus and Bootstrap's .focus: stay plum (no blue #286090). */
#app-layout:not(:where(.yt-shell)) .btn-primary:not(:where(.dropdown-toggle,.btn-link,.card_label)):is(:focus,.focus),
#app-layout:not(:where(.yt-shell)) .btn-pink:not(:where(.dropdown-toggle,.btn-link,.card_label)):is(:focus,.focus){
  background:var(--yt-plum);border-color:var(--yt-plum);color:#fff !important;outline:0;box-shadow:none}
/* Hover, keyboard focus, pressed (:active, .active and their combinations). */
#app-layout:not(:where(.yt-shell)) .btn-primary:not(:where(.dropdown-toggle,.btn-link,.card_label)):is(:hover,:focus-visible,:active,.active),
#app-layout:not(:where(.yt-shell)) .btn-pink:not(:where(.dropdown-toggle,.btn-link,.card_label)):is(:hover,:focus-visible,:active,.active){
  background:var(--yt-plum-dark);border-color:var(--yt-plum-dark);color:#fff !important;text-decoration:none !important;box-shadow:none}
/* Focus outline reset for these buttons, plus the keyboard ring. */
#app-layout:not(:where(.yt-shell)) .btn-primary:not(:where(.dropdown-toggle,.btn-link,.card_label)):is(:focus,:active:focus,.active:focus,.focus),
#app-layout:not(:where(.yt-shell)) .btn-pink:not(:where(.dropdown-toggle,.btn-link,.card_label)):is(:focus,:active:focus,.active:focus,.focus){outline:0}
#app-layout:not(:where(.yt-shell)) .btn-primary:not(:where(.dropdown-toggle,.btn-link,.card_label)):focus-visible,
#app-layout:not(:where(.yt-shell)) .btn-pink:not(:where(.dropdown-toggle,.btn-link,.card_label)):focus-visible{outline:var(--yt-focus);outline-offset:var(--yt-focus-offset)}
/* Disabled: stays plum, faded (Bootstrap would turn it blue #337ab7). */
#app-layout:not(:where(.yt-shell)) .btn-primary:not(:where(.dropdown-toggle,.btn-link,.card_label)):is([disabled],.disabled),
#app-layout:not(:where(.yt-shell)) .btn-pink:not(:where(.dropdown-toggle,.btn-link,.card_label)):is([disabled],.disabled),
#app-layout:not(:where(.yt-shell)) fieldset[disabled] .btn-primary:not(:where(.dropdown-toggle,.btn-link,.card_label)),
#app-layout:not(:where(.yt-shell)) fieldset[disabled] .btn-pink:not(:where(.dropdown-toggle,.btn-link,.card_label)){
  background:var(--yt-plum);border-color:var(--yt-plum);opacity:.6;cursor:default;box-shadow:none}
/* Bootstrap sizes on these buttons */
#app-layout:not(:where(.yt-shell)) .btn-primary.btn-lg:not(:where(.dropdown-toggle,.btn-link,.card_label)),
#app-layout:not(:where(.yt-shell)) .btn-pink.btn-lg:not(:where(.dropdown-toggle,.btn-link,.card_label)){min-height:var(--yt-control-h-lg);padding:15px 30px;font-size:17px}
#app-layout:not(:where(.yt-shell)) .btn-primary:is(.btn-sm,.btn-xs):not(:where(.dropdown-toggle,.btn-link,.card_label)),
#app-layout:not(:where(.yt-shell)) .btn-pink:is(.btn-sm,.btn-xs):not(:where(.dropdown-toggle,.btn-link,.card_label)){padding:8px 16px;font-size:var(--yt-fs-ui-sm)}
#app-layout:not(:where(.yt-shell)) .btn-primary.btn-block:not(:where(.dropdown-toggle,.btn-link,.card_label)),
#app-layout:not(:where(.yt-shell)) .btn-pink.btn-block:not(:where(.dropdown-toggle,.btn-link,.card_label)){display:flex;width:100%}
#app-layout:not(:where(.yt-shell)) .btn-primary[hidden],#app-layout:not(:where(.yt-shell)) .btn-pink[hidden]{display:none !important}

/* --- .alert -> the .yt-alert look. No display is set (Bootstrap leaves it
   block), so [hidden] still hides an alert. Markup and data-dismiss="alert"
   stay as they are. */
#app-layout:not(:where(.yt-shell)) .alert{border:0;border-radius:var(--yt-r-md);padding:14px 18px;background-color:var(--yt-tint);background-image:none;color:var(--yt-plum-dark);
  font-family:var(--yt-sans);font-size:var(--yt-fs-ui);font-weight:300;line-height:1.5;text-shadow:none;box-shadow:none}
#app-layout:not(:where(.yt-shell)) .alert[hidden]{display:none}
#app-layout:not(:where(.yt-shell)) .alert-info{background-color:var(--yt-tint);color:var(--yt-plum-dark)}
#app-layout:not(:where(.yt-shell)) .alert-success{background-color:var(--yt-ok-tint);color:var(--yt-ok)}
#app-layout:not(:where(.yt-shell)) .alert-warning{background-color:var(--yt-amber-tint);color:var(--yt-amber-ink)}
#app-layout:not(:where(.yt-shell)) .alert-danger{background-color:var(--yt-danger-tint);color:var(--yt-danger-ink)}
#app-layout:not(:where(.yt-shell)) .alert :is(strong,b,h4,.alert-link){font-weight:400;color:inherit}
#app-layout:not(:where(.yt-shell)) .alert a:not(:where(.btn,.close,.yt-btn)){color:inherit;text-decoration:underline;text-underline-offset:3px}
#app-layout:not(:where(.yt-shell)) .alert-dismissable,#app-layout:not(:where(.yt-shell)) .alert-dismissible{padding-right:44px}
#app-layout:not(:where(.yt-shell)) .alert .close{color:inherit;opacity:.7;text-shadow:none;font-family:var(--yt-sans);font-weight:400;font-size:20px;text-decoration:none}
#app-layout:not(:where(.yt-shell)) .alert .close:hover,#app-layout:not(:where(.yt-shell)) .alert .close:focus{color:inherit;opacity:1}
#app-layout:not(:where(.yt-shell)) .alert .close:focus{outline:0}
#app-layout:not(:where(.yt-shell)) .alert .close:focus-visible{outline:2px solid currentColor;outline-offset:1px}

/* --- Menu "Join" button (parts/mainmenu.blade.php, guests). Beats
   combined.css .navbar-default .navbar-nav li.btn-login a. Takes effect once
   the style="" on that link is removed. */
#app-layout:not(:where(.yt-shell)) .navbar-default .navbar-nav li.btn-login a{
  box-sizing:border-box;height:44px;line-height:42px;padding:0 22px;border:1px solid var(--yt-plum);border-radius:var(--yt-r-pill);
  background:var(--yt-plum);color:#fff;font-family:var(--yt-sans);font-size:16px;font-weight:var(--yt-ui-weight);text-decoration:none;
  transition:background-color var(--yt-dur) var(--yt-ease),border-color var(--yt-dur) var(--yt-ease)}
#app-layout:not(:where(.yt-shell)) .navbar-default .navbar-nav li.btn-login a:hover,
#app-layout:not(:where(.yt-shell)) .navbar-default .navbar-nav li.btn-login a:focus{background:var(--yt-plum-dark);border-color:var(--yt-plum-dark);color:#fff;text-decoration:none}
#app-layout:not(:where(.yt-shell)) .navbar-default .navbar-nav li.btn-login a:focus{outline:0}
#app-layout:not(:where(.yt-shell)) .navbar-default .navbar-nav li.btn-login a:focus-visible{outline:var(--yt-focus);outline-offset:var(--yt-focus-offset)}
@media (max-width:1349px){#app-layout:not(:where(.yt-shell)) .navbar-default .navbar-nav li.btn-login a{padding:0 16px}}
