/* =====================================================================================================
   Claymera design system (V286): the one place for the look of the site.
   It is the desktop Generate studio's look (V278–V285), written as tokens and a few components, so every page
   can take it from here instead of carrying its own colours.

   Who reads it
   - the editor page (inline in <head>, before every other style) and the Generate studio (gen.js uses the tokens);
   - the plain pages (/pricing, /terms, /privacy, …) link it as /design.css (build.py copies it there);
   - the home page lives in a shadow root: the tokens reach it (custom properties inherit), the classes do not.

   Themes
   - dark is the default and is the studio itself; html[data-theme="light"] is the light counterpart (same accent,
     type, radii and depth). The site's choice is localStorage "clm-theme" ("light" or anything else = dark).
   - .ds-dark / .ds-light force a theme on one element and everything inside it (the studio is always dark).

   Rules
   - pages take colours, fonts, radii and shadows from the --ds-* tokens, never as new literal values;
   - a component class only sets how a thing looks, never where it sits (no width, margin or position);
   - nothing here uses !important, so a page can always adjust a component locally.
   ===================================================================================================== */

/* ---------- tokens: dark (the studio) ---------- */
:root,.ds-dark{
  /* brand */
  --ds-accent:#FF5A1F;                                  /* the one orange */
  --ds-accent-hi:#FF8348;                               /* top of the orange gradient */
  --ds-accent-grad:linear-gradient(180deg,#FF8348,#FF5A1F);
  --ds-accent-hover:#FF6A33;
  --ds-accent-ink:#0D0E10;                              /* text and icons on orange */
  --ds-accent-soft:rgba(255,90,31,.14);                 /* orange wash behind hovered chips, notices */
  --ds-accent-line:rgba(255,122,69,.7);                 /* orange hairline */
  --ds-accent-text:#FFB089;                             /* orange text on a dark surface */
  --ds-accent-glow:0 10px 26px -12px rgba(255,90,31,.85);
  /* V289: buttons are keys (Abdo picked Higgsfield's): a solid face with a lit top and a thick darker edge at the bottom */
  --ds-key-pri:linear-gradient(180deg,#FF5A1F,#FF7236);                 /* the orange key: one per screen */
  --ds-key-pri-edge:#B23E10;
  --ds-key-pri-ink:#160B05;
  --ds-key-sec:linear-gradient(180deg,#FFFFFF,#F1F1EE);                 /* the white key: the second action */
  --ds-key-sec-edge:#ABABA7;
  --ds-key-sec-ink:#0D0E10;
  --ds-key-q:rgba(255,255,255,.075);                                    /* the quiet key: everything else */
  --ds-key-q-hover:rgba(255,255,255,.13);
  --ds-key-q-edge:rgba(0,0,0,.55);
  --ds-key-q-rim:rgba(255,255,255,.12);
  --ds-key-q-ink:#F1F1EE;
  --ds-violet:#7B4DFF;--ds-amber:#FFB067;--ds-pink:#FF4D8D;   /* only for light and motion (frames, glows) */
  /* surfaces, back to front */
  --ds-bg:#06070B;                                      /* the page */
  --ds-surface:#14161C;                                 /* a solid panel or an image well */
  --ds-raised:#15171D;                                  /* a solid floating bar, a busy box */
  --ds-pop:#16181B;                                     /* menus and dropdown lists */
  --ds-card:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.022));
  --ds-hi:rgba(255,255,255,.12);                       /* the lit top edge of a card */
  --ds-rim:rgba(255,255,255,.08);                       /* the hairline around a card */
  --ds-drop:0 24px 50px -30px rgba(0,0,0,.9);          /* the shadow under a card */
  --ds-card-sh:inset 0 1px 0 var(--ds-hi),inset 0 0 0 1px var(--ds-rim),var(--ds-drop);
  --ds-glass:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  --ds-glass-sh:inset 0 1px 0 rgba(255,255,255,.2),inset 0 0 0 1px rgba(255,255,255,.1),0 18px 40px -22px rgba(0,0,0,.9);
  --ds-pop-sh:inset 0 0 0 1px #2A2C31,0 24px 60px -18px rgba(0,0,0,.85);
  --ds-sunk:#191B20;                                    /* a solid panel a step lighter than the page (home frames) */
  --ds-spec:rgba(255,255,255,.7);                       /* the light that follows the pointer on glass (home) */
  --ds-well:rgba(0,0,0,.34);                            /* inside a card: fields, rows */
  --ds-fill:rgba(255,255,255,.06);                      /* a quiet button or chip */
  --ds-fill-hover:rgba(255,255,255,.12);
  --ds-pressed:#F1F1EE;--ds-pressed-ink:#101114;         /* the chosen chip / segment */
  /* ink */
  --ds-title:#F4F1EC;
  --ds-ink:#F1F1EE;
  --ds-ink-2:#D4D5DA;   /* V379: secondary text a step brighter (was #C9CAD0) */
  --ds-mute:#A8AAB0;    /* V379: was #95979C, small grey text read poorly on black */
  --ds-faint:#8C8E98;   /* V379: was #7F818C */
  --ds-placeholder:#6E7076;
  /* lines */
  --ds-line:rgba(255,255,255,.085);                     /* between sections */
  --ds-line-2:rgba(255,255,255,.12);                    /* around a field or chip */
  --ds-line-3:rgba(255,255,255,.14);                    /* around a button */
  --ds-dash:rgba(255,255,255,.16);                      /* dashed drop zones, Advanced */
  /* status */
  --ds-err:#FF9466;--ds-err-bg:rgba(255,90,31,.08);--ds-err-line:rgba(255,90,31,.28);
  --ds-ok:#58C27D;
  --ds-danger:#FF9C8F;--ds-danger-bg:rgba(255,80,80,.14);
  --ds-low:#FF4D4D;                                     /* a meter that is running out (credits) */
  /* the page backdrop: warm light from the bottom, a violet haze from the top, a fine dot grid */
  /* the page backdrop (V289): a violet haze at the top of the page and the warm light at the END of the page.
     Both are background layers with their own position and size, so they belong to the page, not to the screen:
     the warm light shows when you scroll to the bottom. Use: background:var(--ds-haze),var(--ds-glow),var(--ds-bg)
     (on a scroll box add background-attachment:local). */
  --ds-haze:radial-gradient(60% 75% at 52% -14%,rgba(90,80,220,.20),transparent 70%) 0 0/100% 680px no-repeat,radial-gradient(34% 55% at 100% 14%,rgba(255,60,120,.10),transparent 70%) 0 0/100% 680px no-repeat;
  /* V289b (Abdo: softer, less spread): a low band (420 px) hugging the end of the page; eased stops instead of a straight fade */
  --ds-glow:radial-gradient(46% 100% at 24% 100%,rgba(255,90,31,.22) 0%,rgba(255,90,31,.12) 28%,rgba(255,90,31,.045) 58%,rgba(255,90,31,.012) 78%,transparent 92%) 0 100%/100% 420px no-repeat,radial-gradient(38% 100% at 82% 100%,rgba(255,150,70,.11) 0%,rgba(255,150,70,.05) 35%,rgba(255,150,70,.015) 65%,transparent 88%) 0 100%/100% 420px no-repeat;
  --ds-dots:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1.5px);
  --ds-scroll:#2A2C31;
  --ds-select:rgba(255,90,31,.35);
}

