/* One interface for every theme: the workbench of L'établi (stations in the top bar, coloured folders with a
   labelled tab around a sheet of paper, sticky notes, the assistant as a tool rack). A theme only chooses colours
   and textures, through the variables of tokens.css (generated from tokens/tokens.json by "npm run tokens");
   it never adds layout or component rules of its own.
   theme.js always sets data-style, so [data-style] reads « whatever the theme ». */

/* Forced colours: Fluide's bars take the system's own colour, which is the person's choice and so not a token. */
@media(forced-colors:active){
 :root[data-style=fluid][data-material]{--chrome-bg:Canvas;--chrome-blur:none}
}

/* The shared interface. */
.bench-stations,.bench-brand,.bench-ideas,.bench-ask{display:none}
.bench-toolbox,.bench-bar{display:contents}
[data-style] body{background-color:var(--canvas);background-image:var(--bench-texture);background-size:18px 18px}
[data-style] :is(h1,h2,h3){font-family:var(--font-heading);letter-spacing:-.02em}
[data-style] h1{font-weight:600}
[data-style] .page-heading{align-items:center;margin-bottom:34px}
[data-style] .page-heading h1{font-size:clamp(1.75rem,2.4vw,2.125rem)}
[data-style] .page-heading p:first-letter{text-transform:uppercase}
[data-style] .dialog-actions{background:var(--paper);border-color:var(--line)}

/* Top bar: the brand, the breadcrumb and the stations of the workbench, like the header of the mock-up. */
[data-style] .topbar{background:transparent;border-color:transparent;gap:14px}
[data-style] .bench-brand{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;color:var(--ink);border-radius:var(--ui-control-radius)}
[data-style] .bench-brand svg{width:34px;height:24px}
/* Concentric corners: the bar gives its radius and its padding, a station takes what is left (tokens.json). */
[data-style] .bench-stations{display:flex;align-items:center;gap:2px;flex-shrink:0;padding:var(--ui-bar-pad);border-radius:var(--ui-bar-radius);background:var(--side);box-shadow:var(--bench-shadow);font-size:.875rem;max-width:100%;overflow-x:auto;scrollbar-width:none}
[data-style] .bench-station{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px;border-radius:var(--ui-bar-inner-radius);color:var(--ink);text-decoration:none;white-space:nowrap}
[data-style] .bench-station svg{width:16px;height:16px;flex-shrink:0;opacity:.8}
[data-style] .bench-station-icon{padding:0 10px}
[data-style] .bench-station:hover{background:var(--soft)}
[data-style] .bench-station.active,[data-style] .bench-station.active:hover{background:var(--bench-tool-bg);color:var(--bench-tool-ink);font-weight:600}
[data-style] .bench-station.active svg{opacity:1}
[data-style][data-theme=dark] .bench-station.active,[data-style][data-theme=dark] .bench-station.active:hover{background:var(--ink);color:var(--canvas)}
[data-style] .topbar .search-box{order:3;width:210px;flex-shrink:1;height:44px;padding:0 12px;border-radius:var(--ui-bar-radius);background:var(--side);box-shadow:var(--bench-shadow);color:var(--muted)}
[data-style] .topbar .search-box kbd{display:none}
/* Concentric corners of the assistant bar: it gives its radius and its padding, the launcher, the field and the send button take what is left.
   Its ideas are pills, so their box is rounder by the space around them (20 + 8 px, 22 + 8 px where they are 44 px high). */
:root[data-style] .bench-bar{padding:var(--bench-tool-pad);border-radius:var(--bench-tool-radius)}
[data-style] .bench-toolbox :is(.ui-floating-action,.bench-ask input,.bench-ask button){border-radius:var(--bench-tool-inner-radius)}
[data-style] .bench-toolbox .bench-ideas{border-radius:28px}
@media(max-width:760px){[data-style] .bench-toolbox .bench-ideas{border-radius:30px}}
/* When the bar gets short (navigation kept open, narrow window), stations keep their icon and the breadcrumb its room. */
@media(min-width:901px){
 [data-style] .topbar{container-type:inline-size}
 @container (max-width:1299px){
  [data-style] .bench-station{padding:0 10px}
  [data-style] .bench-station span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 }
}
/* The sidebar keeps the project tree: hidden until the menu button pins it open. */
@media(min-width:901px){
 [data-style] body.navigation-auto:not(.navigation-pinned)>.sidebar{visibility:hidden;transform:translateX(-100%)}
 [data-style] body.navigation-auto:not(.navigation-pinned)>.workspace,[data-style] body.navigation-collapsed>.workspace{margin-left:0}
 [data-style] body.navigation-pinned .bench-brand{display:none}
}
[data-style] .sidebar{background:var(--side);border-color:var(--line)}

