{"version":3,"sourceRoot":null,"mappings":"AAGA,kBACE,oZAsBE,wCAIE,8CAQF,yBAIA,iEAKA,gEASA,+EAMA,wFAIE,oBAKF,8FAQE,iGAKF,8IAME,uEAMF,wFAKE,uEAMF,oGAIE,oBAKF,iHAOE,mCAMF,4JAIE,+EAMF,gJAKE,0FAaF,8JAKA,gDAGA,4EAIA,6CAGA,kGAKA,iHAIE,oBAIF,2GAKE,oGAKF,mFAGE,oGAKF,4DAGA,2HAIE,6EAIF,uDAMA,sCAKA,+FAMA,gEAKA,gEAKA,6DAKA,mEAKA,yDAKA,2FAMA,sDAKA,4DAKA,6DASF,uCACE,sBAKF,+BACE,4BAGE,wGAMA,+EAOJ,8BACE,iCAGE,wEAoBJ,qLAaE,oFAIA,6EAIA,qEAGA,yFAIE,yBAKF,2CAKA,4DAKA,4DAKA,+DAQF,iIAQE,qCAIA,0GAUA,4GAMA,mEAKF,gEAOA,0GAGA,qHAMA,8VAuBE,4BAMe,oBACf,wBAIW,oEAIb,gJAMA,qMASA,kLASA,2IAMA,iHAMA,mKAQA,wcAwBE,sEAIA,iEAIA,qCAKA,2EAQF,6KAUA,wCAKA,+BAGA,+BAGA,+BAGA,+BAGA,+BAGA,+BAGA,kDAIA,gBACE,4CAIA,uEAMF,uVAgBA,kHAKA,8IASA,0LAUE,4HAIA,sCAKF,8CAGA,iDAQA,+GAOE,qEAGA,gEAMA,6IAMA,wCAGA,oCAIA,0IAUE,8BAIF,wOASA,qDAGA,4GAWA,mEAGA,mEAGA,mEAGA,mEAGA,mEAGA,mEAGA,kGAGA,kGAGA,8IAIA,kGAGA,2CAUF,2FAQA,sCACE,gJAgBF,+DAOA,8MAMA,8CACE,wDAMF,uCACE,sEAKA,mGAOF,8BACE,oDAeF,0cA0BE,2IASA,mGAIA,kCAGA,iEAIA,yCAMA,wCAGA,wCAGA,wCAKA,mFAIA,mIAQA,uLAQE,6DAMF,oKAUF,uKAUA,uCACE,6BAGE,0DAIA,qCAMJ,+BACE,2DAKF,8BACE,sFAKE,qCAGA,0CAWJ,0aAyBE,mFAKA,mFAIE,mGAKF,iEAOA,yCAKA,wCAIE,8CAOF,iGAKE,qFAKA,mFAIE,oGAOJ,mFAMA,6DAKA,iEAKA,iEAKA,4EAQF,uCACE,yBAKF,+BACE,+BAGE,uDAIA,iDAMJ,8BACE,oCAGE,8DAKA,kDAYJ,gTAsBE,yJAaA,sSAgBA,qEAOA,sBAKA,4BACE,sBAGA,iCAMF,qCAEE,4CAIA,sBAMF,uBACE,+CAKA,4BACE,yBAGA,mCAKF,qCAEE,+CAIA,yBAOJ,qBACE,iDAKA,4BACE,6BAGA,qCAKF,qCAEE,mDAIA,2BAOJ,gEAKE,kDAMF,wEAKE,sDAOF,iGAKA,6EAOA,sDAQF,uCACE,8FAOF,+BACE,6BAGE,iEAOJ,8BACE,4EAKE,8EAMA,8DAYJ,kEAME,yGAKE,4FAYF,+FAIA,+IAMA,2FAOA,qEAKE,oCAMF,yEAMA,yEAMA,mFAME,sCAOF,mDAaA,2HAKA,sHAKA,qHAKA,gHAMA,2BAGE,0CAOF,iBACE,wCAGE,gDASN,uCACE,uCAKF,8BACE,gDAGE,2FAMA,0CAWJ,mDAKE,qCASA,wHAKA,mHAUA,2CACE,wDAGA,qDAMF,8DAOA,mHAWA,uEAIE,kDAYA,+EAKA,0EAKA,yCAKA,uDAGA,qDAMJ,8BACE,mDAUF,gLAeE,4CAGE,qEAMF,8CAGE,qEAMF,0CAGE,oCAIF,4CAGE,kEAMF,wCAGE,yEAQF,qFAOA,mDAGE,yHASJ,8BACE","sources":["dist/sections/actions.css"],"sourcesContent":["/* ── components/button/button.css ── */\n/* -- Button component ------------------------------------------ */\n\n@layer components {\n  .btn {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    gap: 0.5rem;\n    white-space: nowrap;\n    font-size: 0.875rem;\n    font-weight: 500;\n    font-family: var(--font-sans);\n    line-height: 1;\n    border-radius: var(--radius-md);\n    border: 1px solid transparent;\n    cursor: pointer;\n    text-decoration: none;\n    transition: all 150ms ease;\n    outline: none;\n    flex-shrink: 0;\n    height: 2.25rem;\n    padding: 0 1rem;\n    background-color: var(--primary);\n    color: var(--primary-foreground);\n\n    & svg {\n      pointer-events: none;\n      flex-shrink: 0;\n\n      &:not([class*=\"size-\"]) {\n        width: 1rem;\n        height: 1rem;\n      }\n    }\n\n    /* a loading .spinner inside a button takes the button's own text color —\n       spinner.css defaults it to --muted-foreground, invisible on a primary */\n    & .spinner {\n      color: inherit;\n    }\n\n    &:focus-visible {\n      outline: 2px solid var(--ring);\n      outline-offset: 2px;\n    }\n\n    &:disabled,\n    &[aria-disabled=\"true\"] {\n      pointer-events: none;\n      opacity: 0.5;\n    }\n\n    /* Loading state (aria-busy + a .spinner child): a disabled button must\n       freeze its spinner - \"pending\" is signaled by the dimming, a frozen\n       wheel is the accepted pattern; only an ENABLED busy button spins. */\n    &:disabled .spinner,\n    &[aria-disabled=\"true\"] .spinner {\n      animation-play-state: paused;\n    }\n\n    /* -- Variants -------------------------------------------- */\n    &[data-variant=\"default\"] {\n      background-color: var(--primary);\n      color: var(--primary-foreground);\n\n      &:hover {\n        opacity: 0.9;\n      }\n    }\n\n    &[data-variant=\"secondary\"] {\n      background-color: var(--secondary);\n      color: var(--secondary-foreground);\n\n      /* --secondary is near-white in light themes, so an opacity fade would\n         wash the button further into the page background (invisible hover).\n         Mixing in the foreground color instead darkens light themes and\n         lightens dark ones - always moving away from the page surface. */\n      &:hover {\n        background-color: color-mix(in oklch, var(--secondary) 85%, var(--secondary-foreground));\n      }\n    }\n\n    &[data-variant=\"outline\"] {\n      background-color: var(--background);\n      color: var(--foreground);\n      border: 1px solid var(--border);\n      box-shadow: var(--shadow-xs);\n\n      &:hover {\n        background-color: var(--accent);\n        color: var(--accent-foreground);\n      }\n    }\n\n    &[data-variant=\"ghost\"] {\n      background-color: transparent;\n      color: var(--foreground);\n      border-color: transparent;\n\n      &:hover {\n        background-color: var(--accent);\n        color: var(--accent-foreground);\n      }\n    }\n\n    &[data-variant=\"destructive\"] {\n      background-color: var(--destructive);\n      color: var(--destructive-foreground);\n\n      &:hover {\n        opacity: 0.9;\n      }\n    }\n\n    &[data-variant=\"link\"] {\n      background-color: transparent;\n      color: var(--primary);\n      height: auto;\n      padding: 0;\n      text-underline-offset: 4px;\n\n      &:hover {\n        text-decoration: underline;\n      }\n    }\n\n    /* soft: a tint of the color, text in the color */\n    &[data-variant=\"soft\"] {\n      background-color: color-mix(in oklch, var(--primary) 12%, transparent);\n      color: color-mix(in oklch, var(--primary) 80%, var(--foreground));\n\n      &:hover {\n        background-color: color-mix(in oklch, var(--primary) 20%, transparent);\n      }\n    }\n\n    /* dashed: a drop-zone / \"add\" look */\n    &[data-variant=\"dashed\"] {\n      background-color: transparent;\n      color: var(--foreground);\n      border: 1px dashed color-mix(in oklch, var(--foreground) 35%, transparent);\n\n      &:hover {\n        background-color: var(--accent);\n        color: var(--accent-foreground);\n        border-style: solid;\n      }\n    }\n\n    /* -- Tones: any variant in another color -------------------\n       data-tone=\"success\" / \"warning\" / \"info\" / \"destructive\" - or\n       data-tone=\"custom\" with style=\"--btn-color: …; --btn-color-fg: …\"\n       (the text on a solid fill, default white). Solid buttons fill with the\n       tone; outline / ghost / soft / dashed / link write in it, mixed toward\n       the foreground so a light tone (amber) stays readable. */\n    &[data-tone] {\n      --_tone: var(--btn-color, var(--primary));\n      --_tone-fg: var(--btn-color-fg, #fff);\n      --_tone-ink: color-mix(in oklch, var(--_tone) 78%, var(--foreground));\n    }\n    &[data-tone=\"success\"] {\n      --_tone: oklch(0.6 0.15 150);\n    }\n    &[data-tone=\"warning\"] {\n      --_tone: oklch(0.8 0.16 80);\n      --_tone-fg: oklch(0.28 0.06 60);\n    }\n    &[data-tone=\"info\"] {\n      --_tone: oklch(0.6 0.16 250);\n    }\n    &[data-tone=\"destructive\"] {\n      --_tone: var(--destructive);\n      --_tone-fg: var(--destructive-foreground, #fff);\n    }\n\n    &[data-tone]:is(:not([data-variant]), [data-variant=\"default\"]) {\n      background-color: var(--_tone);\n      color: var(--_tone-fg);\n\n      &:hover {\n        opacity: 0.9;\n      }\n    }\n    &[data-tone][data-variant=\"outline\"] {\n      background-color: transparent;\n      color: var(--_tone-ink);\n      border-color: var(--_tone);\n\n      &:hover {\n        background-color: color-mix(in oklch, var(--_tone) 12%, transparent);\n        color: var(--_tone-ink);\n      }\n    }\n    &[data-tone]:is([data-variant=\"ghost\"], [data-variant=\"dashed\"]) {\n      color: var(--_tone-ink);\n\n      &:hover {\n        background-color: color-mix(in oklch, var(--_tone) 14%, transparent);\n        color: var(--_tone-ink);\n      }\n    }\n    &[data-tone][data-variant=\"dashed\"] {\n      border-color: var(--_tone);\n    }\n    &[data-tone][data-variant=\"soft\"] {\n      background-color: color-mix(in oklch, var(--_tone) 16%, transparent);\n      color: var(--_tone-ink);\n\n      &:hover {\n        background-color: color-mix(in oklch, var(--_tone) 26%, transparent);\n      }\n    }\n    &[data-tone][data-variant=\"link\"] {\n      color: var(--_tone-ink);\n    }\n\n    /* -- RTL: arrows and other directional icons mirror ----------\n       mark them data-rtl-flip; symmetric icons stay as they are */\n    &:dir(rtl) [data-rtl-flip] {\n      scale: -1 1;\n    }\n\n    /* -- Sizes ----------------------------------------------- */\n    &[data-size=\"xs\"] {\n      height: 1.75rem;\n      padding: 0 0.5rem;\n      font-size: 0.75rem;\n      border-radius: var(--radius-sm);\n    }\n    &[data-size=\"sm\"] {\n      height: 2rem;\n      padding: 0 0.75rem;\n      font-size: 0.8125rem;\n    }\n    &[data-size=\"md\"] {\n      height: 2.25rem;\n      padding: 0 1rem;\n      font-size: 0.875rem;\n    }\n    &[data-size=\"lg\"] {\n      height: 2.75rem;\n      padding: 0 2rem;\n      font-size: 1rem;\n    }\n    &[data-size=\"xl\"] {\n      height: 3.25rem;\n      padding: 0 2.5rem;\n      font-size: 1.125rem;\n    }\n    &[data-size=\"icon\"] {\n      height: 2.25rem;\n      width: 2.25rem;\n      padding: 0;\n    }\n    &[data-size=\"icon-xs\"] {\n      height: 1.75rem;\n      width: 1.75rem;\n      padding: 0;\n      border-radius: var(--radius-sm);\n    }\n    &[data-size=\"icon-sm\"] {\n      height: 2rem;\n      width: 2rem;\n      padding: 0;\n    }\n    &[data-size=\"icon-lg\"] {\n      height: 2.75rem;\n      width: 2.75rem;\n      padding: 0;\n    }\n    &[data-size=\"icon-xl\"] {\n      height: 3.25rem;\n      width: 3.25rem;\n      padding: 0;\n    }\n  }\n\n  /* -- Accessibility ------------------------------------------ */\n\n  @media (prefers-reduced-motion: reduce) {\n    .btn {\n      transition: none;\n    }\n  }\n\n  @media (prefers-contrast: more) {\n    .btn {\n      border: 2px solid transparent;\n\n      &[data-variant=\"default\"],\n      &[data-variant=\"secondary\"],\n      &[data-variant=\"destructive\"] {\n        border-color: currentColor;\n      }\n\n      &[data-variant=\"outline\"],\n      &[data-variant=\"ghost\"] {\n        border-color: var(--foreground);\n      }\n    }\n  }\n\n  @media (forced-colors: active) {\n    .btn {\n      border: 1px solid ButtonText;\n\n      &:disabled,\n      &[aria-disabled=\"true\"] {\n        border-color: GrayText;\n        color: GrayText;\n      }\n    }\n  }\n}\n\n/* ── components/fab/fab.css ── */\n/* -- FAB (floating action button) + speed dial ---------------------- */\n\n@layer components {\n  /* A .fab holds a .fab-trigger (a .btn with popovertarget) and, for a speed\n     dial, a .fab-menu[popover] of .fab-action buttons. The popover is the\n     whole behavior: click / Enter toggles it, Escape and an outside click\n     close it, the trigger reports aria-expanded - no JavaScript. The menu is\n     anchored to the trigger (anchor-scope keeps many FABs apart) and stacks\n     its actions away from it: data-direction up (default) / down / left /\n     right, or data-layout=\"flower\" for a quarter circle. */\n  .fab {\n    --_trig: 3.5rem;\n    --_act: 2.75rem;\n    --_gap: 0.75rem;\n    --_edge: 1.5rem;\n    anchor-scope: --fab;\n    position: fixed;\n    z-index: 50;\n    inset-block-end: var(--_edge);\n    inset-inline-end: var(--_edge);\n    display: flex;\n\n    /* -- Position: the corner (or edge center) it floats in ------------- */\n    &[data-position=\"bottom-start\"] {\n      inset-inline-end: auto;\n      inset-inline-start: var(--_edge);\n    }\n    &[data-position=\"top-end\"] {\n      inset-block-end: auto;\n      inset-block-start: var(--_edge);\n    }\n    &[data-position=\"top-start\"] {\n      inset: var(--_edge) auto auto var(--_edge);\n    }\n    &[data-position=\"bottom-center\"] {\n      inset-inline: 0;\n      justify-content: center;\n      pointer-events: none;\n      & > * {\n        pointer-events: auto;\n      }\n    }\n    /* inside a positioned container (a card, a panel) instead of the page */\n    &[data-attach=\"container\"] {\n      position: absolute;\n    }\n\n    /* -- Sizes: trigger + actions scale together (md == default) --------- */\n    &[data-size=\"sm\"] {\n      --_trig: 2.75rem;\n      --_act: 2.25rem;\n      --_gap: 0.5rem;\n    }\n    &[data-size=\"md\"] {\n      --_trig: 3.5rem;\n      --_act: 2.75rem;\n      --_gap: 0.75rem;\n    }\n    &[data-size=\"lg\"] {\n      --_trig: 4.25rem;\n      --_act: 3.25rem;\n      --_gap: 0.875rem;\n    }\n  }\n\n  /* -- Trigger ------------------------------------------------------------ */\n  .fab-trigger {\n    anchor-name: --fab;\n    width: var(--_trig);\n    height: var(--_trig);\n    padding: 0;\n    border-radius: 9999px;\n    box-shadow: var(--shadow-lg);\n\n    & svg {\n      width: 1.375rem;\n      height: 1.375rem;\n    }\n    & .fab-icon {\n      display: inline-grid;\n      place-items: center;\n      font-size: 1.375rem;\n      line-height: 1;\n      transition: rotate 200ms ease;\n    }\n\n    /* extended: icon + label, a pill */\n    /* icon-only width == the round trigger, so a folded label leaves a circle */\n    &:has(.fab-text) {\n      width: auto;\n      min-width: var(--_trig);\n      padding-inline: calc((var(--_trig) - 1.375rem) / 2);\n      gap: 0;\n    }\n    & .fab-text {\n      margin-inline-start: 0.625rem;\n      padding-inline-end: 0.25rem;\n    }\n  }\n  .fab-text {\n    overflow: hidden;\n    white-space: nowrap;\n    font-size: 0.9375rem;\n  }\n  /* open: the trigger's icon turns (+ becomes ×) - or swaps with\n     .fab-icon-open / .fab-icon-closed */\n  .fab:has(.fab-menu:popover-open) .fab-trigger .fab-icon:not(.fab-icon-open, .fab-icon-closed) {\n    rotate: 45deg;\n  }\n  .fab:not(:has(.fab-menu:popover-open)) .fab-icon-open,\n  .fab:has(.fab-menu:popover-open) .fab-icon-closed {\n    display: none;\n  }\n\n  /* -- The menu (a popover in the top layer, anchored to the trigger) ----- */\n  .fab-menu[popover] {\n    position: fixed;\n    position-anchor: --fab;\n    inset: auto;\n    width: auto;\n    height: auto;\n    margin: 0;\n    padding: 0;\n    border: 0;\n    background: none;\n    color: inherit;\n    overflow: visible;\n    display: none;\n    gap: var(--_gap);\n    align-items: center;\n\n    /* up (default): stacked above the trigger, first action nearest */\n    bottom: anchor(bottom);\n    left: anchor(center);\n    translate: -50% 0;\n    flex-direction: column-reverse;\n    padding-block-end: calc(var(--_trig) + var(--_gap));\n\n    &:popover-open {\n      display: flex;\n    }\n\n    /* the menu box overlaps the trigger (its padding leaves room for it) - only\n       the actions take the pointer, so the trigger stays clickable to close */\n    pointer-events: none;\n    & > * {\n      pointer-events: auto;\n    }\n\n    transition:\n      display 180ms allow-discrete,\n      overlay 180ms allow-discrete;\n  }\n  .fab[data-direction=\"down\"] .fab-menu[popover] {\n    bottom: auto;\n    top: anchor(top);\n    flex-direction: column;\n    padding-block: calc(var(--_trig) + var(--_gap)) 0;\n  }\n  .fab[data-direction=\"left\"] .fab-menu[popover] {\n    bottom: auto;\n    left: auto;\n    right: anchor(right);\n    top: anchor(center);\n    translate: 0 -50%;\n    flex-direction: row-reverse;\n    padding: 0 calc(var(--_trig) + var(--_gap)) 0 0;\n  }\n  .fab[data-direction=\"right\"] .fab-menu[popover] {\n    bottom: auto;\n    left: anchor(left);\n    top: anchor(center);\n    translate: 0 -50%;\n    flex-direction: row;\n    padding: 0 0 0 calc(var(--_trig) + var(--_gap));\n  }\n  /* an optional dim layer behind the open dial */\n  .fab[data-backdrop] .fab-menu::backdrop {\n    background-color: color-mix(in oklch, var(--foreground) 22%, transparent);\n    backdrop-filter: blur(2px);\n  }\n\n  /* text dials: the pills line up with the trigger's outer edge */\n  .fab-menu[popover]:has(> .fab-action > .fab-text) {\n    left: auto;\n    right: anchor(right);\n    translate: none;\n    align-items: flex-end;\n  }\n  .fab:is([data-position=\"bottom-start\"], [data-position=\"top-start\"])\n    .fab-menu[popover]:has(> .fab-action > .fab-text) {\n    right: auto;\n    left: anchor(left);\n    align-items: flex-start;\n  }\n\n  /* -- Actions ------------------------------------------------------------ */\n  .fab-action {\n    position: relative;\n    display: inline-grid;\n    place-items: center;\n    width: var(--_act);\n    height: var(--_act);\n    padding: 0;\n    border: 1px solid var(--border);\n    border-radius: 9999px;\n    background-color: var(--popover);\n    color: var(--popover-foreground);\n    box-shadow: var(--shadow-md);\n    font: inherit;\n    font-size: 1.125rem;\n    line-height: 1;\n    text-decoration: none;\n    cursor: pointer;\n    transition:\n      opacity 160ms ease,\n      scale 160ms ease,\n      translate 160ms ease,\n      background-color 150ms ease;\n    transition-delay: calc(var(--_i, 0) * 35ms);\n\n    &:hover {\n      background-color: var(--accent);\n      color: var(--accent-foreground);\n    }\n    &:focus-visible {\n      outline: 2px solid var(--ring);\n      outline-offset: 2px;\n    }\n    & svg {\n      width: 1.125rem;\n      height: 1.125rem;\n    }\n    /* .btn tones / variants work on an action too */\n    &.btn {\n      border-radius: 9999px;\n      width: var(--_act);\n      height: var(--_act);\n      padding: 0;\n    }\n  }\n  /* text actions: a pill with the words inside */\n  .fab-action:has(> .fab-text) {\n    display: inline-flex;\n    align-items: center;\n    width: auto;\n    padding-inline: 0.875rem 1.125rem;\n    gap: 0.5rem;\n    white-space: nowrap;\n    font-size: 0.875rem;\n    font-weight: 500;\n  }\n  .fab-action .fab-text {\n    font-size: inherit;\n  }\n\n  /* the stagger: actions pop out from the trigger one after another */\n  .fab-menu > :nth-child(2) {\n    --_i: 1;\n  }\n  .fab-menu > :nth-child(3) {\n    --_i: 2;\n  }\n  .fab-menu > :nth-child(4) {\n    --_i: 3;\n  }\n  .fab-menu > :nth-child(5) {\n    --_i: 4;\n  }\n  .fab-menu > :nth-child(6) {\n    --_i: 5;\n  }\n  .fab-menu > :nth-child(7) {\n    --_i: 6;\n  }\n  .fab-menu:not(:popover-open) > * {\n    opacity: 0;\n    scale: 0.6;\n  }\n  @starting-style {\n    .fab-menu:popover-open > * {\n      opacity: 0;\n      scale: 0.6;\n    }\n    .fab[data-layout=\"flower\"] .fab-menu:popover-open > * {\n      translate: -50% -50%;\n    }\n  }\n\n  /* label chips beside the actions (toward the screen's middle) */\n  .fab-label {\n    position: absolute;\n    inset-inline-end: calc(100% + 0.625rem);\n    top: 50%;\n    translate: 0 -50%;\n    padding: 0.25rem 0.625rem;\n    border: 1px solid var(--border);\n    border-radius: var(--radius-md);\n    background-color: var(--popover);\n    color: var(--popover-foreground);\n    box-shadow: var(--shadow-sm);\n    font-size: 0.8125rem;\n    font-weight: 500;\n    white-space: nowrap;\n    pointer-events: none;\n  }\n  .fab:is([data-position=\"bottom-start\"], [data-position=\"top-start\"]) .fab-label {\n    inset-inline-end: auto;\n    inset-inline-start: calc(100% + 0.625rem);\n  }\n  /* sideways dials: the label sits above its action */\n  .fab:is([data-direction=\"left\"], [data-direction=\"right\"]) .fab-label {\n    inset-inline: auto;\n    left: 50%;\n    top: auto;\n    bottom: calc(100% + 0.5rem);\n    translate: -50% 0;\n  }\n\n  /* -- Main action: an action that takes the trigger's place when open ---- */\n  .fab-menu > .fab-main {\n    --_i: 0;\n    width: var(--_trig);\n    height: var(--_trig);\n    border: 0;\n    background-color: var(--primary);\n    color: var(--primary-foreground);\n    box-shadow: var(--shadow-lg);\n    font-size: 1.375rem;\n\n    &:hover {\n      background-color: color-mix(in oklch, var(--primary) 88%, var(--primary-foreground));\n      color: var(--primary-foreground);\n    }\n    & svg {\n      width: 1.375rem;\n      height: 1.375rem;\n    }\n  }\n  .fab-menu:has(> .fab-main) {\n    padding: 0 !important;\n  }\n  .fab-menu:has(> .fab-main) > :not(.fab-main) {\n    --_i: 1;\n  }\n\n  /* -- Flower: the actions on a quarter circle around the trigger --------\n     The arc opens toward the screen's middle (up-left from bottom-end);\n     2 - 6 actions spread evenly. Labels are visually hidden here (they\n     still name the buttons). */\n  .fab[data-layout=\"flower\"] {\n    --_r: calc(var(--_trig) + var(--_act) * 1.6);\n    --_arc: 90deg;\n    --_a0: 0deg;\n    --_sx: -1;\n    --_sy: -1;\n\n    &:is([data-position=\"bottom-start\"], [data-position=\"top-start\"]) {\n      --_sx: 1;\n    }\n    &:is([data-position=\"top-end\"], [data-position=\"top-start\"]) {\n      --_sy: 1;\n    }\n    /* from the center of an edge (a dock's raised action): a semicircle */\n    /* the upper arc only (30° - 150°): the ends stay clear of whatever sits\n       level with the trigger (a dock's neighbouring items) */\n    &:is([data-position=\"bottom-center\"], [data-position=\"top-center\"]) {\n      --_arc: 120deg;\n      --_a0: 30deg;\n      --_sx: -1;\n      --_r: calc(var(--_trig) + var(--_act) * 0.9);\n    }\n    &[data-position=\"bottom-center\"] {\n      --_sy: -1;\n    }\n    &[data-position=\"top-center\"] {\n      --_sy: 1;\n    }\n\n    & .fab-menu[popover] {\n      top: anchor(center);\n      left: anchor(center);\n      bottom: auto;\n      right: auto;\n      width: 0;\n      height: 0;\n      padding: 0;\n      translate: none;\n      display: none;\n      &:popover-open {\n        display: block;\n      }\n    }\n    & .fab-menu > * {\n      --_step: var(--_arc);\n      --_a: calc(var(--_a0) + var(--_k, 0) * var(--_step));\n      position: absolute;\n      left: 0;\n      top: 0;\n      translate: calc(-50% + var(--_sx) * cos(var(--_a)) * var(--_r))\n        calc(-50% + var(--_sy) * sin(var(--_a)) * var(--_r));\n    }\n    & .fab-menu:not(:popover-open) > * {\n      translate: -50% -50%;\n    }\n    & .fab-label {\n      position: absolute;\n      width: 1px;\n      height: 1px;\n      padding: 0;\n      overflow: hidden;\n      clip-path: inset(50%);\n      border: 0;\n    }\n\n    /* k = 0 … n-1 along the arc (the main action, if any, stays centered) */\n    & .fab-menu > :not(.fab-main):nth-child(1 of :not(.fab-main)) {\n      --_k: 0;\n    }\n    & .fab-menu > :not(.fab-main):nth-child(2 of :not(.fab-main)) {\n      --_k: 1;\n    }\n    & .fab-menu > :not(.fab-main):nth-child(3 of :not(.fab-main)) {\n      --_k: 2;\n    }\n    & .fab-menu > :not(.fab-main):nth-child(4 of :not(.fab-main)) {\n      --_k: 3;\n    }\n    & .fab-menu > :not(.fab-main):nth-child(5 of :not(.fab-main)) {\n      --_k: 4;\n    }\n    & .fab-menu > :not(.fab-main):nth-child(6 of :not(.fab-main)) {\n      --_k: 5;\n    }\n    & .fab-menu:has(> :not(.fab-main):nth-child(3 of :not(.fab-main))) > * {\n      --_step: calc(var(--_arc) / 2);\n    }\n    & .fab-menu:has(> :not(.fab-main):nth-child(4 of :not(.fab-main))) > * {\n      --_step: calc(var(--_arc) / 3);\n    }\n    & .fab-menu:has(> :not(.fab-main):nth-child(5 of :not(.fab-main))) > * {\n      --_step: calc(var(--_arc) / 4);\n      --_r: calc(var(--_trig) + var(--_act) * 2.1);\n    }\n    & .fab-menu:has(> :not(.fab-main):nth-child(6 of :not(.fab-main))) > * {\n      --_step: calc(var(--_arc) / 5);\n    }\n    & .fab-menu > .fab-main {\n      translate: -50% -50%;\n    }\n  }\n\n  /* -- Extended FAB that shrinks to its icon as the page scrolls ----------\n     data-shrink=\"scroll\": a scroll-driven animation (no listener) folds the\n     label away over the first 120px of scrolling. It follows the page;\n     for a scrolling container, name its timeline (scroll-timeline: --list;\n     timeline-scope on a shared ancestor) and set --fab-timeline: --list. */\n  @keyframes fab-shrink {\n    to {\n      max-width: 0;\n      opacity: 0;\n      margin-inline-start: 0;\n      padding-inline-end: 0;\n    }\n  }\n  .fab[data-shrink=\"scroll\"] .fab-trigger {\n    & .fab-text {\n      max-width: 12rem;\n      animation: fab-shrink linear both;\n      animation-timeline: var(--fab-timeline, scroll(root block));\n      animation-range: 0 120px;\n    }\n  }\n\n  /* -- Back to top --------------------------------------------------------\n     data-scroll-top: the trigger is a link to the start (href=\"#top\" - the\n     browser scrolls the document to its top natively, even without an\n     element of that id; for a scrolling container, link to an element at\n     its start). A scroll-driven animation keeps it hidden at the top and\n     fades / grows it in between --fab-scroll-top-from and -to of scroll\n     (default 160px - 320px); visibility follows, so it is not focusable\n     while hidden. The timeline is a var() - minifiers leave it alone. */\n  @keyframes fab-appear {\n    from {\n      opacity: 0;\n      scale: 0.6;\n      visibility: hidden;\n    }\n  }\n  .fab[data-scroll-top] .fab-trigger {\n    animation: fab-appear linear both;\n    animation-timeline: var(--fab-timeline, scroll(root block));\n    animation-range: var(--fab-scroll-top-from, 160px) var(--fab-scroll-top-to, 320px);\n  }\n  /* the jump glides - for people who have not asked for less motion */\n  @media (prefers-reduced-motion: no-preference) {\n    html:has(.fab[data-scroll-top]) {\n      scroll-behavior: smooth;\n    }\n  }\n\n  /* -- Accessibility -------------------------------------------------------- */\n  @media (prefers-reduced-motion: reduce) {\n    .fab-action,\n    .fab-trigger .fab-icon,\n    .fab-menu[popover] {\n      transition: none;\n    }\n    .fab[data-shrink=\"scroll\"] .fab-trigger .fab-text {\n      animation: none;\n    }\n    .fab[data-scroll-top] .fab-trigger {\n      animation: none;\n    }\n  }\n  @media (forced-colors: active) {\n    .fab-action,\n    .fab-label {\n      border: 1px solid CanvasText;\n    }\n  }\n}\n\n/* ── components/play-button/play-button.css ── */\n/* -- Play Button component ------------------------------------\n   A large round button that starts something: a video, a deck, content that\n   loads only on demand. One <button> with an accessible name - the triangle\n   is drawn by CSS (clip-path), so no icon is needed. data-pulse sends a ring\n   outward to draw the eye. CSS only. */\n\n@layer components {\n  .play-button {\n    --play-button-size: 4.5rem;\n    --_bg: var(--primary);\n    --_fg: var(--primary-foreground);\n\n    position: relative;\n    display: inline-grid;\n    flex: none;\n    place-items: center;\n    inline-size: var(--play-button-size);\n    block-size: var(--play-button-size);\n    padding: 0;\n    border: 0;\n    border-radius: 9999px;\n    background-color: var(--_bg);\n    color: var(--_fg);\n    box-shadow: var(--shadow-lg);\n    cursor: pointer;\n    -webkit-tap-highlight-color: transparent;\n    transition:\n      scale 150ms ease,\n      background-color 150ms ease,\n      box-shadow 150ms ease;\n\n    /* the triangle: a third of the button, nudged toward its point so it\n       reads as centred (its visual centre is not its box's) */\n    &::before {\n      content: \"\";\n      inline-size: 34%;\n      aspect-ratio: 1 / 1.15;\n      translate: 10% 0;\n      background-color: currentColor;\n      clip-path: polygon(0 0, 100% 50%, 0 100%);\n    }\n\n    &:hover:not(:disabled) {\n      scale: 1.06;\n      background-color: color-mix(in oklch, var(--_bg) 88%, var(--_fg));\n    }\n    &:active:not(:disabled) {\n      scale: 0.97;\n    }\n    &:focus-visible {\n      outline: 3px solid var(--ring);\n      outline-offset: 4px;\n    }\n    &:disabled {\n      opacity: 0.5;\n      cursor: not-allowed;\n    }\n\n    /* -- Sizes ------------------------------------------------------ */\n    &[data-size=\"sm\"] {\n      --play-button-size: 3rem;\n    }\n    &[data-size=\"lg\"] {\n      --play-button-size: 6rem;\n    }\n    &[data-size=\"xl\"] {\n      --play-button-size: 8rem;\n    }\n\n    /* -- Variants --------------------------------------------------- */\n    &[data-variant=\"secondary\"] {\n      --_bg: var(--secondary);\n      --_fg: var(--secondary-foreground);\n    }\n    &[data-variant=\"outline\"] {\n      --_bg: var(--background);\n      --_fg: var(--foreground);\n      box-shadow:\n        inset 0 0 0 2px var(--border),\n        var(--shadow-sm);\n    }\n    /* over a photo or a video poster: frosted, white, whatever the theme */\n    &[data-variant=\"glass\"] {\n      --_bg: oklch(1 0 0 / 0.2);\n      --_fg: oklch(1 0 0);\n      box-shadow:\n        inset 0 0 0 1px oklch(1 0 0 / 0.4),\n        0 8px 32px oklch(0 0 0 / 0.3);\n      backdrop-filter: blur(12px) saturate(1.4);\n\n      &:hover:not(:disabled) {\n        background-color: oklch(1 0 0 / 0.32);\n      }\n    }\n\n    /* -- Attention: a ring that keeps pulsing outward ---------------- */\n    &[data-pulse]::after {\n      content: \"\";\n      position: absolute;\n      inset: 0;\n      border-radius: inherit;\n      pointer-events: none;\n      animation: play-button-pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n    }\n  }\n\n  @keyframes play-button-pulse {\n    from {\n      box-shadow: 0 0 0 0 color-mix(in oklch, var(--_bg) 60%, transparent);\n    }\n    to {\n      box-shadow: 0 0 0 calc(var(--play-button-size) / 3) transparent;\n    }\n  }\n\n  /* -- Accessibility ------------------------------------------------- */\n  @media (prefers-reduced-motion: reduce) {\n    .play-button {\n      transition: none;\n\n      &:hover:not(:disabled),\n      &:active:not(:disabled) {\n        scale: none;\n      }\n      &[data-pulse]::after {\n        animation: none;\n      }\n    }\n  }\n\n  @media (prefers-contrast: more) {\n    .play-button {\n      box-shadow: inset 0 0 0 2px var(--foreground);\n    }\n  }\n\n  @media (forced-colors: active) {\n    .play-button {\n      border: 2px solid ButtonText;\n      background-color: ButtonFace;\n      color: ButtonText;\n\n      &::before {\n        background-color: ButtonText;\n      }\n      &:focus-visible {\n        outline-color: Highlight;\n      }\n    }\n  }\n}\n\n/* ── components/toggle/toggle.css ── */\n/* -- Toggle component ------------------------------------------ */\n\n@layer components {\n  .toggle {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    gap: 0.5rem;\n    font-size: 0.875rem;\n    font-weight: 500;\n    font-family: var(--font-sans);\n    line-height: 1;\n    white-space: nowrap;\n    border-radius: var(--radius-md);\n    border: 1px solid transparent;\n    background: transparent;\n    color: var(--muted-foreground);\n    cursor: pointer;\n    transition:\n      color 150ms ease,\n      background-color 150ms ease,\n      box-shadow 150ms ease;\n    outline: none;\n    flex-shrink: 0;\n    height: 2.25rem;\n    padding: 0 0.5rem;\n    min-width: 2.25rem;\n\n    &:hover:not(:disabled) {\n      background-color: var(--muted);\n      color: var(--muted-foreground);\n    }\n\n    &[aria-pressed=\"true\"] {\n      background-color: var(--accent);\n      color: var(--accent-foreground);\n\n      &:hover:not(:disabled) {\n        background-color: color-mix(in oklch, var(--accent) 85%, var(--foreground));\n      }\n    }\n\n    &:focus-visible {\n      outline: 2px solid var(--ring);\n      outline-offset: 2px;\n    }\n\n    /* disabled: dimmed, with the not-allowed cursor - no pointer-events: none,\n       which would hide the cursor too (a disabled button fires no click) */\n    &:disabled {\n      opacity: 0.5;\n      cursor: not-allowed;\n    }\n\n    & svg {\n      pointer-events: none;\n      flex-shrink: 0;\n\n      &:not([class*=\"size-\"]) {\n        width: 1rem;\n        height: 1rem;\n      }\n    }\n\n    /* -- Variants -------------------------------------------- */\n    &[data-variant=\"outline\"] {\n      border: 1px solid var(--input);\n      background: transparent;\n      box-shadow: var(--shadow-xs);\n\n      &:hover:not(:disabled) {\n        background-color: var(--accent);\n        color: var(--accent-foreground);\n      }\n\n      &[aria-pressed=\"true\"] {\n        background-color: var(--accent);\n        color: var(--accent-foreground);\n\n        &:hover:not(:disabled) {\n          background-color: color-mix(in oklch, var(--accent) 85%, var(--foreground));\n        }\n      }\n    }\n\n    /* -- Sizes ----------------------------------------------- */\n    &[data-size=\"xs\"] {\n      height: 1.75rem;\n      padding: 0 0.25rem;\n      min-width: 1.75rem;\n      font-size: 0.75rem;\n    }\n    &[data-size=\"sm\"] {\n      height: 2rem;\n      padding: 0 0.375rem;\n      min-width: 2rem;\n    }\n    &[data-size=\"md\"] {\n      height: 2.25rem;\n      padding: 0 0.5rem;\n      min-width: 2.25rem;\n    }\n    &[data-size=\"lg\"] {\n      height: 2.5rem;\n      padding: 0 0.625rem;\n      min-width: 2.5rem;\n    }\n    &[data-size=\"xl\"] {\n      height: 3rem;\n      padding: 0 0.75rem;\n      min-width: 3rem;\n      font-size: 1rem;\n    }\n  }\n\n  @media (prefers-reduced-motion: reduce) {\n    .toggle {\n      transition: none;\n    }\n  }\n\n  @media (prefers-contrast: more) {\n    .toggle {\n      border: 2px solid transparent;\n\n      &[data-variant=\"outline\"] {\n        border-color: var(--foreground);\n      }\n\n      &[aria-pressed=\"true\"] {\n        border-color: currentColor;\n      }\n    }\n  }\n\n  @media (forced-colors: active) {\n    .toggle {\n      border: 1px solid ButtonText;\n\n      &[aria-pressed=\"true\"] {\n        background: Highlight;\n        color: HighlightText;\n      }\n\n      &:disabled {\n        border-color: GrayText;\n        color: GrayText;\n      }\n    }\n  }\n}\n\n/* ── components/swap/swap.css ── */\n/* -- Swap component -------------------------------------------- */\n\n@layer components {\n  .swap {\n    /* the faces stack in one grid cell, so the box sizes to the widest one\n       and no absolute positioning / JS measurement is needed */\n    position: relative;\n    display: inline-grid;\n    place-items: center;\n    min-width: 2.25rem;\n    min-height: 2.25rem;\n    border-radius: var(--radius-md);\n    font-family: var(--font-sans);\n    font-size: 0.875rem;\n    font-weight: 500;\n    line-height: 1;\n    color: var(--foreground);\n    cursor: pointer;\n    user-select: none;\n    vertical-align: middle;\n    /* flip needs depth; harmless for the other variants */\n    perspective: 40rem;\n\n    /* the checkbox IS the state — visually hidden but focusable and\n       hit-testable across the whole control (no .sr-only dependency) */\n    & > input[type=\"checkbox\"] {\n      grid-area: 1 / 1;\n      appearance: none;\n      -webkit-appearance: none;\n      width: 100%;\n      height: 100%;\n      margin: 0;\n      padding: 0;\n      border: 0;\n      opacity: 0;\n      cursor: inherit;\n    }\n\n    & .swap-on,\n    & .swap-off,\n    & .swap-indeterminate {\n      grid-area: 1 / 1;\n      display: inline-flex;\n      align-items: center;\n      justify-content: center;\n      opacity: 0;\n      pointer-events: none;\n      backface-visibility: hidden;\n      transition:\n        opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),\n        rotate 300ms cubic-bezier(0.4, 0, 0.2, 1),\n        scale 300ms cubic-bezier(0.4, 0, 0.2, 1);\n    }\n\n    & svg:not([class*=\"size-\"]) {\n      width: 1.25rem;\n      height: 1.25rem;\n      flex-shrink: 0;\n    }\n\n    /* -- Faces: default (off) ------------------------------- */\n    & .swap-off {\n      opacity: 1;\n    }\n\n    /* -- Faces: indeterminate ------------------------------- */\n    &:has(> input:indeterminate) {\n      & .swap-off {\n        opacity: 0;\n      }\n      & .swap-indeterminate {\n        opacity: 1;\n      }\n    }\n\n    /* -- Faces: on (checked, or forced via data-active) ------ */\n    &:has(> input:checked),\n    &[data-active] {\n      & .swap-off,\n      & .swap-indeterminate {\n        opacity: 0;\n      }\n      & .swap-on {\n        opacity: 1;\n      }\n    }\n\n    /* -- Variant: rotate ------------------------------------ */\n    &[data-variant=\"rotate\"] {\n      & .swap-on,\n      & .swap-indeterminate {\n        rotate: -45deg;\n      }\n\n      &:has(> input:indeterminate) {\n        & .swap-off {\n          rotate: 45deg;\n        }\n        & .swap-indeterminate {\n          rotate: 0deg;\n        }\n      }\n\n      &:has(> input:checked),\n      &[data-active] {\n        & .swap-off,\n        & .swap-indeterminate {\n          rotate: 45deg;\n        }\n        & .swap-on {\n          rotate: 0deg;\n        }\n      }\n    }\n\n    /* -- Variant: flip -------------------------------------- */\n    &[data-variant=\"flip\"] {\n      & .swap-on,\n      & .swap-indeterminate {\n        rotate: y 180deg;\n      }\n\n      &:has(> input:indeterminate) {\n        & .swap-off {\n          rotate: y -180deg;\n        }\n        & .swap-indeterminate {\n          rotate: y 0deg;\n        }\n      }\n\n      &:has(> input:checked),\n      &[data-active] {\n        & .swap-off,\n        & .swap-indeterminate {\n          rotate: y -180deg;\n        }\n        & .swap-on {\n          rotate: y 0deg;\n        }\n      }\n    }\n\n    /* -- Sizes ---------------------------------------------- */\n    &[data-size=\"sm\"] {\n      min-width: 2rem;\n      min-height: 2rem;\n      font-size: 0.75rem;\n\n      & svg:not([class*=\"size-\"]) {\n        width: 1rem;\n        height: 1rem;\n      }\n    }\n\n    &[data-size=\"lg\"] {\n      min-width: 2.75rem;\n      min-height: 2.75rem;\n      font-size: 1.125rem;\n\n      & svg:not([class*=\"size-\"]) {\n        width: 1.5rem;\n        height: 1.5rem;\n      }\n    }\n\n    /* -- Interaction states --------------------------------- */\n    &:hover:not(:has(> input:disabled)) {\n      background-color: var(--accent);\n      color: var(--accent-foreground);\n    }\n\n    &:has(> input:focus-visible) {\n      outline: 2px solid var(--ring);\n      outline-offset: 2px;\n    }\n\n    /* a disabled input never toggles - no pointer-events: none, so the\n       not-allowed cursor shows */\n    &:has(> input:disabled) {\n      opacity: 0.5;\n      cursor: not-allowed;\n    }\n  }\n\n  /* Accessibility: honour a reduced-motion request — the faces still swap,\n     they just do not animate (near-zero duration keeps transitionend firing). */\n  @media (prefers-reduced-motion: reduce) {\n    .swap .swap-on,\n    .swap .swap-off,\n    .swap .swap-indeterminate {\n      transition-duration: 0.01ms !important;\n    }\n  }\n\n  @media (prefers-contrast: more) {\n    .swap {\n      border: 2px solid transparent;\n\n      &:has(> input:checked),\n      &[data-active] {\n        border-color: currentColor;\n      }\n    }\n  }\n\n  @media (forced-colors: active) {\n    .swap {\n      border: 1px solid ButtonText;\n      color: ButtonText;\n      forced-color-adjust: none;\n\n      &:has(> input:checked),\n      &[data-active] {\n        background: Highlight;\n        color: HighlightText;\n      }\n\n      &:has(> input:disabled) {\n        border-color: GrayText;\n        color: GrayText;\n      }\n    }\n  }\n}\n\n/* ── components/toggle-group/toggle-group.css ── */\n/* -- Toggle Group component ------------------------------------- */\n\n@layer components {\n  .toggle-group {\n    display: inline-flex;\n    align-items: center;\n    gap: 0.0625rem;\n\n    /* -- Outline variant: propagate border + shadow to children -- */\n    &[data-variant=\"outline\"] > .toggle {\n      border: 1px solid var(--input);\n      background: transparent;\n      box-shadow: var(--shadow-xs);\n\n      &:hover {\n        background-color: var(--accent);\n        color: var(--accent-foreground);\n      }\n\n      &[aria-pressed=\"true\"] {\n        background-color: var(--accent);\n        color: var(--accent-foreground);\n      }\n    }\n\n    /* Collapse double borders on connected outline items */\n    &[data-variant=\"outline\"]:not([data-spacing]) > .toggle:not(:first-child) {\n      margin-inline-start: -1px;\n    }\n\n    &[data-variant=\"outline\"]:not([data-spacing])[data-orientation=\"vertical\"] > .toggle:not(:first-child) {\n      margin-inline-start: 0;\n      margin-block-start: -1px;\n    }\n\n    /* -- Sizes: propagate to child toggles ---------------------- */\n    &[data-size=\"xs\"] > .toggle {\n      height: 1.75rem;\n      padding: 0 0.25rem;\n      min-width: 1.75rem;\n      font-size: 0.75rem;\n    }\n\n    &[data-size=\"sm\"] > .toggle {\n      height: 2rem;\n      padding: 0 0.375rem;\n      min-width: 2rem;\n\n      & svg {\n        width: 0.875rem;\n        height: 0.875rem;\n      }\n    }\n\n    &[data-size=\"md\"] > .toggle {\n      height: 2.25rem;\n      padding: 0 0.5rem;\n      min-width: 2.25rem;\n    }\n\n    &[data-size=\"lg\"] > .toggle {\n      height: 2.5rem;\n      padding: 0 0.625rem;\n      min-width: 2.5rem;\n    }\n\n    &[data-size=\"xl\"] > .toggle {\n      height: 3rem;\n      padding: 0 0.75rem;\n      min-width: 3rem;\n      font-size: 1rem;\n\n      & svg {\n        width: 1.125rem;\n        height: 1.125rem;\n      }\n    }\n\n    /* -- Vertical orientation ----------------------------------- */\n    &[data-orientation=\"vertical\"] {\n      flex-direction: column;\n    }\n\n    /* -- Connected borders: merge adjacent toggle radii ---------\n       Square only the corners that actually touch a neighbour:\n       inline corners horizontally, block corners vertically. The\n       orientation attribute is wrapped in :where() so every rule\n       keeps one-class-plus-one-pseudo specificity - the later\n       [data-spacing] radius restore must still win the tie.\n       (The previous per-corner \"restore\" overrides let the\n       :not(:last-child) block re-round a middle item's top-right\n       corner - issue #12.) */\n    &:where(:not([data-orientation=\"vertical\"])) > .toggle:not(:first-child) {\n      border-start-start-radius: 0;\n      border-end-start-radius: 0;\n    }\n\n    &:where(:not([data-orientation=\"vertical\"])) > .toggle:not(:last-child) {\n      border-start-end-radius: 0;\n      border-end-end-radius: 0;\n    }\n\n    &:where([data-orientation=\"vertical\"]) > .toggle:not(:first-child) {\n      border-start-start-radius: 0;\n      border-start-end-radius: 0;\n    }\n\n    &:where([data-orientation=\"vertical\"]) > .toggle:not(:last-child) {\n      border-end-start-radius: 0;\n      border-end-end-radius: 0;\n    }\n\n    /* -- Spacing: adds gap and restores individual radii --------- */\n    &[data-spacing] {\n      gap: 0.25rem;\n\n      & > .toggle {\n        border-radius: var(--radius-md);\n      }\n    }\n\n    /* -- Disabled group ----------------------------------------- */\n    /* the runtime ignores clicks in a disabled group; the cursor says so */\n    &[data-disabled] {\n      & > .toggle {\n        opacity: 0.5;\n        cursor: not-allowed;\n        &:hover {\n          background-color: transparent;\n          color: inherit;\n        }\n      }\n    }\n  }\n\n  /* -- Accessibility -------------------------------------------- */\n  @media (prefers-reduced-motion: reduce) {\n    .toggle-group .toggle {\n      transition: none;\n    }\n  }\n\n  @media (forced-colors: active) {\n    .toggle-group > .toggle {\n      border-color: ButtonBorder;\n\n      &[aria-pressed=\"true\"] {\n        background-color: Highlight;\n        color: HighlightText;\n        border-color: Highlight;\n      }\n\n      &:focus-visible {\n        outline-color: Highlight;\n      }\n    }\n  }\n}\n\n/* ── components/button-group/button-group.css ── */\n/* -- Button Group component ------------------------------------- */\n\n@layer components {\n  .btn-group {\n    display: inline-flex;\n    align-items: stretch;\n\n    /* Collapse borders between adjacent buttons */\n    & > .btn + .btn {\n      margin-inline-start: -1px;\n    }\n\n    /* Remove internal radii for connected appearance. The orientation gate is\n       :where()-wrapped so these INLINE-corner rules only ever apply to\n       horizontal groups; ungated they also squared vertical buttons' corners\n       at a higher specificity than the vertical block below, leaving \"Top\"\n       with a rounded top-left but a square top-right (issue #13). */\n    &:where(:not([data-orientation=\"vertical\"])) > .btn:not(:first-child) {\n      border-start-start-radius: 0;\n      border-end-start-radius: 0;\n    }\n\n    &:where(:not([data-orientation=\"vertical\"])) > .btn:not(:last-child) {\n      border-start-end-radius: 0;\n      border-end-end-radius: 0;\n    }\n\n    /* A separator JOINS the control (a split button: action | menu trigger):\n       it is the one dividing line, so the buttons on either side keep their\n       square inner corners and drop the border that touches it - 1px total,\n       not border + rule + border with rounded inner corners (which read as\n       two buttons with a gap). */\n    &:where(:not([data-orientation=\"vertical\"])) {\n      & > .btn:has(+ [role=\"separator\"]) {\n        border-inline-end-width: 0;\n      }\n      & > [role=\"separator\"] + .btn {\n        border-inline-start-width: 0;\n      }\n    }\n\n    /* Ensure hovered/focused button stacks above its neighbors */\n    & > .btn:hover,\n    & > .btn:focus-visible {\n      position: relative;\n      z-index: 1;\n    }\n\n    /* -- Separator ------------------------------------------- */\n    & > [role=\"separator\"] {\n      width: 1px;\n      align-self: stretch;\n      background: var(--border);\n      border: 0;\n      margin: 0;\n      padding: 0;\n      flex-shrink: 0;\n    }\n\n    /* -- Vertical orientation -------------------------------- */\n    &[data-orientation=\"vertical\"] {\n      flex-direction: column;\n      align-items: stretch;\n\n      & > .btn + .btn {\n        margin-inline-start: 0;\n        margin-top: -1px;\n      }\n\n      /* Square exactly the BLOCK corners that touch a neighbour - a\n         non-first button squares its top edge, a non-last its bottom\n         edge; the base .btn radius keeps every outer corner rounded on\n         both sides. No per-corner \"restore\" overrides: the last block's\n         restores re-rounded a corner the previous block had just\n         squared, which (together with the ungated horizontal rules)\n         produced the asymmetric Top/Middle corners of issue #13. */\n      & > .btn:not(:first-child) {\n        border-start-start-radius: 0;\n        border-start-end-radius: 0;\n      }\n\n      & > .btn:not(:last-child) {\n        border-end-start-radius: 0;\n        border-end-end-radius: 0;\n      }\n\n      & > [role=\"separator\"] {\n        width: auto;\n        height: 1px;\n      }\n\n      & > .btn:has(+ [role=\"separator\"]) {\n        border-block-end-width: 0;\n      }\n      & > [role=\"separator\"] + .btn {\n        border-block-start-width: 0;\n      }\n    }\n  }\n\n  @media (forced-colors: active) {\n    .btn-group > [role=\"separator\"] {\n      background: ButtonText;\n    }\n  }\n}\n\n/* ── components/toolbar/toolbar.css ── */\n/* -- Toolbar component ------------------------------------------ */\n\n@layer components {\n  .toolbar {\n    display: flex;\n    align-items: center;\n    gap: 0.25rem;\n    padding: 0.25rem;\n    border: 1px solid var(--border);\n    border-radius: var(--radius-lg);\n    background: var(--background);\n    width: fit-content;\n\n    /* -- Sizes ----------------------------------------------------\n       data-size on the .toolbar root scales the chrome (padding/gap) and the\n       direct .btn/.toggle/.toggle-group controls together, mirroring the\n       button ladder (md = .btn's default 2.25rem). The descendant selector\n       (0-3-0) outranks each control's own [data-size] rule (0-2-0). */\n    &[data-size=\"xs\"] {\n      gap: 0.125rem;\n      padding: 0.125rem;\n      & :is(.btn, .toggle) {\n        height: 1.75rem;\n        padding: 0 0.5rem;\n        font-size: 0.75rem;\n      }\n    }\n    &[data-size=\"sm\"] {\n      gap: 0.1875rem;\n      padding: 0.1875rem;\n      & :is(.btn, .toggle) {\n        height: 2rem;\n        padding: 0 0.75rem;\n        font-size: 0.8125rem;\n      }\n    }\n    &[data-size=\"md\"] {\n      gap: 0.25rem;\n      padding: 0.25rem;\n      & :is(.btn, .toggle) {\n        height: 2.25rem;\n      }\n    }\n    &[data-size=\"lg\"] {\n      gap: 0.375rem;\n      padding: 0.375rem;\n      & :is(.btn, .toggle) {\n        height: 2.75rem;\n        padding: 0 1rem;\n        font-size: 1rem;\n      }\n    }\n    &[data-size=\"xl\"] {\n      gap: 0.5rem;\n      padding: 0.5rem;\n      & :is(.btn, .toggle) {\n        height: 3.25rem;\n        padding: 0 1.25rem;\n        font-size: 1.125rem;\n      }\n    }\n\n    /* Vertical separators stretch to fill toolbar height */\n    & > .separator[data-orientation=\"vertical\"] {\n      align-self: stretch;\n      height: auto;\n      margin: 0.25rem 0.25rem;\n    }\n\n    /* Vertical toolbar */\n    &[aria-orientation=\"vertical\"] {\n      flex-direction: column;\n\n      & > .separator[data-orientation=\"horizontal\"],\n      & > .separator:not([data-orientation]) {\n        height: 1px;\n        width: 1.5rem;\n        margin: 0.25rem 0;\n      }\n    }\n  }\n\n  @media (forced-colors: active) {\n    .toolbar {\n      border-color: ButtonText;\n    }\n  }\n}\n"],"names":[]}