/* ---------- tokens: light (same accent, type, radii and depth) ---------- */
html[data-theme="light"],.ds-light{
  --ds-accent-hover:#FF6A33;
  --ds-accent-soft:rgba(255,90,31,.10);
  --ds-accent-line:rgba(255,90,31,.55);
  --ds-accent-text:#C2410C;
  --ds-accent-glow:0 10px 24px -12px rgba(255,90,31,.7);
  --ds-key-pri-edge:#B23E10;
  --ds-key-sec:linear-gradient(180deg,#2A2C31,#16181B);                 /* light theme: the second key is the dark one */
  --ds-key-sec-edge:#000000;
  --ds-key-sec-ink:#F6F6F3;
  --ds-key-q:rgba(18,19,22,.05);
  --ds-key-q-hover:rgba(18,19,22,.09);
  --ds-key-q-edge:rgba(18,19,22,.16);
  --ds-key-q-rim:rgba(18,19,22,.12);
  --ds-key-q-ink:#121316;
  --ds-bg:#F3F3F1;
  --ds-surface:#FFFFFF;
  --ds-raised:#FFFFFF;
  --ds-pop:#FFFFFF;
  --ds-card:linear-gradient(180deg,#FFFFFF,rgba(255,255,255,.78));
  --ds-hi:#FFFFFF;
  --ds-rim:rgba(18,19,22,.07);
  --ds-drop:0 24px 50px -32px rgba(18,19,22,.32);
  --ds-card-sh:inset 0 1px 0 var(--ds-hi),inset 0 0 0 1px var(--ds-rim),var(--ds-drop);
  --ds-glass:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.7));
  --ds-glass-sh:inset 0 1px 0 #FFFFFF,inset 0 0 0 1px rgba(18,19,22,.08),0 18px 40px -24px rgba(18,19,22,.35);
  --ds-pop-sh:inset 0 0 0 1px rgba(18,19,22,.1),0 24px 60px -18px rgba(18,19,22,.35);
  --ds-sunk:#EAEAE6;
  --ds-spec:rgba(255,90,31,.5);
  --ds-well:rgba(18,19,22,.045);
  --ds-fill:rgba(18,19,22,.05);
  --ds-fill-hover:rgba(18,19,22,.09);
  --ds-pressed:#121316;--ds-pressed-ink:#FFFFFF;
  --ds-title:#0D0E10;
  --ds-ink:#121316;
  --ds-ink-2:#333539;
  --ds-mute:#5D5F64;    /* V379: was #6C6E73 */
  --ds-faint:#7A7C81;
  --ds-placeholder:#9A9CA1;
  --ds-line:rgba(18,19,22,.09);
  --ds-line-2:rgba(18,19,22,.12);
  --ds-line-3:rgba(18,19,22,.16);
  --ds-dash:rgba(18,19,22,.2);
  --ds-err:#C2410C;--ds-err-bg:rgba(255,90,31,.07);--ds-err-line:rgba(255,90,31,.3);
  --ds-ok:#1F7A3D;
  --ds-danger:#C0262D;--ds-danger-bg:rgba(220,40,40,.08);
  --ds-low:#E0352B;
  --ds-haze:radial-gradient(60% 75% at 52% -14%,rgba(90,80,220,.08),transparent 70%) 0 0/100% 680px no-repeat,radial-gradient(34% 55% at 100% 14%,rgba(255,60,120,.05),transparent 70%) 0 0/100% 680px no-repeat;
  --ds-glow:radial-gradient(46% 100% at 24% 100%,rgba(255,90,31,.12) 0%,rgba(255,90,31,.065) 28%,rgba(255,90,31,.025) 58%,rgba(255,90,31,.006) 78%,transparent 92%) 0 100%/100% 420px no-repeat,radial-gradient(38% 100% at 82% 100%,rgba(255,150,70,.07) 0%,rgba(255,150,70,.03) 35%,rgba(255,150,70,.01) 65%,transparent 88%) 0 100%/100% 420px no-repeat;
  --ds-dots:radial-gradient(rgba(18,19,22,.10) 1px,transparent 1.5px);
  --ds-scroll:#CFCFCB;
  --ds-select:rgba(255,90,31,.22);
}