/* Folders: a coloured folder with its labelled tab, holding a sheet of paper. */
/* Placed boards use the column gap vertically too: it leaves room for the folder tabs. */
[data-style] .ui-module-grid{column-gap:36px;padding-top:28px}
[data-style] .ui-module-grid:not([data-ui-placement]){row-gap:44px}
/* The folder: a coloured edge, a strip and a labelled tab around a sheet. One definition for the dashboard
   modules and the project cards, so both stay the same object. */
[data-style] .panel.ui-module,[data-style] .workshop-card{position:relative;background:var(--paper);border:12px solid var(--folder);border-top:0;border-radius:3px var(--folder-radius) var(--folder-radius);padding:0 18px 18px;box-shadow:var(--bench-shadow)}
/* The strip lies over the folder's top corners: it takes their radii. Its tools keep the same space (--folder-strip-pad) above, below and
   beside them, and take the radius that space leaves. */
[data-style] .ui-module-heading,[data-style] .workshop-card-head{margin:0 -30px 14px;padding:calc(var(--folder-strip-pad) - (44px - var(--ui-button-height))/2) var(--folder-strip-pad);min-height:44px;border-radius:3px var(--folder-radius) 0 0;background:var(--folder);color:var(--folder-ink)}
[data-style] .ui-module-heading>:is(h2,h3),[data-style] .workshop-card-title h2{position:absolute;top:-28px;left:-12px;max-width:calc(100% - 24px);margin:0;padding:5px 16px 4px;border-radius:8px 8px 0 0;background:var(--folder-tab);color:var(--folder-ink);font-size:.875rem;font-weight:700;line-height:1.35;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-style] .ui-module-heading[data-ui-reorderable]>h2{flex:0 0 auto}
/* The fold chevron sits beside the tab, above the folder's edge, so the strip stays thin. */
[data-style] .ui-module-heading>.ui-module-fold{position:absolute;top:-34px;right:-6px;width:40px;min-width:40px;height:32px;min-height:32px;padding:0;color:var(--ink)}
/* At rest a folder shows its tab and its paper: the tool strip only appears while tidying the bench. */
[data-style] .ui-module-grid[data-ui-placement] .ui-module-heading:not([data-ui-reorderable]):not(:has(.actions)){min-height:12px;padding:0;margin-bottom:10px}
[data-style] .ui-module[data-ui-module=today]{--folder:var(--folder-kraft);--folder-tab:var(--folder-kraft-tab);--folder-ink:var(--folder-kraft-ink)}
[data-style] .button.dashboard-add-tile{background:transparent}
[data-style] :is(.ui-module-heading,.workshop-card-head) :is(.button,.icon-button,.option-icon){border-radius:var(--folder-strip-inner-radius);color:var(--folder-ink)}
[data-style] :is(.ui-module-heading,.workshop-card-head) :is(.button,.icon-button,.option-icon):hover{background:#ffffff59;color:var(--folder-ink)}
[data-style][data-theme=dark] :is(.ui-module-heading,.workshop-card-head) :is(.button,.icon-button,.option-icon):hover{background:#ffffff1a}
[data-style] .ui-module[data-ui-density=compact]{padding:0 14px 14px}
[data-style] .ui-module[data-ui-density=compact] .ui-module-heading{margin:0 -26px 12px}
[data-style] .ui-module[data-ui-density=compact] .ui-module-heading>h2{font-size:.8125rem;line-height:1.35}
/* Each kind of folder keeps its colour; projects take their own. */
[data-style] .ui-module[data-ui-module=recent-pages]{--folder:var(--folder-sage);--folder-tab:var(--folder-sage-tab);--folder-ink:var(--folder-sage-ink)}
[data-style] .ui-module:is([data-ui-module=activity],[data-ui-module=home-assistant]){--folder:var(--folder-blue);--folder-tab:var(--folder-blue-tab);--folder-ink:var(--folder-blue-ink)}
[data-style] .ui-module[data-ui-module^=calendar]{--folder:var(--folder-clay);--folder-tab:var(--folder-clay-tab);--folder-ink:var(--folder-clay-ink)}
[data-style] .ui-module:is([data-ui-module^=news],[data-ui-module^=markets]){--folder:var(--folder-cork);--folder-tab:var(--folder-cork-tab);--folder-ink:var(--folder-cork-ink)}
[data-style] .ui-module[data-ui-module=next-actions]{--folder:var(--folder-clay);--folder-tab:var(--folder-clay-tab);--folder-ink:var(--folder-clay-ink)}
[data-style] [data-project-color=sage]{--folder:var(--folder-sage);--folder-tab:var(--folder-sage-tab);--folder-ink:var(--folder-sage-ink)}
[data-style] [data-project-color=blue]{--folder:var(--folder-blue);--folder-tab:var(--folder-blue-tab);--folder-ink:var(--folder-blue-ink)}
[data-style] [data-project-color=clay]{--folder:var(--folder-clay);--folder-tab:var(--folder-clay-tab);--folder-ink:var(--folder-clay-ink)}
[data-style] [data-project-color=amber]{--folder:var(--folder-kraft);--folder-tab:var(--folder-kraft-tab);--folder-ink:var(--folder-kraft-ink)}
/* Project folders on the Projects view. */
[data-style] .project-board{column-gap:36px;padding-top:30px}
[data-style] .workshop-card{overflow:visible}
[data-style] .workshop-card-title .eyebrow{display:none}
[data-style] .workshop-card-title h2 a{color:var(--folder-ink);text-decoration:none}
[data-style] .workshop-card-title h2 a:hover{text-decoration:underline}
[data-style] .workshop-block{border-color:var(--line)}

/* Section tabs read as folder tabs. */
[data-style] .tabs{gap:4px;border-bottom:2px solid var(--folder-kraft-tab)}
[data-style] .tab{border:0;border-radius:8px 8px 0 0;padding:9px 16px;color:var(--muted)}
[data-style] .tab.active{background:var(--folder-kraft-tab);color:var(--folder-kraft-ink)}
:root[data-style] .tabs[data-ui-tabs-ready]>.tab.active{background:transparent;color:var(--folder-kraft-ink)}
[data-style] .ui-tab-indicator{--ui-tab-marker:pill;background:var(--folder-kraft-tab);border-radius:8px 8px 0 0}
[data-style] .tab-count{background:var(--paper);color:var(--ink)}
/* The sticky note: wherever aedil points at the next thing to do (a project's next step, the papers waiting
   in the tray, the open outline beside a page). One definition. */
:root[data-style] .panel.next-step,:root[data-style][data-project-color] .panel.next-step,[data-style] .dashboard-today-inbox{background:var(--bench-note);color:var(--bench-note-ink);border-color:transparent;border-radius:2px}
:root[data-style] .next-step :is(h2,p,.button){color:var(--bench-note-ink)}

/* Other paper surfaces: sheets on the bench, square at the top-left corner, with a soft shadow instead of an outline. */
[data-style] :is(.panel:not(.ui-module),.entry-card,.memory-card,.page-tile,.file-card,.file-list,.photo-card){background:var(--paper);color:var(--ink);border-color:transparent;border-radius:var(--ui-panel-radius);box-shadow:var(--bench-shadow)}
[data-style] :is(.button,input,textarea,select){border-radius:var(--ui-control-radius)}
[data-style] :is(.field input,.field textarea,.field select,.search-box kbd){background:var(--paper);color:var(--ink)}
[data-style] .button:not(.primary,.gold,.danger,.link,.ui-floating-action){background:var(--paper);color:var(--ink);border-color:var(--ui-field-border)}
[data-style] .button.quiet:not(.ui-floating-action){background:transparent;border-color:transparent;color:inherit}
[data-style] .button:not(.primary,.gold,.danger,.link,.ui-floating-action):hover{background:var(--soft);color:var(--ink)}
[data-style] :is(.nav-link,.nav-branch-link,.mini-project,.breadcrumb,.workspace-label){color:var(--muted)}
[data-style] :is(.nav-link:hover,.nav-branch-row:hover,.mini-project:hover,.mini-project.active,.nav-page:hover,.nav-page.active,.icon-button:hover){background:var(--soft);color:var(--ink)}
[data-style] .nav-link.active,[data-style] .nav-link.active:hover{background:var(--bench-tool-bg);color:var(--bench-tool-ink);box-shadow:none}
[data-style] .nav-link.active svg{color:currentColor}
[data-style] :is(.row-icon,.file-thumb,.tab-count,.nav-link .count,.prose code,.backup-layout code){background:var(--soft);color:var(--ink)}
[data-style] :is(dialog,.ui-context-menu){background:var(--paper);border-color:var(--line);color:var(--ink)}
/* The open page is a sheet on the bench; its outline is a sticky note beside it. */
[data-style] .page-reading-content{background:var(--paper);box-shadow:var(--bench-shadow);border-radius:3px;padding:clamp(20px,2.4vw,32px) clamp(18px,3.4vw,48px) clamp(20px,3vw,40px)}
[data-style] .page-reading-content .inline-page{margin-top:0}
[data-style] .page-reading-rail{padding:4px}
[data-style] .page-reading-rail>.reading-panel{background:var(--paper);box-shadow:var(--bench-sheet-shadow);border:0;border-radius:2px;padding:6px 16px 10px;margin:0 0 14px}


/* The assistant: a pastille in the bottom right corner, out of the reading area. It unfolds into the request bar while it is used:
   pointer resting on it, keyboard focus, a first touch ([data-open]) or a request being typed. Nothing is sent without the person.
   The bar is always laid out at full width and clipped to the pastille. Unfolding only moves the clip: the send button then the
   field come out from under the pastille, the corners stay round and nothing is laid out again while it moves. */
[data-style] .bench-toolbox{--bench-hover-intent:0s;--bench-fold-grace:.35s;--bench-unfold:calc(var(--ui-motion-duration) * 1.5);--bench-ask-width:min(390px,calc(100vw - 94px));display:block;position:fixed;z-index:41;isolation:isolate;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));max-width:calc(100vw - 32px);color:var(--bench-tool-ink);pointer-events:none}
/* A mouse only crossing the corner does not unfold it: hover waits a moment, focus, touch and typing do not.
   Hover is the mouse's only ([data-hover], set in app.js): on a phone a touch on the corner would count as a lasting hover. */