/* ---------- tokens that do not change with the theme ---------- */
:root{
  /* type */
  --ds-display:'Bricolage Grotesque','Geist','IBM Plex Sans Arabic',system-ui,sans-serif;   /* titles, numbers */
  --ds-serif:'Instrument Serif',Georgia,serif;                        /* the italic accent word */
  --ds-body:'Geist','IBM Plex Sans Arabic',system-ui,sans-serif;     /* Arabic letters fall back to Plex Arabic */
  --ds-mono:'Geist Mono',ui-monospace,monospace;                      /* small uppercase captions */
  --ds-arabic:'IBM Plex Sans Arabic','Geist',sans-serif;
  /* radii */
  --ds-r-card:22px;      /* cards and image frames */
  --ds-r-box:16px;       /* fields and rows inside a card */
  --ds-r-ctl:12px;       /* small controls, list items */
  --ds-r-pop:14px;       /* menus */
  --ds-r-pill:999px;     /* buttons and chips */
  /* sizes */
  --ds-h-btn:44px;--ds-h-btn-sm:36px;--ds-h-btn-lg:54px;--ds-h-chip:30px;
  --ds-key-r:12px;       /* buttons are rounded keys, not pills (V289) */
  --ds-key-e:4px;        /* the height of a key's bottom edge */
  --ds-gap:14px;         /* between cards */
  --ds-pad:22px;         /* inside a card */
  /* V294: the picture wall (core/mas.js): every picture at its own proportions, close together, its details over it in a thin clear type */
  --ds-wall-gap:8px;     /* between pictures */
  --ds-wall-r:12px;      /* a picture's corners */
  --ds-wall-min:300px;   /* the narrowest column on the home's walls */
  --ds-wall-ink:#FFFFFF; /* text over a picture, in both themes */
  --ds-wall-on:#0D0E10;  /* text on the white action pill over a picture */
  --ds-wall-shade:linear-gradient(180deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.34) 16%,rgba(0,0,0,.08) 32%,transparent 44%,transparent 60%,rgba(0,0,0,.18) 78%,rgba(0,0,0,.55) 100%);
  --ds-wall-pill:rgba(16,17,20,.42);   /* the small glass pills on a picture (likes, 3D scene) */
  --ds-wall-font:400 13.5px/1.25 var(--ds-body);
  /* motion */
  --ds-ease:cubic-bezier(.2,.7,.2,1);
  --ds-ease-ui:cubic-bezier(.4,0,.2,1);
}
/* V315b: Arabic has no Geist Mono glyphs, so mono captions use Plex Arabic (was defined in i18n/ar.js; V328 moved it here: one source) */
html[lang=ar],html[lang=ar] body{--ds-mono:'IBM Plex Sans Arabic','Geist Mono',ui-monospace,monospace}

/* ---------- the page ---------- */
/* color-scheme (native scrollbars, form controls) follows the theme only where the design system is in charge */
.ds-dark,.ds-page{color-scheme:dark}
.ds-light,.ds-page[data-theme="light"],html[data-theme="light"] .ds-page{color-scheme:light}
.ds-page{background:var(--ds-bg);color:var(--ds-ink);font:400 15px/1.55 var(--ds-body);-webkit-font-smoothing:antialiased;accent-color:var(--ds-accent)}
.ds-page ::selection{background:var(--ds-select)}
/* the studio backdrop for a whole page (V289): put .ds-page on <html> and .ds-ambient on <body>. The haze sits at the top
   of the page and the warm light at its end (html backgrounds cover the whole document); the fine dot grid stays on screen. */
html.ds-page{min-height:100%;background:var(--ds-haze),var(--ds-glow),var(--ds-bg)}
.ds-ambient{isolation:isolate}
.ds-ambient::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:var(--ds-dots);background-size:30px 30px;-webkit-mask-image:radial-gradient(75% 65% at 50% 38%,#000,transparent 95%);mask-image:radial-gradient(75% 65% at 50% 38%,#000,transparent 95%)}

/* ---------- type ---------- */
/* a title in the studio voice; <em> inside it is the italic orange word ("Generate studio") */
.ds-title{margin:0;font:800 30px/1.02 var(--ds-display);letter-spacing:-.035em;color:var(--ds-title);text-wrap:balance}
.ds-title em{font:italic 400 1.33em/1 var(--ds-serif);letter-spacing:-.01em;color:var(--ds-accent)}
.ds-title.xl{font-size:clamp(40px,6vw,72px)}
.ds-title.lg{font-size:clamp(30px,4vw,46px)}
.ds-title.sm{font-size:22px;letter-spacing:-.025em}
.ds-cap{font:500 11.5px/1 var(--ds-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--ds-mute)}
.ds-lead{margin:0;font:400 15px/1.6 var(--ds-body);color:var(--ds-mute);max-width:64ch}
.ds-hint{margin:0;font:400 13px/1.5 var(--ds-body);color:var(--ds-mute)}
.ds-num{font-family:var(--ds-display);font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ds-link{color:var(--ds-accent);text-decoration:none}.ds-link:hover{text-decoration:underline;text-underline-offset:3px}
html[lang=ar] :is(.ds-title,.ds-card-title,.ds-num){font-family:var(--ds-arabic);font-weight:700;letter-spacing:0}
html[lang=ar] .ds-title em{font-family:var(--ds-arabic);font-style:normal;font-size:1em;font-weight:700}
html[lang=ar] .ds-cap{font-family:var(--ds-arabic);letter-spacing:0;text-transform:none;font-size:12.5px}

/* ---------- cards ---------- */
.ds-card{border:0;border-radius:var(--ds-r-card);background:var(--ds-card);box-shadow:var(--ds-card-sh);color:var(--ds-ink-2);padding:var(--ds-pad)}
.ds-card.hot{box-shadow:inset 0 0 0 1.5px var(--ds-accent-line),0 40px 90px -40px rgba(255,90,31,.55)}
.ds-card-title{margin:0;font:800 17px/1.2 var(--ds-display);letter-spacing:-.015em;color:var(--ds-title)}
.ds-well{border-radius:var(--ds-r-box);background:var(--ds-well);box-shadow:inset 0 0 0 1px var(--ds-line-2)}
.ds-glass{border-radius:18px;background:var(--ds-glass);box-shadow:var(--ds-glass-sh);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.ds-sep{height:1px;border:0;margin:0;background:var(--ds-line)}

/* ---------- buttons are keys (V289, after Higgsfield): a solid face, a lit top, a thick darker edge at the bottom.
   .ds-btn is the quiet key; .pri the orange one (one per screen); .sec the white one (the second action; dark in the light theme).
   The edge is drawn inside the button (inset shadow), so a key takes no more room than a flat button; the text sits on the face. */
.ds-btn{-webkit-appearance:none;appearance:none;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:var(--ds-h-btn);padding:0 18px var(--ds-key-e);border:0;border-radius:var(--ds-key-r);
  background:var(--ds-key-q);color:var(--ds-key-q-ink);box-shadow:inset 0 calc(-1 * var(--ds-key-e)) 0 var(--ds-key-q-edge),inset 0 0 0 1px var(--ds-key-q-rim);
  font:600 14px/1 var(--ds-body);letter-spacing:-.005em;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s,filter .15s,transform .12s,box-shadow .12s,padding .12s}
.ds-btn:hover{background:var(--ds-key-q-hover)}
.ds-btn.pri{background:var(--ds-key-pri);color:var(--ds-key-pri-ink);box-shadow:inset 0 calc(-1 * var(--ds-key-e)) 0 var(--ds-key-pri-edge),inset 0 1px 0 rgba(255,255,255,.3),0 14px 30px -18px rgba(255,90,31,.9)}
.ds-btn.sec{background:var(--ds-key-sec);color:var(--ds-key-sec-ink);box-shadow:inset 0 calc(-1 * var(--ds-key-e)) 0 var(--ds-key-sec-edge),inset 0 1px 0 rgba(255,255,255,.5)}
.ds-btn:is(.pri,.sec):hover{filter:brightness(1.06)}
/* pressed: the face sinks onto its edge */
.ds-btn:active{padding-top:calc(var(--ds-key-e) - 1px);padding-bottom:1px;box-shadow:inset 0 -1px 0 var(--ds-key-q-edge),inset 0 0 0 1px var(--ds-key-q-rim)}
.ds-btn.pri:active{box-shadow:inset 0 -1px 0 var(--ds-key-pri-edge)}
.ds-btn.sec:active{box-shadow:inset 0 -1px 0 var(--ds-key-sec-edge)}
.ds-btn.soft{background:linear-gradient(180deg,rgba(255,138,87,.22),rgba(255,90,31,.12));color:var(--ds-accent-text);box-shadow:inset 0 calc(-1 * var(--ds-key-e)) 0 rgba(150,40,0,.55),inset 0 0 0 1px var(--ds-accent-line)}
.ds-btn.soft:hover{background:var(--ds-accent);color:#fff}
.ds-btn.plain{background:none;box-shadow:none;color:var(--ds-ink-2);padding-bottom:0}
.ds-btn.plain:hover{background:var(--ds-fill);color:var(--ds-ink)}
.ds-btn.plain:active{transform:none}
.ds-btn.sm{height:var(--ds-h-btn-sm);padding-inline:14px;font-size:13px;--ds-key-e:3px}
.ds-btn.lg{height:var(--ds-h-btn-lg);padding-inline:26px;font-size:15.5px}
.ds-btn:disabled,.ds-btn[aria-disabled="true"]{opacity:.5;cursor:default;transform:none;filter:none}
.ds-btn svg{flex:none;width:16px;height:16px}

/* ---------- chips and the segmented switch ---------- */
.ds-chip{-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:var(--ds-h-chip);padding:0 12px;border:0;border-radius:var(--ds-r-pill);background:var(--ds-fill);color:var(--ds-ink-2);box-shadow:inset 0 0 0 1px var(--ds-line-2);font:500 12.5px/1 var(--ds-body);white-space:nowrap;cursor:pointer;transition:background .15s,box-shadow .15s,color .15s}
.ds-chip:hover{background:var(--ds-accent-soft);color:var(--ds-ink);box-shadow:inset 0 0 0 1px var(--ds-accent-line)}
.ds-chip[aria-pressed="true"]{background:var(--ds-pressed);color:var(--ds-pressed-ink);box-shadow:none}
.ds-seg{display:inline-flex;gap:2px;padding:5px;border-radius:16px;background:var(--ds-well);box-shadow:inset 0 0 0 1px var(--ds-line-2)}
.ds-seg>button{-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 16px;border:0;border-radius:12px;background:none;color:var(--ds-ink-2);font:600 13.5px/1 var(--ds-body);cursor:pointer;transition:background .2s,color .2s}
.ds-seg>button:hover{color:var(--ds-ink)}
.ds-seg>button[aria-pressed="true"]{background:var(--ds-pressed);color:var(--ds-pressed-ink);box-shadow:0 1px 2px rgba(0,0,0,.35)}
.ds-tag{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:var(--ds-r-pill);background:var(--ds-accent);color:var(--ds-accent-ink);font:700 11.5px/1 var(--ds-body);letter-spacing:.02em;white-space:nowrap}

/* ---------- fields ---------- */
.ds-field{-webkit-appearance:none;appearance:none;box-sizing:border-box;display:block;width:100%;min-height:var(--ds-h-btn);margin:0;padding:11px 14px;border:0;border-radius:var(--ds-r-ctl);background:var(--ds-well);color:var(--ds-ink);box-shadow:inset 0 0 0 1px var(--ds-line-2);font:500 14px/1.4 var(--ds-body);caret-color:var(--ds-accent);transition:box-shadow .2s}
textarea.ds-field{border-radius:var(--ds-r-box);padding:13px 16px;font-weight:400;font-size:15px;line-height:1.55;resize:vertical}
.ds-field::placeholder{color:var(--ds-placeholder)}
.ds-field:hover{box-shadow:inset 0 0 0 1px var(--ds-line-3)}
.ds-field:focus{outline:0;box-shadow:inset 0 0 0 1px var(--ds-accent-line),0 0 0 4px var(--ds-accent-soft)}

/* ---------- notices ---------- */
.ds-note{margin:0;padding:9px 12px;border-radius:10px;border-inline-start:3px solid var(--ds-accent);background:var(--ds-err-bg);color:var(--ds-ink-2);font:500 13px/1.45 var(--ds-body)}
.ds-msg{margin:0;font:500 13.5px/1.45 var(--ds-body);color:var(--ds-mute)}
.ds-msg.err{color:var(--ds-err)}.ds-msg.ok{color:var(--ds-ok)}

/* ---------- an action list (the studio's list beside a frame) ---------- */
.ds-list{display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:18px;background:var(--ds-glass);box-shadow:var(--ds-glass-sh)}
.ds-list>button,.ds-list>a{-webkit-appearance:none;appearance:none;display:flex;align-items:center;gap:10px;height:42px;padding:0 12px;border:0;border-radius:var(--ds-r-ctl);background:none;color:var(--ds-ink);font:600 13px/1 var(--ds-body);text-decoration:none;text-align:start;white-space:nowrap;cursor:pointer;transition:background .2s}
.ds-list>button:hover,.ds-list>a:hover{background:var(--ds-fill-hover)}

/* ---------- focus: one visible ring everywhere ---------- */
:is(.ds-btn,.ds-chip,.ds-seg>button,.ds-list>button,.ds-list>a,.ds-link):focus-visible{outline:2px solid var(--ds-accent);outline-offset:2px}

@media (prefers-reduced-motion:reduce){.ds-btn,.ds-chip,.ds-seg>button{transition:none}}