[data-style] .bench-toolbox[data-hover]:not([data-open],:has(:focus-visible),:has(input:not(:placeholder-shown))){--bench-hover-intent:.1s}
/* Folding waits a moment too, then the ideas leave first and the bar follows. Unfolding is slower and settles softly. */
[data-style] .bench-bar{display:flex;align-items:center;gap:6px;background:var(--bench-tool-bg);pointer-events:auto;clip-path:inset(0 0 0 calc(100% - calc(44px + 2 * var(--bench-tool-pad))) round var(--bench-tool-radius));transition:clip-path var(--ui-motion-duration) var(--ui-motion-easing-fold) calc(var(--bench-fold-grace) + 80ms)}
[data-style] .bench-toolbox:is([data-hover],[data-open],:has(:focus-visible),:has(input:not(:placeholder-shown))) .bench-bar{clip-path:inset(0 0 0 0 round var(--bench-tool-radius));transition:clip-path var(--bench-unfold) var(--ui-motion-easing-unfold) var(--bench-hover-intent)}
/* The shadow follows the visible part of the bar (a clip would cut it off): same timing, so both edges move together. */
[data-style] .bench-toolbox::before{content:"";position:absolute;z-index:-1;top:0;right:0;bottom:0;width:calc(44px + 2 * var(--bench-tool-pad));border-radius:var(--bench-tool-radius);box-shadow:var(--bench-tool-shadow);transition:width var(--ui-motion-duration) var(--ui-motion-easing-fold) calc(var(--bench-fold-grace) + 80ms)}
[data-style] .bench-toolbox:is([data-hover],[data-open],:has(:focus-visible),:has(input:not(:placeholder-shown)))::before{width:100%;transition:width var(--bench-unfold) var(--ui-motion-easing-unfold) var(--bench-hover-intent)}
[data-style] .bench-toolbox .bench-toolbox-label{font-size:.8125rem;color:var(--bench-tool-muted);white-space:nowrap}
[data-style] .bench-toolbox .bench-tool{display:block;min-height:40px;padding:0 14px;border:1px solid color-mix(in srgb,var(--bench-tool-ink) 38%,transparent);border-radius:999px;background:transparent;color:var(--bench-tool-ink);font:inherit;font-size:.875rem;white-space:nowrap;cursor:pointer}
[data-style] .bench-toolbox .bench-tool:hover{background:var(--bench-tool-hover)}
/* Folded, the field stays in place under the clip: Tab still reaches it, and focusing it unfolds the bar. */
[data-style] .bench-ask{display:flex;flex:none;align-items:center;gap:6px;width:var(--bench-ask-width)}
[data-style] .bench-ask input{flex:1;min-width:0;min-height:40px;padding:0 12px;border:1px solid var(--bench-tool-muted);border-radius:9px;background:var(--bench-tool-hover);color:var(--bench-tool-ink);font:inherit;font-size:.9375rem}
[data-style] .bench-ask input::placeholder{color:var(--bench-tool-muted);opacity:1}
[data-style] .bench-ask input:focus-visible{outline:2px solid var(--bench-call);outline-offset:1px}
[data-style] .bench-ask button{display:grid;place-items:center;width:44px;height:40px;flex-shrink:0;border:0;border-radius:9px;background:var(--bench-call);color:var(--bench-call-ink);cursor:pointer}
[data-style] .bench-ask button svg{width:18px;height:18px}
[data-style][data-theme=dark] .bench-toolbox::before{box-shadow:0 0 0 1px #ffffff1f,0 4px 18px #000a}
/* Ideas rise above the bar once it is well under way, and leave first when it folds. */
[data-style] .bench-ideas{position:absolute;bottom:calc(100% + 8px);right:0;display:flex;align-items:center;justify-content:flex-end;gap:6px;width:max-content;max-width:calc(100vw - 32px);flex-wrap:wrap;padding:8px 8px 8px 14px;border-radius:14px;background:var(--bench-tool-bg);box-shadow:var(--bench-tool-shadow);pointer-events:auto;transform-origin:100% 100%;visibility:hidden;opacity:0;translate:0 8px;scale:.96;transition:opacity var(--ui-motion-fast) ease-in var(--bench-fold-grace),translate var(--ui-motion-fast) ease-in var(--bench-fold-grace),scale var(--ui-motion-fast) ease-in var(--bench-fold-grace),visibility 0s calc(var(--bench-fold-grace) + var(--ui-motion-fast))}
[data-style] .bench-toolbox:is([data-hover],[data-open],:has(:focus-visible),:has(input:not(:placeholder-shown))) .bench-ideas{visibility:visible;opacity:1;translate:0 0;scale:1;transition:opacity var(--ui-motion-duration) ease-out calc(var(--bench-hover-intent) + 120ms),translate var(--bench-unfold) var(--ui-motion-easing-unfold) calc(var(--bench-hover-intent) + 120ms),scale var(--bench-unfold) var(--ui-motion-easing-unfold) calc(var(--bench-hover-intent) + 120ms),visibility 0s calc(var(--bench-hover-intent) + 120ms)}
[data-style] .bench-ideas::after{content:"";position:absolute;inset:100% 0 auto;height:8px}
[data-style][data-theme=dark] .bench-ideas{outline:1px solid #ffffff1f}
/* The launcher is the pastille: it keeps its name for assistive tech and shows its icon only. */
[data-style] .bench-bar>.ui-floating-action{position:static;inset:auto;width:44px;min-height:40px;padding:0;justify-content:center;gap:0;border:0;border-radius:9px;box-shadow:none;font-size:0;background:transparent;color:var(--bench-tool-ink)}
[data-style] .bench-bar>.ui-floating-action svg{width:20px;height:20px}
[data-style] .bench-bar>.ui-floating-action:hover{background:var(--bench-tool-hover);color:var(--bench-tool-ink);filter:none}
/* The conversation grows from the same corner and has its own field: the bar steps aside meanwhile. */
[data-style] body:has(.ui-panel-shell>dialog[open]) .bench-toolbox{display:none}
[data-style] body:has(.bench-toolbox)>.workspace{padding-bottom:calc(68px + max(16px,env(safe-area-inset-bottom)))}
/* Messages (« Tâche terminée · Annuler ») appear above the assistant bar, never behind it. */
[data-style] body:has(.bench-toolbox) #toast{left:50%;bottom:calc(max(16px,env(safe-area-inset-bottom)) + 68px);z-index:41}
@media(max-width:900px){
 [data-style] .topbar{flex-wrap:wrap}
 /* Stations stand alone here: the scrolling strip cuts them with their own radius. */
 [data-style] .bench-stations{order:4;flex-basis:100%;box-shadow:none;background:transparent;padding:0;border-radius:var(--ui-bar-inner-radius)}
 [data-style] .bench-station{background:var(--side)}
 [data-style] .topbar .search-box{flex:1;width:auto}
}
@media(max-width:600px){[data-style] .topbar #breadcrumb{display:none}}
@media(max-width:760px){
 [data-style] .bench-ask input{min-height:44px}
 [data-style] .bench-ask button,[data-style] .bench-bar>.ui-floating-action{height:44px;min-height:44px}
 [data-style] .bench-ideas .bench-tool{min-height:44px}
 /* On a phone the reading notes sit above the text: keep them thin so writing starts early. */
 [data-style] .page-reading-rail>.reading-panel{padding:2px 14px 4px;margin-bottom:6px}
 /* On a phone a folder keeps a thin edge and a small tab: the text gets the width (request of December 5, 2026). */
 [data-style] .ui-module-grid{padding-top:22px}
 [data-style] .ui-module-grid:not([data-ui-placement]){row-gap:34px}
 /* A placed board spaces its folders with the column gap, vertically too. */
 [data-style] .ui-module-grid[data-ui-placement]{column-gap:32px}
 [data-style] .panel.ui-module,[data-style] .workshop-card{border-width:0 3px 3px;padding:0 12px 4px}
 [data-style] .ui-module-heading,[data-style] .workshop-card-head,[data-style] .ui-module[data-ui-density=compact] .ui-module-heading{margin-inline:-15px}
 [data-style] .ui-module-grid[data-ui-placement] .ui-module-heading:not([data-ui-reorderable]):not(:has(.actions)){margin-bottom:4px}
 [data-style] .ui-module-heading>:is(h2,h3),[data-style] .workshop-card-title h2{top:-23px;left:-3px;max-width:calc(100% - 52px);padding:3px 12px 2px;font-size:.8125rem}
 [data-style] .ui-module-heading>.ui-module-fold{top:-38px;right:0;width:44px;min-width:44px;height:44px;min-height:44px}
 [data-style] .ui-module .list-row{padding-block:9px}
 [data-style] .ui-module .list-row>.row-icon{width:28px;height:28px;flex-basis:28px}
}
@media(forced-colors:active){
 [data-style] body{background-image:none}
 [data-style] :is(.panel,.workshop-card,.entry-card,.memory-card,.page-tile,.file-card,.file-list,.photo-card,.page-reading-content){border:1px solid CanvasText}
 [data-style] :is(.ui-module-heading>h2,.workshop-card-title h2){border:1px solid CanvasText}
 [data-style] :is(.bench-bar,.bench-ideas),[data-style] .bench-station.active{border:1px solid CanvasText}
 [data-style] .bench-bar>.ui-floating-action{outline:1px solid CanvasText;outline-offset:-1px}
}
@media(prefers-contrast:more){
 [data-style] :is(.panel:not(.ui-module),.entry-card,.memory-card,.page-tile,.file-card,.file-list,.photo-card,.page-reading-content){border:1px solid var(--line)}
}

/* Folders keep their colour wherever they are moved; the live preview replaces the drop labels. */
[data-style] .board-dragging .board-insert-zone{border-color:transparent;background:transparent;outline:0}
[data-style] .board-dragging .board-insert-zone>span,[data-style] .board-dragging .board-insert-zone::before{display:none}
[data-style] .board-drop-slot{border-color:var(--ink);border-radius:3px 12px 12px 12px;background:color-mix(in srgb,var(--ink) 7%,transparent)}

/* Texture of the bars: plain by default, translucent with Fluide › Verre. */
[data-style=fluid] :is(.bench-stations,.topbar .search-box,body>.sidebar){background:var(--chrome-bg);backdrop-filter:var(--chrome-blur);-webkit-backdrop-filter:var(--chrome-blur)}
[data-style=fluid] :is(.bench-bar,.bench-ideas){backdrop-filter:var(--chrome-blur);-webkit-backdrop-filter:var(--chrome-blur)}
@media(max-width:900px){[data-style=fluid] .bench-stations{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}[data-style=fluid] .bench-station{background:var(--chrome-bg)}}
@media(prefers-reduced-motion:reduce){.bench-ideas,.bench-bar,.bench-toolbox::before{transition:none!important}}
@media(prefers-reduced-motion:reduce){[data-style=fluid] *,[data-style=fluid] *::before,[data-style=fluid] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Text size (Settings › Appearance, onboarding): sizes are in rem. */
:root[data-text-size="small"]{font-size:93.75%}
:root[data-text-size="large"]{font-size:109.375%}
:root[data-text-size="x-large"]{font-size:125%}
