/* The user guide at /docs/ (F84, board 105; docs/plans/user-guide.md). Loaded after styles.css, whose colours (--bg,
   --ink, --muted, --line, --brand… and their [data-theme="light"] values), kbd, .skip, .theme-toggle, .footer and drawn
   windows (.aw, with the window colours on .aw-shot) it uses. Light by default, like the landing page. */

.doc-page {
  --doc-card: rgba(255, 255, 255, 0.04);
  --doc-card-solid: #17152A;
  --doc-note: rgba(168, 151, 243, 0.08);
  --doc-on: rgba(168, 151, 243, 0.16);
  --doc-bar: rgba(12, 11, 20, 0.82);
  --doc-link: #C9BEFF;
  --doc-accent: #A897F3;
  --doc-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  font-size: 16px;
}
[data-theme="light"] .doc-page {
  --doc-card: #FFFFFF;
  --doc-card-solid: #FFFFFF;
  --doc-note: rgba(107, 86, 220, 0.06);
  --doc-on: rgba(107, 86, 220, 0.11);
  --doc-bar: rgba(247, 246, 251, 0.85);
  --doc-link: #4E3BBE;
  --doc-accent: #6B56DC;
  --doc-shadow: 0 16px 40px rgba(40, 30, 110, 0.12);
}
html:has(.doc-page) { scroll-padding-top: 88px; }

/* ---- The top bar: the guide's name, search, the site, light or dark ---- */

.dh { position: sticky; top: 0; z-index: 30; background: var(--doc-bar); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); }
.dh-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 0 28px; }
.dh-brand { flex: none; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 19px; }
.dh-brand:hover { color: var(--ink); }
.dh-brand img { border-radius: 8px; }
.dh-brand b { font-weight: 600; }
.dh-brand span { font-weight: 500; color: var(--muted); }
.dh-menu { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--doc-card); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.dh-menu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.dh-search { position: relative; flex: 0 1 380px; margin-left: 24px; display: flex; align-items: center; gap: 10px; height: 40px;
  padding: 0 8px 0 14px; border-radius: 10px; background: var(--doc-card); box-shadow: inset 0 0 0 1px var(--line); }
.dh-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--doc-accent); }
.dh-search > svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.dh-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); outline: none; }
.dh-search input::placeholder { color: var(--muted); }
.dh-search input::-webkit-search-cancel-button { display: none; }
.dh-search kbd { font-size: 12px; padding: 1px 6px; }
html:not(.js) .dh-search { display: none; }
.dh-results { position: absolute; left: 0; top: calc(100% + 8px); width: min(560px, calc(100vw - 32px)); max-height: min(70vh, 560px);
  overflow: auto; padding: 6px; border-radius: 14px; background: var(--doc-card-solid); box-shadow: 0 0 0 1px var(--line), var(--doc-shadow); }
.dh-results a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 9px; text-decoration: none; color: var(--ink); }
.dh-results a[aria-selected="true"], .dh-results a:hover { background: var(--doc-on); color: var(--ink); }
.dh-results b { font-weight: 600; font-size: 15px; }
.dh-results small { font-size: 12.5px; color: var(--muted); }
.dh-results span { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dh-results mark { background: none; color: var(--doc-accent); font-weight: 600; }
.dh-results p { margin: 0; padding: 14px 12px; font-size: 14px; color: var(--muted); }
.dh-site { margin-left: auto; font-size: 14px; text-decoration: none; color: var(--doc-link); }
.dh-site:hover { color: var(--ink); }

/* ---- Three columns: the page list, the article, "On this page" ---- */

.doc { max-width: 1400px; margin: 0 auto; padding: 40px 28px 88px; display: grid; grid-template-columns: 236px minmax(0, 780px) 200px;
  gap: 48px; justify-content: center; align-items: start; }
.doc-nav { position: sticky; top: 88px; max-height: calc(100vh - 108px); overflow: auto; padding-bottom: 24px; font-size: 14px; overscroll-behavior: contain; }
.doc-nav-h { padding: 0 10px 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.doc-nav ul + .doc-nav-h { margin-top: 22px; }
.doc-nav a { display: flex; align-items: center; min-height: 32px; padding: 4px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-2); line-height: 1.3; }
.doc-nav a:hover { background: var(--doc-note); color: var(--ink); }
.doc-nav a[aria-current="page"] { background: var(--doc-on); color: var(--ink); font-weight: 600; }
.doc-toc { position: sticky; top: 88px; font-size: 13.5px; }
.doc-toc-h { padding-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.doc-toc a { display: block; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); text-decoration: none; color: var(--muted); line-height: 1.4; }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a.is-current { border-left-color: var(--doc-accent); color: var(--ink); }

/* ---- The article ---- */

.doc-article { min-width: 0; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.doc-article > * + * { margin-top: 18px; }
.doc-article h1 { margin-top: 12px; font-family: var(--display); font-size: 48px; line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.doc-article h2 { margin-top: 52px; font-family: var(--display); font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.doc-article h3 { margin-top: 30px; font-size: 19px; line-height: 1.3; font-weight: 600; }
.doc-article h2 + *, .doc-article h3 + * { margin-top: 12px; }
.doc-article p, .doc-article li { text-wrap: pretty; }
.doc-article a { color: var(--doc-link); text-underline-offset: 2px; }
.doc-article a:hover { color: var(--ink); }
.doc-article b, .doc-article strong { font-weight: 600; }
.doc-article ul:not([class]), .doc-article ol:not([class]) { padding-left: 22px; }
.doc-article ul:not([class]) { list-style: disc; }
.doc-article ol:not([class]) { list-style: decimal; }
.doc-article ul:not([class]) li + li, .doc-article ol:not([class]) li + li { margin-top: 6px; }
.doc-article li::marker { color: var(--muted); }
.doc-article code { font: 0.9em/1 ui-monospace, 'SF Mono', Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: var(--doc-note); white-space: nowrap; }
.doc-article kbd, .dh kbd { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif; font-weight: 500; font-size: 0.82em;
  padding: 1px 7px; border-radius: 6px; vertical-align: 1px; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Numbered steps, each a card; a step may end with a "Show me" link that turns the drawing to that step. */
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.steps > li { counter-increment: step; position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding: 14px 16px; border-radius: 12px; background: var(--doc-card); box-shadow: inset 0 0 0 1px var(--line); }
.steps > li::before { content: counter(step); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; color: #FFFFFF; background: var(--brand); }
.steps > li > div > b:first-child { display: block; }
.steps > li > div > span { display: block; font-size: 15.5px; color: var(--ink-2); }
.steps > li > a { font-size: 13.5px; font-weight: 500; white-space: nowrap; text-decoration: none; }

/* Notes: "Good to know", and warnings. */
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--doc-note); font-size: 15.5px; }
.note::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; background: var(--doc-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.2'/%3E%3Cpath d='M8 7.2v4M8 4.8v.1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.2'/%3E%3Cpath d='M8 7.2v4M8 4.8v.1'/%3E%3C/svg%3E") center / contain no-repeat; }
.note > div > * + * { margin-top: 6px; }

/* An example: a box with its own label. */
.example { padding: 18px 20px; border-radius: 16px; background: var(--doc-card); box-shadow: inset 0 0 0 1px var(--line); }
.example > * + * { margin-top: 12px; }
.example-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--doc-accent); }

/* Cards in a grid (choices, links to pages). */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 10px; }
.tiles > * { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--doc-card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.tiles > * > b { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; }
.tiles > * > span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.doc-article .tiles a { text-decoration: none; color: var(--ink); }
.doc-article .tiles a:hover { box-shadow: inset 0 0 0 1.5px var(--doc-accent); color: var(--ink); }

/* Tables: shortcuts, suggestions. */
.table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; background: var(--doc-card);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.5; }
.table th { text-align: left; padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.table td { padding: 11px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.table td:first-child { font-weight: 500; }
.table td.k, .table th.k { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* Previous and Next, and the help line. */
.doc-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 56px !important; }
.doc-pager a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 12px; text-decoration: none; color: var(--ink);
  background: var(--doc-card); box-shadow: inset 0 0 0 1px var(--line); }
.doc-pager a:hover { box-shadow: inset 0 0 0 1.5px var(--doc-accent); color: var(--ink); }
.doc-pager span { font-size: 13px; color: var(--muted); }
.doc-pager b { font-weight: 600; }
.doc-pager .doc-prev span::before { content: '← '; }
.doc-pager .doc-next { grid-column: 2; align-items: flex-end; text-align: right; }
.doc-pager .doc-next span::after { content: ' →'; }
.doc-help { font-size: 14px; color: var(--muted); }

/* ---- Figures: the app, drawn ----
   A frame holds one drawing laid out at its own width (data-w) and scaled by docs.js to the frame's width; data-h is
   its height, data-crop (if any) how much of it shows. Without JavaScript the drawing shows at its own size, scrolled. */

.gfig { margin: 26px 0 0; }
.doc-article > .gfig { margin-top: 26px; }
.gfig-frame { position: relative; overflow: hidden; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.gfig-frame.aw-shot { background: var(--doc-note); }
html:not(.js) .gfig-frame { overflow: auto; }
.gfig-inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; user-select: none; }
html:not(.js) .gfig-inner { position: static; }
.gfig-inner button { font: inherit; cursor: default; }
.gfig .aw { background: transparent; }
.gfig .aw-win { box-shadow: 0 0 0 1px var(--aw-frame), 0 18px 44px rgba(20, 12, 70, 0.14); }
.gfig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.gfig-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gfig-tabs button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 500;
  color: var(--ink); background: var(--doc-card); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.gfig-tabs button[aria-pressed="true"] { color: #FFFFFF; background: var(--brand); box-shadow: none; }
html:not(.js) .gfig-tabs { display: none; }
.gfig-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.gfig-pair .gfig { margin: 0; }

/* ---- Narrower screens ---- */

@media (max-width: 1220px) {
  .doc { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .doc-toc { display: none; }
}
@media (max-width: 900px) {
  .dh-inner { padding: 0 16px; gap: 10px; }
  .dh-menu { display: inline-flex; }
  .dh-search { margin-left: 0; flex: 1; }
  .dh-search kbd, .dh-site, .dh-brand span { display: none; }
  .doc { grid-template-columns: minmax(0, 1fr); padding: 24px 16px 64px; }
  .doc-nav { display: none; }
  .js .doc-nav.is-open { display: block; position: fixed; z-index: 25; left: 0; right: 0; top: 65px; bottom: 0; max-height: none;
    padding: 20px 16px 40px; background: var(--bg); }
  html:not(.js) .doc-nav { display: block; position: static; max-height: none; }
  .doc-article h1 { font-size: 36px; }
  .doc-article h2 { font-size: 24px; margin-top: 40px; }
  .lede { font-size: 17.5px; }
  .steps > li { grid-template-columns: 30px minmax(0, 1fr); }
  .steps > li > a { grid-column: 2; }
}
@media (max-width: 520px) {
  .dh-brand b { display: none; }
  .dh-inner { gap: 8px; }
  .dh-menu { padding: 0 11px; }
  .dh-menu span { display: none; }
  .dh-search { min-width: 0; padding-left: 12px; }
  .dh .theme-toggle { flex: none; }
  .doc-pager { grid-template-columns: minmax(0, 1fr); }
  .doc-pager .doc-next { grid-column: 1; }
}

/* ---- Drawings: the guide's own parts, in the drawn windows' colours (styles.css, .aw-shot: --aw-ink, --aw-win…) ----
   Each drawing is a partial in website/partials/guide/, named in a comment with the app's views it copies. */

.gd .aw-main { position: relative; }
.gd .aw-side.gd-side { width: 200px; }
.gd .aw-side.gd-side .aw-row { overflow: hidden; }
.gd-count { margin-left: auto; font-size: 11px; color: var(--aw-dim); font-variant-numeric: tabular-nums; }
.gd .gd-disk .aw-disk-top { gap: 6px; }
.gd .gd-disk .aw-disk-name b, .gd .gd-disk .aw-disk-free { white-space: nowrap; }

/* Which row is picked: the drawing says (data-on on its .aw); sidebar.html marks each row with data-row. */
.gd[data-on="product-launch"] [data-row="product-launch"], .gd[data-on="japan-trip"] [data-row="japan-trip"],
.gd[data-on="desktop"] [data-row="desktop"], .gd[data-on="documents"] [data-row="documents"], .gd[data-on="downloads"] [data-row="downloads"],
.gd[data-on="free-up-space"] [data-row="free-up-space"], .gd[data-on="installed"] [data-row="installed"], .gd[data-on="ai-agents"] [data-row="ai-agents"],
.gd[data-on="bookmarks"] [data-row="bookmarks"], .gd[data-on="favourites"] [data-row="favourites"] {
  background: var(--aw-row-on); font-weight: 600;
}

/* Steps: a drawing shows the parts marked for its step (data-in="loose grouped"); docs.js sets data-scene. */
.gd[data-scene="loose"] [data-in]:not([data-in~="loose"]), .gd[data-scene="grouped"] [data-in]:not([data-in~="grouped"]),
.gd[data-scene="tidy"] [data-in]:not([data-in~="tidy"]), .gd[data-scene="done"] [data-in]:not([data-in~="done"]),
.gd[data-scene="one"] [data-in]:not([data-in~="one"]), .gd[data-scene="two"] [data-in]:not([data-in~="two"]),
.gd[data-scene="three"] [data-in]:not([data-in~="three"]), .gd[data-scene="four"] [data-in]:not([data-in~="four"]) { display: none !important; }

/* Buttons, ticks, notes with Undo, sheets and alerts, as macOS draws them. */
.gd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 26px; padding: 0 12px; border-radius: 7px; font-size: 12.5px;
  color: var(--aw-ink); background: var(--aw-control); box-shadow: var(--aw-control-shadow); white-space: nowrap; }
.gd-btn.primary { color: #FFFFFF; background: var(--aw-brand); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); font-weight: 500; }
.gd-check { flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--aw-control); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.22); }
.gd-check.on { background: var(--aw-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / 10px no-repeat; box-shadow: none; }
.gd-toast { position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: 12px; white-space: nowrap; background: var(--aw-win); box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.1), 0 14px 32px rgba(0, 0, 0, 0.22); }
.gd .gd-toast-tick { width: 22px; height: 22px; stroke: none; }
.gd-toast-tick circle { fill: #28A745; }
.gd-toast-tick path { fill: none; stroke: #FFFFFF; stroke-width: 1.7; }
.gd-toast-text { display: flex; flex-direction: column; gap: 1px; }
.gd-toast-text b { font-weight: 600; }
.gd-toast-text small { font-size: 11.5px; color: var(--aw-dim); }
.gd .gd-toast-x { width: 11px; height: 11px; stroke: var(--aw-dim); stroke-width: 2; }
.gd-dim { position: absolute; inset: 0; z-index: 6; display: flex; justify-content: center; align-items: flex-start; padding-top: 30px; background: rgba(var(--aw-p), 0.12); }
[data-theme="light"] .gd-dim { background: rgba(28, 28, 36, 0.14); }
.gd-sheet { width: 660px; padding: 20px; border-radius: 14px; background: var(--aw-win); box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.12), 0 26px 70px rgba(0, 0, 0, 0.32);
  display: flex; flex-direction: column; gap: 12px; }
.gd-sheet-title { font-size: 16px; font-weight: 700; }
.gd-sheet-text { margin-top: -8px !important; color: var(--aw-dim-2); }
.gd-sheet-foot { display: flex; align-items: center; gap: 8px; }
.gd-sheet-foot small { font-size: 11.5px; color: var(--aw-dim); }

/* The Tidy sheet's plan (SmartDownloads.swift, TidySheet). */
.gd-plan { border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.1); }
.gd-plan-row { display: grid; grid-template-columns: 14px 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid rgba(var(--aw-p), 0.07); }
.gd .gd-plan-folder { width: 30px; height: 26.4px; }
.gd-plan-what { min-width: 0; display: flex; flex-direction: column; gap: 1px; color: var(--aw-dim-2); }
.gd-plan-what b { font-weight: 600; color: var(--aw-ink); }
.gd-plan-what small { font-size: 11.5px; color: var(--aw-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-plan-size { font-size: 12px; color: var(--aw-dim-2); font-variant-numeric: tabular-nums; }
.gd-plan-option { grid-column: 3 / -1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--aw-ink-2); }
.gd-plan-left { display: flex; gap: 8px; padding: 10px 12px; font-size: 12px; color: var(--aw-ink-2); background: rgba(var(--aw-p), 0.03); }
.gd .gd-plan-left svg { width: 14px; height: 14px; margin-top: 1px; stroke: var(--aw-dim); stroke-width: 1.5; }
.gd-plan-left b { font-weight: 600; }

/* Smart Downloads (downloads.html). */
.gd-dl .aw-win { height: 780px; }
.gd-dl .dl-body { padding: 14px 22px 0; }
.gd-dl .dl-grid { grid-template-columns: repeat(auto-fill, 104px); gap: 6px 12px; }
.gd-dl .dl-icon { width: 98px; height: 86px; }
.gd-dl .dl-label { font-size: 12px; text-align: center; }
.gd-dl .gd-sec { margin-top: 16px !important; }
.gd-dl .gd-files { grid-template-columns: repeat(auto-fill, 150px); gap: 12px; }
.gd-dl .dl-file { width: 150px; }
.gd-dl .dl-prev { height: 84px; }
.gd-dl .sd-panel { width: 270px; }
.gd-dl .aw-search { width: 190px; }
.gd-dl[data-scene="loose"] .gd-seg-none, .gd-dl[data-scene="done"] .gd-seg-none, .gd-dl[data-scene="grouped"] .gd-seg-kind, .gd-dl[data-scene="tidy"] .gd-seg-kind { background: var(--aw-sel); }
.gd-dl[data-scene="grouped"] .gd-insights-btn, .gd-dl[data-scene="tidy"] .gd-insights-btn { background: var(--aw-brand); color: #FFFFFF; }
.gd-dl:not([data-scene="done"]) .gd-status-after, .gd-dl[data-scene="done"] .gd-status-before { display: none; }

/* ---- Examples: a folder before and after (Smart Downloads), drawn as lists rather than windows ---- */

.gx { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; font-size: 14px; line-height: 1.45; }
.gx-box { padding: 16px; border-radius: 12px; background: var(--doc-note); display: flex; flex-direction: column; gap: 12px; }
.gx-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.gx-h b { font-size: 15px; }
.gx-h span, .gx-note { font-size: 13px; color: var(--muted); }
.gx-note { margin-top: auto; }
.gx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gx-chips li { display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12.5px; white-space: nowrap;
  background: var(--doc-card); box-shadow: inset 0 0 0 1px var(--line); }
.gx-chips li::before, .gx-tree li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--k, #9A9AA0); }
.gx-tree li { position: relative; display: flex; gap: 8px; align-items: baseline; padding: 5px 0 5px 26px; color: var(--muted); }
.gx-tree li::before { position: absolute; left: 12px; top: 11px; width: 10px; height: 8px; border-radius: 2px; }
.gx-tree li::after { content: ''; position: absolute; left: 2px; top: -6px; width: 8px; height: 21px; border-left: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); border-bottom-left-radius: 4px; }
.gx-tree li b { flex: none; color: var(--ink); font-weight: 600; }
.gx-tree li { flex-wrap: wrap; column-gap: 8px; }
.gx-tree .gx-root { padding-left: 0; font-weight: 600; color: var(--ink); }
.gx-tree .gx-root::before, .gx-tree .gx-root::after { display: none; }

/* ---- A drawing, enlarged (docs.js, enlarge) ---- */

.gfig { position: relative; }
.js .gfig-frame[data-w] { cursor: zoom-in; }
.gfig-zoom { position: absolute; right: 12px; top: 12px; z-index: 2; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--ink); background: var(--doc-card-solid);
  box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(0, 0, 0, 0.12); cursor: pointer; opacity: 0; transition: opacity 0.2s; }
.gfig:hover .gfig-zoom, .gfig-zoom:focus-visible { opacity: 1; }
@media (hover: none) { .gfig-zoom { opacity: 1; } }
.gfig-zoom svg, .gzoom-close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gzoom { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: transparent;
  display: none; align-items: center; justify-content: center; }
.gzoom[open] { display: flex; }
.gzoom::backdrop { background: rgba(10, 8, 24, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.gzoom-frame { position: relative; overflow: hidden; border-radius: 16px; background: var(--doc-note); }
.doc-page .gzoom-frame.aw-shot { background: var(--bg); }
.gzoom-inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; user-select: none; }
.gzoom-close { position: fixed; right: 18px; top: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #FFFFFF; background: rgba(255, 255, 255, 0.14); cursor: pointer; }
.gzoom-close:hover { background: rgba(255, 255, 255, 0.24); }

/* The window (window.html): Documents, a file or a folder picked, icons or list. */
.gd-win .aw-win { height: 760px; }
.gd-win .dl-body { padding: 14px 22px 0; }
.gd-win .dl-grid { grid-template-columns: repeat(auto-fill, 100px); gap: 6px 10px; }
.gd-win .dl-icon { width: 98px; height: 86px; }
.gd-win .dl-label { font-size: 12px; text-align: center; padding: 1px 6px; border-radius: 5px; }
.gd-win .gd-sec { margin-top: 16px !important; }
.gd-win .gd-files { grid-template-columns: repeat(auto-fill, 150px); gap: 12px; }
.gd-win .dl-file { width: 150px; }
.gd-win .dl-prev { height: 84px; }
.gd-win .aw-search { width: 190px; }
.gd .aw-cap .gd-on { background: var(--aw-brand); color: #FFFFFF; }
.gd-win .gd-view-icons, .gd-win[data-scene="three"] .gd-view-list { background: var(--aw-sel); }
.gd-win[data-scene="three"] .gd-view-icons { background: none; }
.gd-picked .dl-icon { border-radius: 10px; background: rgba(var(--aw-p), 0.07); }
.gd-picked .dl-label { color: #FFFFFF; background: var(--aw-brand); }
.gd-picked.dl-file { box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.09); background: color-mix(in srgb, var(--aw-brand) 9%, var(--aw-docs)); }
.gd-picked.dl-file .dl-meta b { align-self: flex-start; max-width: 100%; padding: 0 5px; margin-left: -5px; border-radius: 4px; color: #FFFFFF; background: var(--aw-brand); }
.gd .aw-dots i { background: var(--aw-dim); }

.gd-list { padding: 6px 12px 0 !important; font-size: 12.5px; }
.gd-list-head, .gd-list-row { display: grid; grid-template-columns: minmax(0, 1.6fr) 130px 70px minmax(0, 1fr); gap: 12px; align-items: center; padding: 0 10px; }
.gd-list-head { height: 28px; font-size: 11.5px; font-weight: 600; color: var(--aw-dim); border-bottom: 1px solid rgba(var(--aw-p), 0.07); }
.gd-list-row { height: 30px; border-radius: 6px; color: var(--aw-ink); white-space: nowrap; }
.gd-list-row:nth-child(odd) { background: rgba(var(--aw-p), 0.025); }
.gd-list-row > span { overflow: hidden; text-overflow: ellipsis; color: var(--aw-dim-2); }
.gd-list-row > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--aw-ink); }
.gd-list-row svg { width: 19px; height: 16.7px; flex: none; }
.gd-list-row .aw-kind { width: 15px; height: 19px; padding-bottom: 2px; flex: none; }
.gd-list-row .aw-kind i { font-size: 4px; padding: 1px 1.5px; }
.gd-list .r { text-align: right; }
.gd-list-row.gd-picked { background: var(--aw-brand); }
.gd-list-row.gd-picked > span { color: #FFFFFF; }

/* The preview pane (PreviewPane.swift) and a folder's tree (FolderPreview.swift). */
.gd-pane { flex: none; width: 280px; padding: 16px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid rgba(var(--aw-p), 0.07); }
.gd-thumb { height: 190px; border-radius: 10px; background: rgba(var(--aw-p), 0.05); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gd-thumb .dl-prev { width: 150px; height: 170px; border-radius: 4px; }
.gd-pane-name { font-size: 14px; font-weight: 600; }
.gd-pane-kind { margin-top: -10px !important; color: var(--aw-dim); }
.gd-pane-rows { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; font-size: 12px; }
.gd-pane-rows dt { color: var(--aw-dim); text-align: right; }
.gd-pane-rows dd { margin: 0; color: var(--aw-ink-2); }
.gd-pane-buttons { display: flex; gap: 8px; }
.gd-pane-hint { font-size: 11px; color: var(--aw-dim); }
.gd-pane-folder { display: flex; align-items: center; gap: 12px; }
.gd .gd-pane-folder > svg { width: 52px; height: 46px; }
.gd-pane-folder span { display: flex; flex-direction: column; gap: 2px; }
.gd-pane-folder b { font-size: 14px; font-weight: 600; }
.gd-pane-folder small { font-size: 12px; color: var(--aw-dim); }
.gd .gd-mark { fill: none; stroke: #FFFFFF; stroke-width: 1.7; opacity: 0.8; }
.gd-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 11.5px; color: var(--aw-dim); }
.gd-trail i { font-style: normal; color: var(--aw-off); }
.gd-trail b { color: var(--aw-ink); font-weight: 600; }
.gd-tree { padding: 6px 8px; border-radius: 10px; background: rgba(var(--aw-p), 0.035); font-size: 12px; }
.gd-tree li { display: flex; align-items: center; gap: 7px; height: 25px; color: var(--aw-ink); }
.gd .gd-tree svg { width: 17px; height: 15px; }
.gd-tree li.in { padding-left: 20px; }
.gd-tree li small { margin-left: auto; font-size: 11px; color: var(--aw-dim); font-variant-numeric: tabular-nums; }
.gd-tree li.files { color: var(--aw-dim); padding-left: 24px; }

/* Numbered labels on a drawing ("The FileOS window"): shown when the frame's inner has gd-labelled. */
.gd-labels { display: none; }
.gd-labelled .gd-labels { display: block; }
.gd-label { position: absolute; z-index: 8; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 700 15px/1 -apple-system, BlinkMacSystemFont, sans-serif; color: #FFFFFF; background: #6B56DC;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 6px 16px rgba(60, 40, 160, 0.35); }

/* The welcome card (welcome.html, fda.html): its own window, centred text, FileOS's purple buttons. */
.gd-welcome, .gd-fda { display: flex; align-items: center; justify-content: center; }
.gd-welcome { width: 760px; height: 680px; }
.gd-wc { width: 680px; height: 600px; border-radius: 14px; overflow: hidden; background: var(--aw-win);
  box-shadow: 0 0 0 1px var(--aw-frame), 0 22px 54px rgba(20, 12, 70, 0.18); display: flex; flex-direction: column; }
.gd-wc-bar { height: 34px; padding: 0 14px; display: flex; align-items: center; }
.gd-wc-body { flex: 1; padding: 6px 56px 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.gd .gd-wc-folder { width: 150px; height: 132px; }
.gd .gd-wc-folder.big { width: 190px; height: 167px; }
.gd-wc-title { font-size: 24px; font-weight: 700; line-height: 1.2; }
.gd-wc-sub { margin-top: -8px !important; font-size: 17px; color: var(--aw-dim-2); }
.gd-wc-text { max-width: 520px; font-size: 14px; line-height: 1.45; color: var(--aw-dim-2); }
.gd-wc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gd-wc-chips span { display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; background: rgba(var(--aw-p), 0.05); }
.gd-wc-chips i { font-style: normal; color: var(--aw-dim); }
.gd-wc-primary { display: inline-flex; align-items: center; height: 34px; padding: 0 22px; border-radius: 9px; font-size: 14px; font-weight: 500; color: #FFFFFF; background: #5B45C9; }
.gd-wc-link { font-size: 13.5px; color: #5B45C9; }
[data-theme="dark"] .gd-wc-link, :root:not([data-theme="light"]) .gd-wc-link { color: #A897F3; }
.gd-wc-links { display: flex; gap: 16px; }
.gd-wc-small { max-width: 540px; font-size: 12.5px; color: var(--aw-dim); }
.gd-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 30px; border-radius: 14px; background: rgba(var(--aw-p), 0.04);
  box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.12); }
.gd-tile img { display: block; }
.gd-tile b { font-size: 14px; font-weight: 600; }
.gd-tile small { font-size: 12.5px; color: var(--aw-dim); }
.gd-tile.is-dragged { box-shadow: inset 0 0 0 2px #6B56DC; }

/* System Settings › Full Disk Access, drawn plainly (fda.html). */
.gd-fda { position: relative; width: 1240px; height: 640px; gap: 64px; }
.gd-fda .gd-wc { width: 470px; height: 520px; }
.gd-fda .gd-wc-body { padding: 6px 36px 30px; }
.gd-sys { width: 600px; height: 470px; border-radius: 14px; overflow: hidden; display: flex; background: var(--aw-win);
  box-shadow: 0 0 0 1px var(--aw-frame), 0 22px 54px rgba(20, 12, 70, 0.18); }
.gd-sys-side { width: 190px; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; background: rgba(var(--aw-p), 0.04); border-right: 1px solid rgba(var(--aw-p), 0.07); }
.gd-sys-side .aw-lights { margin: 0 0 12px 4px; }
.gd-sys-search { height: 26px; margin-bottom: 8px; padding: 0 10px; border-radius: 7px; display: flex; align-items: center; font-size: 12px; color: var(--aw-dim); background: rgba(var(--aw-p), 0.06); }
.gd-sys-row { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 7px; font-size: 12.5px; }
.gd-sys-row i { width: 18px; height: 18px; border-radius: 5px; }
.gd-sys-row.on { background: rgba(var(--aw-p), 0.1); font-weight: 600; }
.gd-sys-main { flex: 1; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.gd-sys-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.gd-sys-title span { color: var(--aw-dim); font-weight: 400; font-size: 20px; line-height: 1; }
.gd-sys-text { font-size: 12.5px; color: var(--aw-dim-2); }
.gd-sys-list { border-radius: 10px; overflow: hidden; background: rgba(var(--aw-p), 0.035); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.08); }
.gd-sys-app { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; font-size: 13px; border-bottom: 1px solid rgba(var(--aw-p), 0.07); }
.gd-sys-app i.term { width: 22px; height: 22px; border-radius: 5px; background: #1F1F22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.gd-sys-app img { display: block; }
.gd-sys-app.is-new { background: rgba(107, 86, 220, 0.12); }
.gd-switch { margin-left: auto; width: 32px; height: 19px; border-radius: 10px; background: rgba(var(--aw-p), 0.18); position: relative; }
.gd-switch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.gd-switch.on { background: #34C759; }
.gd-switch.on::after { left: 15px; }
.gd-sys-tools { display: flex; gap: 2px; padding: 6px 10px; }
.gd-sys-tools b { width: 22px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 400; color: var(--aw-dim-2); }
.gd .gd-fda-arrow { position: absolute; left: 340px; top: 150px; width: 520px; height: 120px; fill: none; stroke: #6B56DC; stroke-width: 3; stroke-linecap: round;
  stroke-linejoin: round; stroke-dasharray: 2 9; }
.gd .gd-fda-arrow path + path { stroke-dasharray: none; }

/* Drawings laid over the window drawing (peek.html, clash.html, rename.html): .gd-stack holds the window and a layer
   (.gd-over, itself a .gd for the parts' styles); the layer's parts say their steps with data-for, so the window's
   own steps (data-in) aren't touched. */
.gd-stack { position: relative; }
.gd-over, .gd-peek-layer { position: absolute; left: 220px; top: 20px; right: 20px; bottom: 20px; border-radius: 0 16px 16px 0; overflow: hidden; }
.gd-over .gd-dim { border-radius: inherit; }
.gd-stack[data-scene="one"] [data-for]:not([data-for~="one"]), .gd-stack[data-scene="two"] [data-for]:not([data-for~="two"]),
.gd-stack[data-scene="three"] [data-for]:not([data-for~="three"]), .gd-stack[data-scene="four"] [data-for]:not([data-for~="four"]) { display: none !important; }

/* Peek (peek.html, PeekView.swift): a big panel over the window, the Info drawer on its right. */
.gd-peek-layer { left: 20px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(var(--aw-p), 0.1); }
[data-theme="light"] .gd-peek-layer { background: rgba(20, 16, 40, 0.22); }
.gd-peek { width: 1040px; height: 680px; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: var(--aw-win);
  box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.12), 0 30px 80px rgba(0, 0, 0, 0.4); }
.gd-peek-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(var(--aw-p), 0.07); }
.gd .gd-peek-icon { width: 26px; height: 32px; }
.gd-peek-name { display: flex; flex-direction: column; gap: 2px; margin-left: 4px; }
.gd-peek-name b { font-size: 14px; font-weight: 600; }
.gd-peek-name small { font-size: 11px; color: var(--aw-dim); }
.gd .gd-btn svg { width: 11px; height: 11px; stroke-width: 1.8; }
.gd-btn.is-on { background: rgba(var(--aw-p), 0.12); box-shadow: none; }
.gd-x { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(var(--aw-p), 0.08); }
.gd .gd-x svg { width: 11px; height: 11px; stroke-width: 2.2; }
.gd-peek-body { flex: 1; min-height: 0; display: flex; }
.gd-peek-page { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(var(--aw-p), 0.04); }
.gd-pdf { width: 330px; height: 430px; padding: 36px 34px; display: flex; flex-direction: column; gap: 12px; background: #FFFFFF; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18); color: #16132A; }
.gd-pdf b { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.gd-pdf > i { height: 7px; border-radius: 4px; background: #E3E1EC; }
.gd-pdf .w60 { width: 60%; } .gd-pdf .w70 { width: 70%; } .gd-pdf .w80 { width: 80%; } .gd-pdf .w85 { width: 85%; } .gd-pdf .w90 { width: 90%; }
.gd-swatches { display: flex; gap: 8px; margin: 8px 0; }
.gd-swatches i { width: 52px; height: 52px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.gd-peek-pages { font-size: 12px; color: var(--aw-dim); }
.gd-info { width: 270px; margin: 0; padding: 16px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 8px 12px;
  font-size: 12px; border-left: 1px solid rgba(var(--aw-p), 0.07); }
.gd-info dt { color: var(--aw-dim); }
.gd-info dd { margin: 0; color: var(--aw-ink); }
.gd-info .gd-info-h { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--aw-ink); }
.gd-info .gd-info-h + dd { display: none; }
.gd-peek-foot { display: flex; align-items: center; gap: 12px; padding: 10px 16px; font-size: 12px; color: var(--aw-dim); border-top: 1px solid rgba(var(--aw-p), 0.07); }
.gd-peek-foot small { font-size: 11px; color: var(--aw-off); }
.gd-round { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(var(--aw-p), 0.07); color: var(--aw-ink); }
.gd .gd-round svg { width: 11px; height: 11px; stroke-width: 2; }

/* A name clash, the progress, the extension question, New Folder (clash.html, rename.html). */
.gd-clash { width: 520px; }
.gd-clash-top { display: flex; gap: 14px; align-items: flex-start; }
.gd .gd-clash-icon { width: 36px; height: 44px; }
.gd-clash-top > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.gd-clash-top b { font-size: 14px; font-weight: 600; }
.gd-clash-top small { font-size: 12px; color: var(--aw-dim-2); }
.gd-clash-rows { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; font-size: 12.5px; }
.gd-clash-rows dt { color: var(--aw-dim); }
.gd-clash-rows dd { margin: 0; }
.gd-clash-all { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.gd-clash-note { font-size: 11.5px; color: var(--aw-dim); }
.gd-transfer { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; padding: 0 14px; display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; color: var(--aw-dim-2); background: var(--aw-win); border-top: 1px solid rgba(var(--aw-p), 0.07); }
.gd-transfer .gd-btn { height: 20px; font-size: 11px; padding: 0 9px; }
.gd-progress { width: 220px; height: 5px; border-radius: 3px; background: rgba(var(--aw-p), 0.1); overflow: hidden; display: flex; }
.gd-progress i { border-radius: 3px; background: var(--aw-brand); }
.gd-renaming { position: absolute; left: 22px; top: 371px; width: 150px; padding: 0 6px; }
.gd-field { display: flex; align-items: center; height: 22px; padding: 0 5px; border-radius: 5px; font-size: 12.5px; background: var(--aw-win);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--aw-brand) 45%, transparent), 0 0 0 1px var(--aw-brand); white-space: nowrap; }
.gd-sel { background: color-mix(in srgb, var(--aw-brand) 30%, transparent); border-radius: 2px; }
.gd-caret { display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; background: var(--aw-ink); }
.gd-alert { margin-top: 90px; width: 270px; padding: 20px 16px 16px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  background: var(--aw-win); box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.12), 0 26px 70px rgba(0, 0, 0, 0.32); }
.gd-alert img { display: block; margin-bottom: 4px; }
.gd-alert b { font-size: 13px; font-weight: 700; line-height: 1.35; }
.gd-alert > span:not(.gd-btn) { font-size: 11.5px; color: var(--aw-dim-2); margin-bottom: 6px; }
.gd-alert .gd-btn { width: 100%; }
.gd-newfolder { width: 420px; margin-top: 70px; }
.gd-newfolder-top { display: flex; align-items: center; gap: 10px; }
.gd .gd-newfolder-top svg { width: 36px; height: 32px; }
.gd-newfolder-top b { font-size: 14px; font-weight: 600; }
.gd-input { display: flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 6px; font-size: 13px; background: var(--aw-win);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--aw-brand) 40%, transparent), 0 0 0 1px var(--aw-brand); }

/* The path bar, typed in (pathbar.html, PathBar.swift). */
.gd-pb .aw-win { height: 300px; }
.gd-pb .aw-main { background: var(--aw-win); }
.gd-pb-lights { margin-right: 10px; }
.gd-pb-edit { padding: 6px 16px 0; }
.gd-pb-field { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 8px; font-size: 14px; background: var(--aw-win);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--aw-brand) 40%, transparent), 0 0 0 1px var(--aw-brand); }
.gd .gd-pb-glyph { width: 16px; height: 16px; stroke: var(--aw-icon); stroke-width: 1.4; }
.gd .gd-pb-glyph.warn { fill: #F5A524; stroke: none; }
.gd .gd-pb-glyph.warn path + path { fill: none; stroke-width: 1.8; }
.gd-pb-text { flex: 1; display: flex; align-items: center; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.gd-pb-field small { font-size: 11.5px; color: var(--aw-dim); }
.gd-pb-drop { margin-top: 6px; padding: 6px; border-radius: 10px; background: var(--aw-win); box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.1), 0 16px 40px rgba(0, 0, 0, 0.16);
  display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.gd-pb-row { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 7px; }
.gd-pb-row.on { background: color-mix(in srgb, var(--aw-brand) 14%, transparent); }
.gd .gd-pb-row svg { width: 20px; height: 17.6px; }
.gd-pb-row .aw-kind { width: 16px; height: 20px; padding-bottom: 2px; }
.gd-pb-row .aw-kind i { font-size: 4px; padding: 1px 1.5px; }
.gd-pb-row small { font-size: 11.5px; color: var(--aw-dim); }
.gd-pb-row i { font-style: normal; font-size: 12px; color: var(--aw-dim); }
.gd-pb-row code { font: 12px ui-monospace, 'SF Mono', Menlo, monospace; color: var(--aw-dim-2); }
.gd-app { width: 20px; height: 20px; border-radius: 5px; }
.gd-app.vs { background: linear-gradient(160deg, #3AA0F0, #1468C4); }
.gd-pb-fail { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.gd-pb-fail b { font-weight: 600; }
.gd-pb-fail span { color: var(--aw-dim-2); }
.gd-pb-fail p { display: flex; gap: 8px; margin-top: 4px; }
.gd-pb-keys { display: flex; gap: 14px; margin-top: 4px; padding: 8px 10px 4px; border-top: 1px solid rgba(var(--aw-p), 0.07); font-size: 11px; color: var(--aw-dim); }
.gd-pb-hint { padding: 0 10px 6px; font-size: 11px; color: var(--aw-dim); }

/* Folder symbols (symbols.html): the folders, and Choose Symbol… (SymbolPickerSheet.swift). */
.gd-sym .aw-win { height: 760px; }
.gd-sym .dl-body { padding: 14px 22px 0; }
.gd-sym .dl-grid { grid-template-columns: repeat(auto-fill, 112px); gap: 8px 14px; }
.gd-sym .dl-icon { width: 104px; height: 92px; }
.gd-sym .dl-label { font-size: 12px; text-align: center; padding: 1px 6px; border-radius: 5px; }
.gd-sym .dl-sym { opacity: 0.75; }
.gd-picker { width: 504px; margin-top: 10px; }
.gd-picker-top { display: flex; align-items: center; gap: 14px; }
.gd .gd-picker-folder svg { width: 64px; height: 56px; display: block; }
.gd-picker-top > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.gd-picker-top b { font-size: 14px; font-weight: 600; }
.gd-picker-top small { font-size: 12px; color: var(--aw-dim-2); }
.gd-sym-grid { display: grid; grid-template-columns: repeat(9, 40px); gap: 8px; }
.gd-sym-cell { width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(var(--aw-p), 0.05); }
.gd-sym-cell.is-hover { background: rgba(var(--aw-p), 0.1); }
.gd .gd-sym-cell svg { width: 17px; height: 17px; stroke: var(--aw-ink); stroke-width: 1.3; }
.gd-dimtext { color: var(--aw-dim); }

/* Menus, the pointer, a folder being dragged (sidebar-fig.html and others). */
.gd-menu { position: absolute; z-index: 9; min-width: 190px; padding: 5px; border-radius: 10px; display: flex; flex-direction: column; font-size: 13px;
  background: var(--aw-win); box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.14), 0 14px 36px rgba(0, 0, 0, 0.24); }
.gd-menu > span { height: 24px; padding: 0 10px; border-radius: 5px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.gd-menu > span.on { color: #FFFFFF; background: var(--aw-brand); }
.gd-menu > span small { margin-left: auto; padding-left: 18px; color: var(--aw-dim); font-size: 12px; }
.gd-menu > span.on small { color: rgba(255, 255, 255, 0.8); }
.gd-menu > i { height: 1px; margin: 4px 8px; background: rgba(var(--aw-p), 0.1); }
.gd .gd-pointer { position: absolute; z-index: 10; width: 22px; height: 22px; fill: #FFFFFF; stroke: #16132A; stroke-width: 1.4; stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); }
.gd-sbf .aw-win { height: 780px; }
.gd-sbf .dl-body { padding: 18px 22px 0; }
.gd-sbf .dl-grid { grid-template-columns: repeat(auto-fill, 112px); gap: 10px 14px; }
.gd-sbf .dl-icon { width: 104px; height: 92px; }
.gd-sbf .dl-label { font-size: 12px; }
.gd-sbf-menu { left: 138px; top: 262px; }
.gd-ghosted { opacity: 0.35; }
.gd-sbf-drop { position: absolute; left: 36px; top: 272px; width: 180px; height: 4px; }
.gd-sbf-drop i { position: absolute; left: 6px; right: 0; top: 1px; height: 2px; border-radius: 1px; background: var(--aw-brand); }
.gd-sbf-drop::before { content: ''; position: absolute; left: 0; top: -2px; width: 6px; height: 6px; border-radius: 50%; border: 2px solid var(--aw-brand); background: var(--aw-win); }
.gd-sbf-drag { position: absolute; left: 120px; top: 250px; z-index: 9; display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: 0.9; }
.gd .gd-sbf-drag svg { width: 72px; height: 63px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.25)); }
.gd-sbf-drag span { font-size: 12px; padding: 1px 6px; border-radius: 5px; color: #FFFFFF; background: var(--aw-brand); }
.gd-sbf-drag b { position: absolute; right: -4px; top: 34px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #FFFFFF; background: #34C759; box-shadow: 0 0 0 2px var(--aw-win); }

/* Smart Clean (clean.html, BrushUpView.swift since board 97). */
.gd-clean { --c-yours: #7A63E6; --c-apps: #2F7BEA; --c-os: #14A08A; --c-snap: #E08A00; --c-trash: #E0457B; }
:root:not([data-theme="light"]) .gd-clean { --c-yours: #9B87F5; --c-apps: #4F9BFF; --c-os: #2CC7AE; --c-snap: #F5A524; --c-trash: #F06A98; }
.gd-clean .aw-win { height: 820px; }
.gd-clean .aw-main { background: var(--aw-win); }
.gd-clean-page { flex: 1; min-height: 0; overflow: hidden; padding: 6px 28px 0; display: flex; flex-direction: column; gap: 16px; }
.gd-clean-head { display: flex; align-items: flex-start; gap: 16px; }
.gd-clean-head > span:first-child { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.gd-clean-head b { font-size: 22px; font-weight: 700; }
.gd-clean-head small { font-size: 12.5px; color: var(--aw-dim-2); }
.gd-disk-card { padding: 16px 18px; border-radius: 16px; display: flex; flex-direction: column; gap: 10px; background: rgba(var(--aw-p), 0.035);
  box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.08); }
.gd-free { display: flex; align-items: baseline; gap: 12px; }
.gd-free strong { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }
.gd-free span { font-size: 12.5px; color: var(--aw-dim-2); }
.gd-bar { position: relative; height: 26px; border-radius: 9px; overflow: hidden; display: flex; gap: 2px; background: rgba(var(--aw-p), 0.09); }
.gd-bar i { display: block; height: 100%; min-width: 4px; }
.gd-stripes { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(52, 199, 89, 0.85) 0 4px, rgba(52, 199, 89, 0.35) 4px 8px); }
.gd-could-go { margin-top: -4px !important; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #157A3A; }
:root:not([data-theme="light"]) .gd-could-go { color: #8CE8A8; }
.gd-could-go i { width: 1px; height: 10px; background: currentColor; margin-left: 14px; }
.gd-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 11.5px; }
.gd-legend span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.gd-legend i { width: 10px; height: 10px; border-radius: 3px; }
.gd-legend i.free { background: rgba(var(--aw-p), 0.09); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.14); }
.gd-legend small { color: var(--aw-dim); font-size: 11.5px; }
.gd-disk-foot { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(var(--aw-p), 0.07); font-size: 12.5px; }
.gd-sparkle { font-weight: 600; }
.gd-pill { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.gd .gd-pill svg { width: 10px; height: 10px; stroke-width: 1.8; }
.gd-pill.safe { color: #157A3A; background: rgba(52, 199, 89, 0.14); box-shadow: inset 0 0 0 1px rgba(52, 199, 89, 0.4); }
.gd-pill.call { color: #9A5B00; background: rgba(255, 149, 0, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 149, 0, 0.4); }
:root:not([data-theme="light"]) .gd-pill.safe { color: #8CE8A8; }
:root:not([data-theme="light"]) .gd-pill.call { color: #F8CB7A; }
.gd-group-h { display: flex; align-items: center; gap: 10px; margin-top: 2px !important; }
.gd-group-h b { font-size: 13px; font-weight: 600; color: var(--aw-dim-2); }
.gd-group-h i { flex: 1; height: 1px; background: rgba(var(--aw-p), 0.08); }
.gd-cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gd-cc { position: relative; height: 150px; padding: 12px 12px 0; border-radius: 16px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: linear-gradient(180deg, rgba(var(--aw-p), 0.065), rgba(var(--aw-p), 0.02)); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.09), 0 5px 12px rgba(0, 0, 0, 0.1); }
.gd-cc-glow { position: absolute; left: 50%; top: 10px; width: 100px; height: 54px; margin-left: -50px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--g) 30%, transparent), transparent); }
.gd .gd-cc-folder { position: relative; width: 46px; height: 40.5px; }
.gd-cc b { margin-top: 8px; font-size: 13px; font-weight: 600; }
.gd-cc small { margin-top: 2px; font-size: 11px; color: var(--aw-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.gd-cc-foot { margin-top: auto; align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 2px 10px; border-top: 1px solid rgba(var(--aw-p), 0.06); }
.gd-cc-foot strong { font-size: 14px; font-weight: 700; }
.gd-back { align-self: flex-start; font-size: 12.5px; color: var(--aw-brand); }
.gd-rv-title { display: flex; align-items: center; gap: 10px; }
.gd-rv-title b { font-size: 16px; font-weight: 600; }
.gd-rv-text { margin-top: -8px !important; font-size: 12.5px; color: var(--aw-dim-2); }
.gd-rv { border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.09); }
.gd-rv-row { display: grid; grid-template-columns: 14px minmax(0, 1fr) 280px 70px; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid rgba(var(--aw-p), 0.06); font-size: 12.5px; }
.gd-rv-name { display: flex; flex-direction: column; gap: 1px; }
.gd-rv-name b { font-weight: 500; }
.gd-rv-name small, .gd-rv-why { font-size: 11px; color: var(--aw-dim); }
.gd-rv-why { text-align: right; }
.gd-rv-size { text-align: right; font-variant-numeric: tabular-nums; }
.gd-rv-foot { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--aw-dim-2); }
.gd-btn.danger { color: #FFFFFF; background: #E5484D; box-shadow: none; font-weight: 500; }
.gd .gd-btn svg { stroke: currentColor; }

/* A workspace (workspace.html, WorkspaceView.swift): the landing page's page drawing with Changed lately beside it. */
.gd-ws .aw-win { height: 820px; }
.gd-ws .aw-main { background: var(--aw-win); }
.gd-ws .gd-ws-search { width: 250px; justify-content: flex-start; gap: 8px; padding: 0 12px; color: var(--aw-dim); }
.gd-ws-body { flex: 1; min-height: 0; display: flex; }
.gd-ws .aw-page { flex: 1; min-width: 0; padding: 18px 24px; gap: 20px; }
.gd-ws .aw-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gd-ws .aw-card { height: 176px; }
.gd-ws .aw-tile, .gd-ws .gd-tile-h { height: 140px; }
.gd-ws .aw-tile-icon img { width: 104px; height: 104px; }
.gd-recent { flex: none; width: 250px; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid rgba(var(--aw-p), 0.07); }
.gd-recent-h { display: flex; flex-direction: column; gap: 2px; }
.gd-recent-h b { font-size: 14px; font-weight: 600; }
.gd-recent-h small { font-size: 11px; color: var(--aw-dim); }
.gd-recent-row { display: flex; gap: 10px; align-items: center; font-size: 12px; }
.gd-recent-row .aw-kind { width: 20px; height: 25px; flex: none; }
.gd-recent-row .aw-kind i { font-size: 5px; }
.gd-recent-row > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gd-recent-row b { font-weight: 500; }
.gd-recent-row small { font-size: 11px; color: var(--aw-dim); }
.gd-wsnew { width: 460px; margin-top: 40px; }
.gd-wsnew .gd-newfolder-top > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.gd-wsnew small { font-size: 11.5px; color: var(--aw-dim-2); }
.gd .gd-wsnew-icon svg { width: 42px; height: 37px; display: block; }
.gd-input-2 { box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.18); color: var(--aw-dim-2); }
.gd-swatches2 { display: flex; gap: 10px; }
.gd-swatches2 i { width: 20px; height: 20px; border-radius: 50%; }
.gd-swatches2 i.on { box-shadow: 0 0 0 2px var(--aw-win), 0 0 0 4px rgba(var(--aw-p), 0.6); }

/* The shelf (shelf.html, ShelfView.swift): another app on the desktop, the menu bar, the notch, and the black tray. */
.gd-shelf { height: 700px; }
.gd-desk { position: relative; height: 660px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 100%, #F2A07B, transparent 55%), radial-gradient(90% 80% at 90% 10%, #8C7BE8, transparent 60%), linear-gradient(160deg, #5A6FD6, #3B2F8F); }
.gd-menubar { height: 28px; padding: 0 16px; display: flex; align-items: center; gap: 18px; font-size: 12.5px; color: #FFFFFF; background: rgba(20, 16, 50, 0.25);
  backdrop-filter: blur(10px); }
.gd-menubar b { font-weight: 700; }
.gd-apple { width: 12px; height: 14px; border-radius: 6px 6px 5px 5px; background: #FFFFFF; }
.gd-notch { position: absolute; left: 50%; top: 0; width: 190px; height: 32px; margin-left: -95px; border-radius: 0 0 14px 14px; background: #000000; z-index: 6; }
.gd-mail { position: absolute; left: 110px; top: 300px; width: 620px; height: 330px; border-radius: 12px; overflow: hidden; background: #FFFFFF; color: #1D1D1F;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 24px 60px rgba(0, 0, 0, 0.35); }
.gd-mail-bar { display: flex; align-items: center; gap: 16px; height: 38px; padding: 0 14px; background: #F2F2F4; border-bottom: 1px solid #E2E2E6; font-size: 13px; }
.gd-mail-row { display: flex; gap: 8px; padding: 9px 16px; font-size: 13px; border-bottom: 1px solid #EEEEF0; }
.gd-mail-row span { color: #8E8E93; }
.gd-mail-body { padding: 16px; font-size: 13.5px; }
.gd-tray { position: absolute; left: 50%; top: 0; z-index: 5; width: 880px; margin-left: -440px; padding: 46px 26px 14px; border-radius: 0 0 30px 30px;
  background: #0B0B0E; color: #FFFFFF; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.gd-tray-row { display: flex; align-items: flex-start; gap: 14px; }
.gd-hold, .gd-pin { position: relative; width: 96px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gd-hold b, .gd-pin b { font-size: 12px; font-weight: 500; }
.gd .gd-hold-icon svg, .gd .gd-pin-icon svg { width: 72px; height: 63px; display: block; }
.gd-hold-icon { position: relative; border-radius: 12px; padding: 4px; background: rgba(168, 151, 243, 0.14); box-shadow: inset 0 0 0 1px rgba(168, 151, 243, 0.35); }
.gd-hold-icon i { position: absolute; right: -6px; top: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 11px; font-weight: 700; background: #6B56DC; }
.gd-tray-split { align-self: stretch; width: 1px; margin: 4px 0 18px; background: rgba(255, 255, 255, 0.14); }
.gd-pin > i { position: absolute; left: 6px; top: -2px; width: 18px; height: 18px; border-radius: 5px; display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 10.5px; font-weight: 700; color: #FFFFFF; background: rgba(255, 255, 255, 0.18); }
.gd-pin.is-bounce .gd-pin-icon { transform: scale(1.14) translateY(-2px); filter: drop-shadow(0 0 14px rgba(168, 151, 243, 0.8)); }
.gd-pin-add { width: 110px; height: 98px; justify-content: center; gap: 3px; border-radius: 14px; border: 1.5px dashed rgba(255, 255, 255, 0.25); }
.gd-pin-plus { font-size: 22px; line-height: 1; color: rgba(255, 255, 255, 0.75); }
.gd-pin-add small { font-size: 10.5px; color: rgba(255, 255, 255, 0.55); }
.gd-held { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.gd-held > p:first-child { display: flex; align-items: center; gap: 8px; }
.gd-held > p:first-child span { color: rgba(255, 255, 255, 0.55); }
.gd-held em { font-style: normal; color: rgba(255, 255, 255, 0.8); }
.gd-chips { display: flex; gap: 8px; }
.gd-chip { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px 0 6px; border-radius: 9px; background: rgba(255, 255, 255, 0.1); font-size: 12px; }
.gd-chip .aw-kind, .gd-dragged .aw-kind { width: 16px; height: 20px; padding-bottom: 2px; }
.gd-chip .aw-kind i, .gd-dragged .aw-kind i { font-size: 4px; padding: 1px 1.5px; }
.gd-chip.is-out { opacity: 0.35; }
.gd-tray-foot { margin-top: 12px; display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: rgba(255, 255, 255, 0.55); }
.gd-tray-foot b { color: #FFFFFF; }
.gd-tray-done { color: #FFFFFF; }
.gd-tray-foot em { font-style: normal; color: #C9BEFF; font-weight: 600; }
.gd-dragged { position: absolute; left: 450px; top: 54px; z-index: 7; transform: rotate(-6deg); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.4)); }
.gd-dragged .aw-kind { width: 34px; height: 42px; }
.gd-dragged .aw-kind i { font-size: 7px; padding: 2px 3px; }
.gd-dragged.chip { left: 320px; top: 470px; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 6px; border-radius: 9px; font-size: 12.5px;
  color: #FFFFFF; background: rgba(30, 30, 36, 0.92); transform: rotate(-3deg); }
.gd-dragged.chip .aw-kind { width: 16px; height: 20px; }
.gd-dragged.chip .aw-kind i { font-size: 4px; padding: 1px 1.5px; }

/* Open In (openin.html, OpenInMenu.swift). */
.gd-oi .aw-win { height: 400px; }
.gd-oi .aw-main { background: var(--aw-win); }
.gd-oi-body { padding: 18px 24px 0; }
.gd-oi .dl-grid { grid-template-columns: repeat(auto-fill, 112px); gap: 8px 14px; }
.gd-oi .dl-icon { width: 104px; height: 92px; }
.gd-oi-menu { left: 660px; top: 66px; min-width: 250px; }
.gd-oi-menu .gd-app { width: 16px; height: 16px; border-radius: 4px; }
.gd-app.term { background: #1F1F22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.gd-app.warp { background: linear-gradient(160deg, #22D3EE, #6366F1); }
.gd-app.zed { background: #2A2A30; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.gd-app.xc { background: linear-gradient(160deg, #5AC8FA, #1E6FD9); }

/* Installed packages (packages.html, PackagesView.swift since board 93). */
.gd-pk .aw-win, .gd-ag .aw-win { height: 780px; }
.gd-pk .aw-main, .gd-ag .aw-main { background: var(--aw-win); }
.gd-pk .gd-pk-search { width: 220px; justify-content: flex-start; gap: 8px; padding: 0 12px; color: var(--aw-dim); }
.gd-pk-body { flex: 1; min-height: 0; display: flex; }
.gd-pk-main { flex: 1; min-width: 0; padding: 10px 22px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.gd-pk-head { display: flex; align-items: baseline; gap: 12px; }
.gd-pk-head b { font-size: 20px; font-weight: 700; }
.gd-pk-head span { font-size: 12.5px; color: var(--aw-dim-2); }
.gd-pk-bar { height: 14px; border-radius: 7px; overflow: hidden; display: flex; gap: 2px; background: rgba(var(--aw-p), 0.08); }
.gd-pk-bar i { display: block; height: 100%; min-width: 4px; }
.gd-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-tool { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px 0 5px; border-radius: 8px; font-size: 12px; background: rgba(var(--aw-p), 0.05);
  box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.08); }
.gd-tool b, .gd-letter { width: 20px; height: 20px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; flex: none;
  font-size: 9.5px; font-weight: 700; color: #FFFFFF; }
.gd-letter.big { width: 40px; height: 40px; border-radius: 10px; font-size: 15px; }
.gd-tool small { font-size: 11px; color: var(--aw-dim); }
.gd-pk-left { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--aw-dim-2); }
.gd-pk-dot { width: 8px; height: 8px; border-radius: 50%; background: #D97706; }
.gd-pk-filters { display: flex; gap: 4px; }
.gd-pk-filters span { height: 26px; padding: 0 11px; border-radius: 13px; display: flex; align-items: center; font-size: 12px; color: var(--aw-dim-2); background: rgba(var(--aw-p), 0.05); }
.gd-pk-filters span.on { color: #FFFFFF; background: var(--aw-brand); }
.gd-pk-table { border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.08); }
.gd-pk-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 90px 70px; gap: 12px; align-items: center; height: 34px; padding: 0 12px; font-size: 12.5px;
  border-top: 1px solid rgba(var(--aw-p), 0.06); color: var(--aw-dim-2); }
.gd-pk-row.head { height: 28px; border-top: 0; font-size: 11px; font-weight: 600; color: var(--aw-dim); background: rgba(var(--aw-p), 0.025); }
.gd-pk-row.on { background: color-mix(in srgb, var(--aw-brand) 14%, transparent); }
.gd-pk-row .r { text-align: right; font-variant-numeric: tabular-nums; }
.gd-pk-name { display: flex; align-items: center; gap: 9px; color: var(--aw-ink); font-weight: 500; }
.gd-pk-why { justify-self: start; height: 20px; padding: 0 8px; border-radius: 10px; display: flex; align-items: center; font-size: 11px; font-weight: 600; color: #FFFFFF; background: var(--w); }
.gd-pk-panel { position: relative; flex: none; width: 280px; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid rgba(var(--aw-p), 0.07); }
.gd-pk-panel .gd-x { position: absolute; right: 12px; top: 12px; }
.gd-pk-title { display: flex; align-items: center; gap: 12px; }
.gd-pk-title > span { display: flex; flex-direction: column; gap: 2px; }
.gd-pk-title b:not(.gd-letter) { font-size: 17px; font-weight: 700; }
.gd-pk-title small { font-size: 11.5px; color: var(--aw-dim); }
.gd-pk-desc { font-size: 12.5px; }
.gd-pk-line { font-size: 12px; color: var(--aw-ink-2); }
.gd-pk-line.dim { color: var(--aw-dim); }
.gd-pk-line.path { font: 11px ui-monospace, 'SF Mono', Menlo, monospace; color: var(--aw-dim-2); word-break: break-all; }
.gd-btn.wide { width: 100%; }
.gd-pk-cmd { font: 11px ui-monospace, 'SF Mono', Menlo, monospace; padding: 6px 8px; border-radius: 6px; color: var(--aw-dim-2); background: rgba(var(--aw-p), 0.05); }

/* AI agents (agents.html, AgentsView.swift since board 87). */
.gd-ag-page { flex: 1; min-height: 0; padding: 10px 22px 0; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.gd-ag-head { display: flex; align-items: center; gap: 10px; }
.gd-ag-name { display: flex; flex-direction: column; gap: 2px; margin-left: 6px; }
.gd-ag-name b { font-size: 18px; font-weight: 700; }
.gd-ag-name small { font-size: 11.5px; color: var(--aw-dim); }
.gd-ag-tabs { display: flex; gap: 6px; border-bottom: 1px solid rgba(var(--aw-p), 0.08); }
.gd-ag-tabs span { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; font-size: 13px; color: var(--aw-dim-2); }
.gd-ag-tabs span.on { color: var(--aw-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--aw-brand); }
.gd-ag-tabs small { font-size: 11px; color: var(--aw-dim); }
.gd-ag-split { flex: 1; min-height: 0; display: flex; gap: 16px; }
.gd-ag-list { width: 220px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; }
.gd-ag-h { padding: 8px 6px 4px; font-size: 11px; font-weight: 600; color: var(--aw-dim); }
.gd-ag-list > span { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 7px; }
.gd-ag-list > span.on { background: var(--aw-row-on); font-weight: 600; }
.gd .gd-ag-list svg { width: 14px; height: 14px; stroke: var(--aw-icon); stroke-width: 1.4; }
.gd-dot { width: 7px; height: 7px; border-radius: 50%; background: #34C759; }
.gd-ag-doc { flex: 1; min-width: 0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.09); }
.gd-ag-docbar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid rgba(var(--aw-p), 0.07); }
.gd-ag-docbar b { font-size: 13px; font-weight: 600; }
.gd-ag-docbar .aw-cap { height: 28px; }
.gd-ag-docbar .aw-cap > span { height: 22px; font-size: 12px; }
.gd-md { padding: 16px 22px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.5; }
.gd-md h4 { margin: 0; font-size: 20px; font-weight: 700; }
.gd-md h5 { margin: 6px 0 0; font-size: 14px; font-weight: 600; }
.gd-md p { color: var(--aw-ink-2); }
.gd-md ul { margin: 0; padding-left: 18px; list-style: disc; display: flex; flex-direction: column; gap: 3px; color: var(--aw-ink-2); }
.gd-md code { font: 12px ui-monospace, 'SF Mono', Menlo, monospace; padding: 1px 5px; border-radius: 4px; background: rgba(var(--aw-p), 0.06); }
.gd-ag-sec { display: flex; align-items: baseline; gap: 10px; }
.gd-ag-sec b { font-size: 15px; font-weight: 700; }
.gd-ag-sec span { font-size: 12px; color: var(--aw-dim); }
.gd-ag-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gd-ag-cards.small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gd-ag-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(var(--aw-p), 0.04); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.08); }
.gd-ag-card > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gd-ag-card b:not(.gd-letter) { font-size: 13.5px; font-weight: 600; }
.gd-ag-card small { font-size: 11.5px; color: var(--aw-dim); }
.gd-ag-card.big { padding: 16px; }
.gd .gd-ag-card.big > svg { width: 64px; height: 56px; flex: none; }
.gd-ag-letters { display: flex; gap: 4px; min-height: 20px; }

/* Settings (settings.html, SettingsView.swift): macOS's settings window with its four tabs. */
.gd-set { display: flex; align-items: flex-start; justify-content: center; height: 760px; }
.gd-set-win { width: 640px; border-radius: 14px; overflow: hidden; background: var(--aw-win); box-shadow: 0 0 0 1px var(--aw-frame), 0 22px 54px rgba(20, 12, 70, 0.18); }
.gd-set-bar { position: relative; padding: 12px 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; background: rgba(var(--aw-p), 0.03);
  border-bottom: 1px solid rgba(var(--aw-p), 0.08); }
.gd-set-bar .aw-lights { position: absolute; left: 14px; top: 13px; }
.gd-set-title { font-size: 13px; font-weight: 600; }
.gd-set-tabs { display: flex; gap: 4px; }
.gd-set-tab { width: 92px; height: 50px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--aw-dim-2); }
.gd .gd-set-tab svg { width: 20px; height: 20px; stroke-width: 1.4; }
.gd-set[data-scene="one"] .t1, .gd-set[data-scene="two"] .t2, .gd-set[data-scene="three"] .t3, .gd-set[data-scene="four"] .t4 { color: var(--aw-brand); background: rgba(var(--aw-p), 0.07); }
.gd-set-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.gd-set-h { font-size: 13.5px; font-weight: 700; }
.gd-set-text { color: var(--aw-dim-2); font-size: 12.5px; line-height: 1.45; }
.gd-set-small { font-size: 11.5px; color: var(--aw-dim); }
.gd-set-rule { height: 1px; margin: 4px 0; background: rgba(var(--aw-p), 0.08); }
.gd-set-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.gd-set-row em { font-style: normal; color: #28A745; }
.gd-set-row.pin span:first-child { display: flex; align-items: center; gap: 8px; }
.gd .gd-set-row.pin svg { width: 20px; height: 17.6px; }
.gd-btn.small { height: 22px; font-size: 11.5px; padding: 0 9px; }
.gd-set-pick { display: flex; align-items: center; gap: 12px; }
.gd-set-pick > span:first-child:not(.gd-btn) { min-width: 120px; text-align: right; color: var(--aw-ink-2); }
.gd-popup { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px; border-radius: 6px; font-size: 12.5px; background: var(--aw-control); box-shadow: var(--aw-control-shadow); }
.gd .gd-popup svg { width: 11px; height: 11px; stroke-width: 1.6; }
.gd-popup .gd-app { width: 16px; height: 16px; border-radius: 4px; }
.gd-key { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 6px; font-size: 12.5px; font-weight: 600; background: rgba(var(--aw-p), 0.06); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.14); }
.gd-set-check { display: flex; align-items: center; gap: 8px; }
.gd-themes { display: flex; gap: 16px; margin-top: 6px; }
.gd-theme { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gd-theme b { font-size: 12.5px; font-weight: 500; }
.gd-mini { width: 170px; height: 110px; border-radius: 10px; overflow: hidden; display: flex; box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.14); }
.gd-theme.on .gd-mini { box-shadow: 0 0 0 3px var(--aw-brand); }
.gd-mini .side { width: 46px; }
.gd-mini .main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.gd .gd-mini svg { width: 52px; height: 46px; }
.gd-mini em { font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 4px; color: #FFFFFF; }
.gd-mini.modern .side { background: #ECEEF1; } .gd-mini.modern .main { background: #FFFFFF; } .gd-mini.modern em { background: #6B56DC; }
.gd-mini.gruv .side { background: #1D2021; } .gd-mini.gruv .main { background: #282828; } .gd-mini.gruv em { background: #FABD2F; color: #282828; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.gd-mini.retro .side { background: linear-gradient(180deg, #7BA2E7, #6375D6); } .gd-mini.retro .main { background: #FFFFFF; } .gd-mini.retro em { background: #316AC5; font-family: Tahoma, Verdana, sans-serif; }

/* The three themes, small (themes.html). Each window carries its theme's own colours, whatever the page's. */
.gd-th { height: 560px; display: flex; align-items: center; }
.gd-th-row { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gd-tw { height: 470px; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16), 0 18px 44px rgba(20, 12, 70, 0.18); font-size: 12px; }
.gd-tw-top { height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 12px; }
.gd-tw-top b { font-weight: 600; }
.gd-tw-body { flex: 1; min-height: 0; display: flex; }
.gd-tw-side { width: 108px; padding: 8px 6px; display: flex; flex-direction: column; gap: 2px; }
.gd-tw-side small { padding: 8px 6px 2px; font-size: 10px; font-weight: 600; opacity: 0.6; }
.gd-tw-side > span { padding: 4px 6px; border-radius: 6px; }
.gd-tw-main { flex: 1; min-width: 0; padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.gd-tw-path { font-size: 11px; opacity: 0.75; }
.gd-tw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
.gd-tw-grid span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; }
.gd .gd-tw-grid svg { width: 62px; height: 54px; }
.gd-tw-grid em { font-style: normal; padding: 0 5px; border-radius: 4px; }
.gd-tw-status { height: 26px; padding: 0 10px; display: flex; align-items: center; gap: 8px; font-size: 10.5px; }
.gd-tw.modern { background: #FFFFFF; color: #1D1D1F; }
.gd-tw.modern .gd-tw-side { background: #ECEEF1; }
.gd-tw.modern .gd-tw-side span.on { background: #D7DBDF; font-weight: 600; }
.gd-tw.modern .gd-tw-grid em { color: #FFFFFF; background: #6B56DC; }
.gd-tw.modern .gd-tw-status { color: #6E6E73; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.gd-tw.gruv { background: #282828; color: #EBDBB2; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.gd-tw.gruv .gd-tw-top { background: #1D2021; }
.gd-tw.gruv .gd-tw-side { background: #1D2021; }
.gd-tw.gruv .gd-tw-side span.on { background: #3C3836; color: #FABD2F; }
.gd-tw.gruv .gd-tw-grid em { color: #282828; background: #FABD2F; }
.gd-pl { display: flex; font-size: 10.5px; font-weight: 700; }
.gd-pl span { position: relative; height: 20px; padding: 0 10px 0 14px; display: flex; align-items: center; color: #282828; background: var(--c);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%, 7px 50%); margin-right: -5px; }
.gd-pl span:first-child { padding-left: 10px; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%); }
.gd-tw.gruv .gd-tw-status { padding: 0; background: #1D2021; color: #A89984; }
.gd-tw-status .tab { height: 100%; padding: 0 12px; display: flex; align-items: center; font-weight: 700; color: #282828; background: var(--c);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%); }
.gd-tw-status .tab.end { clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%); padding-left: 16px; }
.gd-tw-status .mid { padding: 0 10px; background: #504945; height: 100%; display: flex; align-items: center; color: #EBDBB2; margin-left: -6px; padding-left: 14px; }
.gd-tw.retro { background: #ECE9D8; color: #000000; font-family: Tahoma, Verdana, sans-serif; }
.gd-tw.retro .gd-tw-top { background: #ECE9D8; }
.gd-xp-menu { display: flex; gap: 12px; padding: 3px 10px; font-size: 11px; border-bottom: 1px solid #ACA899; }
.gd-xp-addr { display: flex; align-items: center; gap: 6px; padding: 4px 8px; font-size: 11px; border-bottom: 1px solid #ACA899; }
.gd-xp-field { flex: 1; display: flex; align-items: center; gap: 5px; height: 20px; padding: 0 5px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #7F9DB9; }
.gd .gd-xp-field svg { width: 15px; height: 13px; }
.gd-xp-go { color: #FFFFFF; background: #3C9A2E; padding: 1px 6px; border-radius: 3px; }
.gd-tw.retro .gd-tw-side { width: 118px; padding: 8px; gap: 8px; background: linear-gradient(180deg, #7BA2E7, #6375D6); }
.gd-xp-pane { display: flex; flex-direction: column; border-radius: 4px 4px 0 0; overflow: hidden; background: #D6DFF7; }
.gd-xp-pane b { padding: 4px 6px; font-size: 10.5px; color: #1C4DAF; background: linear-gradient(90deg, #FFFFFF, #C6D3F7); }
.gd-xp-pane i { font-style: normal; padding: 2px 6px; font-size: 10.5px; color: #215DC6; }
.gd-xp-pane i.on { font-weight: 700; }
.gd-tw.retro .gd-tw-main { background: #FFFFFF; }
.gd-xp-tiles { display: flex; flex-direction: column; gap: 10px; }
.gd-xp-tiles span { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; align-items: center; font-size: 11px; }
.gd .gd-xp-tiles svg { grid-row: 1 / 3; width: 46px; height: 40px; }
.gd-xp-tiles b { font-weight: 400; align-self: end; }
.gd-xp-tiles small { color: #5F5F5F; align-self: start; font-size: 10.5px; }
.gd-xp-tiles em { font-style: normal; color: #FFFFFF; background: #316AC5; padding: 0 3px; }
.gd-tw-status.xp { padding: 0; gap: 0; background: #ECE9D8; border-top: 1px solid #ACA899; }
.gd-tw-status.xp span { padding: 0 10px; height: 100%; display: flex; align-items: center; border-right: 1px solid #ACA899; }

/* A locked folder (locked.html, ContentView.swift's no-permission view). */
.gd-locked .aw-win { height: 680px; }
.gd-locked .aw-main { background: var(--aw-win); }
.gd-locked-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 120px; text-align: center; }
.gd .gd-lock { width: 40px; height: 40px; stroke: var(--aw-dim); stroke-width: 1.2; margin-bottom: 4px; }
.gd-locked-body > b { font-size: 18px; font-weight: 700; }
.gd-locked-body > p { max-width: 520px; font-size: 13px; color: var(--aw-dim-2); margin-bottom: 6px; }
.gd-locked-body .gd-btn { min-width: 200px; }
.gd-tile.compact { margin-top: 8px; flex-direction: row; gap: 10px; padding: 10px; text-align: left; border-radius: 10px; }
.gd-tile.compact > span { display: flex; flex-direction: column; gap: 2px; }
.gd-tile.compact b { font-size: 12.5px; font-weight: 500; }
.gd-tile.compact small { font-size: 11px; }

/* ---- Brought to FileOS 1.0 on 2026-11-12: Get started and Everyday pages ---- */
/* The guide's drawings, brought up to FileOS 1.0 (2026-11-12): the window's toolbar (Share, AirDrop, Open In, None/Kind/Date,
   List/Icons/Columns, Preview, Insights, Dual Pane), the list's Date Added column, the column view, a file's right-click
   menu, batch rename, the welcome's license step and its small window beside System Settings. To merge into docs.css.
   Rules that change an older one there are written one step more specific, so they win wherever they're put. */

/* ---- The toolbar's view buttons: List, Icons, Columns (ContentView.swift, MainToolbar) ---- */
.gd-win[data-scene="four"] .gd-view-cols { background: var(--aw-sel); }
.gd-win[data-scene="four"] .gd-view-icons { background: none; }
.gd-pb .gd-view-icons, .gd-sym .gd-view-icons { background: var(--aw-sel); }
.gd-sym .aw-search { width: 190px; }

/* ---- The list: Name, Date Modified, Date Added, Size, Kind (FileListView.swift) ---- */
.gd-list.gd-list5 .gd-list-head, .gd-list.gd-list5 .gd-list-row { grid-template-columns: minmax(0, 1.5fr) 112px 92px 60px minmax(0, 1fr); gap: 10px; }

/* ---- The column view (ColumnsView.swift): 230 pt columns, 22 pt rows; the way down grey, the pick in the accent ---- */
.gd-win .dl-body.gd-cols { padding: 0; display: flex; }
.gd-col { flex: none; width: 230px; padding: 4px; display: flex; flex-direction: column; gap: 1px; border-right: 1px solid rgba(var(--aw-p), 0.09); }
.gd-col-row { display: flex; align-items: center; gap: 7px; height: 22px; padding: 0 7px; border-radius: 5px; font-size: 13px; color: var(--aw-ink); }
.gd-col-row b { flex: 1; min-width: 0; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd .gd-col-row > svg:first-child { width: 18px; height: 16px; }
.gd-col-row .aw-kind { flex: none; width: 14px; height: 18px; margin: 0 2px; padding-bottom: 2px; }
.gd-col-row .aw-kind i { font-size: 4px; padding: 1px 1.5px; }
.gd .gd-col-chev { width: 9px; height: 9px; stroke-width: 2.4; opacity: 0.55; }
.gd-col-row.way { background: rgba(var(--aw-p), 0.12); }
.gd-col-row.picked { color: #FFFFFF; background: var(--aw-brand); }
.gd-pane.gd-col-pane { border-left: 0; border-right: 1px solid rgba(var(--aw-p), 0.09); }

/* ---- A file's right-click menu (clash.html, scene four; FileListView.swift, FileContextMenu) ---- */
.gd-menu.gd-ctx { left: 104px; top: 258px; min-width: 230px; }
.gd-menu > span.off { color: var(--aw-off); }
.gd-ctx .gd-app { width: 16px; height: 16px; border-radius: 4px; }

/* ---- Batch rename (rename.html, scene five; BatchRenameSheet.swift: 640 pt wide) ---- */
.gd-stack[data-scene="five"] [data-for]:not([data-for~="five"]) { display: none !important; }
.gd-sheet.gd-br { width: 640px; margin-top: 40px; }
.gd-br-head { display: flex; flex-direction: column; gap: 3px; }
.gd-br-head b { font-size: 17px; font-weight: 700; }
.gd-br-head small { font-size: 12.5px; color: var(--aw-dim-2); }
.gd-br-modes { display: flex; padding: 2px; border-radius: 7px; background: rgba(var(--aw-p), 0.07); font-size: 12.5px; }
.gd-br-modes span { flex: 1; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 5px; }
.gd-br-modes .sel { background: var(--aw-win); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.gd-br-fields { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.gd-br-input { flex: 1; display: flex; align-items: center; height: 24px; padding: 0 7px; border-radius: 6px; white-space: pre; background: var(--aw-win);
  box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.18); }
.gd-br-input:last-child { box-shadow: 0 0 0 3px color-mix(in srgb, var(--aw-brand) 40%, transparent), 0 0 0 1px var(--aw-brand); }
.gd-br-h { padding-top: 4px; font-size: 11px; font-weight: 700; color: var(--aw-dim); }
.gd-br-list { border-radius: 10px; overflow: hidden; background: rgba(var(--aw-p), 0.03); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.12); }
.gd-br-row { display: flex; align-items: center; gap: 10px; height: 29px; padding: 0 12px; font-size: 12.5px; border-bottom: 1px solid rgba(var(--aw-p), 0.08); }
.gd-br-row:last-child { border-bottom: 0; }
.gd-br-row > span { width: 210px; color: var(--aw-dim-2); }
.gd .gd-br-row svg { width: 10px; height: 10px; stroke: var(--aw-brand); stroke-width: 2.2; }
.gd-br-row b { font-weight: 600; }

/* ---- The welcome (welcome.html, fda.html; WelcomeView.swift): the 880 x 680 window, the small one beside System Settings ---- */
.gd-welcome.gd-wc1 { width: 960px; height: 760px; }
.gd .gd-wc.gd-wc-big { width: 880px; height: 680px; }
.gd .gd-wc.gd-wc-small { width: 400px; height: 430px; }
.gd .gd-wc-big .gd-wc-body { padding: 0 56px 40px; gap: 22px; }
.gd .gd-wc-small .gd-wc-body { padding: 6px 32px 28px; gap: 14px; }
.gd-wc-h { font-size: 34px; font-weight: 700; line-height: 1.15; }
.gd-wc-msg { max-width: 620px; font-size: 19px; line-height: 1.35; color: var(--aw-dim-2); }
.gd-wc-sh { font-size: 22px; font-weight: 700; line-height: 1.2; }
.gd-wc-steps { display: flex; gap: 10px; width: 100%; max-width: 700px; text-align: left; }
.gd-wc-steps span { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 11px; font-size: 14px; font-weight: 500; background: rgba(var(--aw-p), 0.05); }
.gd-wc-steps i { font-style: normal; font-weight: 400; font-size: 13px; color: var(--aw-dim); }
.gd-wc-second { display: inline-flex; align-items: center; height: 34px; padding: 0 18px; border-radius: 9px; font-size: 14px; color: var(--aw-ink); background: var(--aw-control); box-shadow: var(--aw-control-shadow); }
.gd-wc-drag { display: flex; align-items: center; gap: 14px; }
.gd-wc-drag img { display: block; }
.gd-wc-drag img.is-dragged { border-radius: 18px; box-shadow: 0 0 0 2px #6B56DC; }
.gd .gd-wc-arrow { width: 24px; height: 24px; stroke: #5B45C9; stroke-width: 2; }
.gd-wc-done { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #34C759; }
.gd .gd-wc-done svg { width: 26px; height: 26px; stroke: #FFFFFF; stroke-width: 2.4; }
/* The license step's two cards (LicenseViews.swift: 330 x 330, 18 pt corners). */
.gd-lic { display: flex; gap: 18px; }
.gd-lic-card { width: 330px; height: 330px; padding: 24px; border-radius: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left;
  background: rgba(var(--aw-p), 0.04); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.16); }
.gd-lic-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; }
.gd .gd-lic-title svg { width: 18px; height: 18px; stroke: #5B45C9; stroke-width: 1.8; }
.gd .gd-lic-title svg.gd-lic-folder { width: 30px; height: 26px; }
.gd-lic-text, .gd-lic-points { font-size: 14px; line-height: 1.4; color: var(--aw-dim-2); }
.gd-lic-points { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 6px; }
.gd-lic-label { margin-bottom: -8px !important; font-size: 13px; font-weight: 600; color: var(--aw-dim-2); }
.gd-lic-field { display: flex; gap: 8px; width: 100%; }
.gd-lic-field > span:first-child { flex: 1; display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 10px; font: 14px ui-monospace, Menlo, monospace;
  color: var(--aw-dim); background: var(--aw-win); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.16); }
.gd-lic-paste { display: flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px; font-size: 13px; background: rgba(var(--aw-p), 0.06); }
.gd-lic-card .aw-spacer { flex: 1; }
/* fda.html: System Settings on the left, the small window at its right, the drag between them. */
.gd .gd-fda-arrow.gd-fda-back { left: 400px; top: 150px; }

/* ---- The sidebar's drawing (sidebar-fig.html): the menu, drop line and dragged folder at Documents' row, which moved down
   when the sidebar got FileOS's name and Bookmarks (2026-11-12) ---- */
.gd-sbf .gd-sbf-menu { top: 332px; }
.gd-sbf .gd-sbf-drop { top: 342px; }
.gd-sbf .gd-sbf-drag { top: 318px; }

/* ---- Brought to FileOS 1.0 on 2026-11-12: Organise, Power tools, Make it yours and Help pages ---- */
/* ---- Guide drawings matched to FileOS 1.0 on 2026-11-12 (part B): Settings, Smart Clean's review, the workspace page,
   the Drop Shelf and the folder toolbar. To be merged into docs.css. ---- */

/* More steps than docs.css names: Settings' pages, and named steps elsewhere. */
.gd[data-scene="five"] [data-in]:not([data-in~="five"]), .gd[data-scene="six"] [data-in]:not([data-in~="six"]),
.gd[data-scene="general"] [data-in]:not([data-in~="general"]), .gd[data-scene="appearance"] [data-in]:not([data-in~="appearance"]),
.gd[data-scene="shortcuts"] [data-in]:not([data-in~="shortcuts"]), .gd[data-scene="access"] [data-in]:not([data-in~="access"]),
.gd[data-scene="openin"] [data-in]:not([data-in~="openin"]), .gd[data-scene="shelf"] [data-in]:not([data-in~="shelf"]),
.gd[data-scene="menubar"] [data-in]:not([data-in~="menubar"]), .gd[data-scene="spotlight"] [data-in]:not([data-in~="spotlight"]),
.gd[data-scene="license"] [data-in]:not([data-in~="license"]) { display: none !important; }

/* An app page (partials/app/*.html) or a page of steps put straight into a drawing's window, beside the sidebar. */
.gd .aw-win > .gd-pagewrap { flex: 1; min-width: 0; display: flex; position: relative; }
.gd .aw-win > .gd-pagewrap > .aw-main { flex: 1; }

/* ---- Settings (Views/SettingsView.swift, board 145): 960 x 700, a translucent sidebar in named sections ---- */
.gd-st { --st-card: rgba(255, 255, 255, 0.05); --st-line: rgba(255, 255, 255, 0.08); width: 1000px; height: 740px; padding: 20px; }
[data-theme="light"] .gd-st { --st-card: #FFFFFF; --st-line: rgba(0, 0, 0, 0.08); }
.st-win { display: flex; width: 960px; height: 700px; border-radius: 14px; overflow: hidden; background: var(--aw-win); box-shadow: 0 0 0 1px var(--aw-frame), 0 22px 54px rgba(20, 12, 70, 0.18); }
.st-side { flex: none; width: 220px; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; background: var(--aw-side); border-right: 1px solid rgba(var(--aw-p), 0.08); }
.st-side .aw-lights { margin: 0 0 14px 4px; }
.st-sec { margin: 10px 8px 3px; font-size: 11px; font-weight: 600; color: var(--aw-dim); }
.st-sec:first-of-type { margin-top: 0; }
.st-row { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 7px; font-size: 13px; }
.st-row > i { flex: none; width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: var(--c); }
.gd .st-row > i svg { width: 13px; height: 13px; stroke: #FFFFFF; stroke-width: 1.6; fill: none; }
.gd-st[data-scene="general"] [data-p="general"], .gd-st[data-scene="appearance"] [data-p="appearance"], .gd-st[data-scene="shortcuts"] [data-p="shortcuts"],
.gd-st[data-scene="access"] [data-p="access"], .gd-st[data-scene="openin"] [data-p="openin"], .gd-st[data-scene="shelf"] [data-p="shelf"],
.gd-st[data-scene="menubar"] [data-p="menubar"], .gd-st[data-scene="spotlight"] [data-p="spotlight"], .gd-st[data-scene="license"] [data-p="license"] { background: var(--aw-row-on); }
.st-page { flex: 1; min-width: 0; overflow: hidden; padding: 14px 26px 24px; display: flex; flex-direction: column; gap: 20px; }
.st-title { font-size: 20px; font-weight: 700; margin-top: 18px; margin-bottom: -4px; }
.st-g { display: flex; flex-direction: column; gap: 7px; }
.st-g > b { padding: 0 4px; font-size: 13px; font-weight: 700; }
.st-card { border-radius: 10px; background: var(--st-card); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.1); }
.st-r { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 8px 14px; font-size: 13px; }
.st-r + .st-r { border-top: 1px solid var(--st-line); }
.st-r > span:first-child, .st-r > .st-n + span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.st-r small { font-size: 11.5px; line-height: 1.35; color: var(--aw-dim); }
.st-r .st-val { margin-left: auto; font-size: 13px; }
.st-r code { margin-left: auto; font: 13px ui-monospace, Menlo, monospace; }
.st-r a { margin-left: auto; font-size: 13px; color: var(--aw-brand); }
.st-foot { padding: 0 4px; font-size: 11.5px; line-height: 1.4; color: var(--aw-dim); }
.st-foot u { text-decoration: none; color: var(--aw-brand); }
.gd-st .gd-switch { flex: none; margin-left: 0; }
.gd-btn.dim { opacity: 0.5; }
/* Appearance: the four folder looks, then a row of colours. */
.st-looks { gap: 10px; }
.st-look { width: 132px; height: 112px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 10px; background: rgba(var(--aw-p), 0.04); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.12); }
.st-look.on { box-shadow: inset 0 0 0 2.5px var(--aw-brand); }
.gd .st-look svg { width: 56px; height: 49px; margin-top: 4px; }
.st-look b { font-size: 12px; font-weight: 400; }
.st-look.on b { font-weight: 600; }
.st-look small { font-size: 10.5px; color: var(--aw-dim); }
.st-dots { gap: 8px; }
.st-dots > span:first-child { flex: none; }
.st-lab { width: 60px; }
.st-dots > i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--c); margin: 2px; }
.st-def { display: flex; padding: 1px; border-radius: 6px; }
.gd .st-def svg { width: 20px; height: 17.6px; }
.st-def.on, .st-mac.on i { box-shadow: 0 0 0 2px rgba(var(--aw-p), 0.75); }
.st-mac { display: flex; align-items: center; gap: 5px; font-size: 11.5px; }
.st-mac.on { font-weight: 600; }
.st-mac i { width: 18px; height: 18px; margin: 2px; border-radius: 50%; background: conic-gradient(#FF3B30, #FF9500, #FFCC00, #34C759, #007AFF, #AF52DE, #FF2D55, #FF3B30); }
.st-div { width: 1px; height: 16px; background: rgba(var(--aw-p), 0.15); }
.st-well { width: 38px; height: 22px; border-radius: 6px; background: conic-gradient(#FF3B30, #FFCC00, #34C759, #00C7BE, #007AFF, #AF52DE, #FF3B30); box-shadow: inset 0 0 0 3px var(--st-card), 0 0 0 1px rgba(var(--aw-p), 0.18); }
/* Shortcuts. */
.st-search { display: flex; align-items: center; gap: 10px; margin-bottom: -10px; }
.st-field { flex: 1; height: 24px; padding: 0 8px; display: flex; align-items: center; border-radius: 6px; font-size: 12.5px; color: var(--aw-faint); background: var(--st-card); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.15); }
.st-search small { font-size: 11.5px; color: var(--aw-dim); }
.st-mods { display: flex; gap: 14px; margin-top: -12px; font-size: 11.5px; color: var(--aw-dim); }
.st-mods span { display: flex; align-items: center; gap: 5px; }
.st-mods kbd, .st-cap { font: 500 12px -apple-system, BlinkMacSystemFont, sans-serif; color: var(--aw-ink); padding: 2px 7px; border-radius: 5px; background: rgba(var(--aw-p), 0.07); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.14); }
.st-mods kbd { padding: 0 5px; font-size: 11px; }
.st-cap { margin-left: auto; min-width: 54px; text-align: center; }
.st-cap.empty { color: var(--aw-dim); }
/* Folder Access. */
.st-status { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; background: rgba(255, 149, 0, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 149, 0, 0.35); }
.st-status > i { flex: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: normal 900 18px -apple-system, sans-serif; color: #FFFFFF; background: #FF9500; }
.st-status span { display: flex; flex-direction: column; gap: 3px; }
.st-status b { font-size: 15px; }
.st-status small { font-size: 12.5px; color: var(--aw-dim-2); }
.st-n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: normal 700 12px -apple-system, sans-serif; color: var(--aw-brand); background: color-mix(in srgb, var(--aw-brand) 18%, transparent); }
.st-chip { display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border-radius: 8px; font-size: 12px; font-weight: 600; background: var(--aw-control); box-shadow: var(--aw-control-shadow); }
.st-fold { gap: 10px; }
.gd .st-fold svg { flex: none; width: 18px; height: 15.8px; }
.st-fold > span { flex: 1; }
.st-fold em { font-style: normal; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.st-fold em::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-fold em.ok { color: #28A745; }
.st-fold em.no { color: #FF9500; }
.st-fold .st-num { width: 14px; font: normal 11.5px ui-monospace, Menlo, monospace; color: var(--aw-faint); }
.st-fold .st-num::before { content: none; }
/* Open In, the Drop Shelf, the Menu Bar, License. */
.st-pop { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 6px 0 8px; border-radius: 6px; font-size: 12.5px; background: var(--aw-control); box-shadow: var(--aw-control-shadow); }
.gd .st-pop svg { width: 11px; height: 11px; stroke: var(--aw-dim-2); }
.st-key { min-width: 110px; }
.st-ws i { flex: none; width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.st-ws > span:nth-child(2) { flex: 1; }
.st-acts .st-r { min-height: 38px; padding-top: 5px; padding-bottom: 5px; }
.st-lic { display: flex; align-items: center; gap: 14px; }
.gd .st-lic svg { width: 48px; height: 42px; }
.st-lic span { display: flex; flex-direction: column; gap: 3px; }
.st-lic b { font-size: 17px; }
.st-lic small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--aw-dim); }
.st-lic small i { width: 8px; height: 8px; border-radius: 50%; background: #34C759; }

/* ---- Smart Clean's review page (Views/BrushUpView.swift, board 111): back, the suggestion's folder and why, how many
   and how much with Tick all and Untick all, a card of rows, what's held apart, and the bar at the bottom ---- */
.rv-page { flex: 1; min-height: 0; overflow: hidden; padding: 22px 32px; display: flex; flex-direction: column; gap: 14px; }
.rv-back { color: var(--aw-brand); font-size: 13px; }
.rv-head { display: flex; align-items: center; gap: 16px; padding-bottom: 8px; }
.gd .rv-folder { flex: none; width: 52px; height: 45.8px; }
.rv-head > span { display: flex; flex-direction: column; gap: 4px; }
.rv-title { display: flex; align-items: center; gap: 10px; }
.rv-title b { font-size: 20px; font-weight: 700; }
.rv-head small { font-size: 13px; color: var(--aw-dim-2); }
.rv-sum { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.rv-sum b { font-weight: 600; }
.rv-sum > span:nth-child(2) { color: var(--aw-dim); }
.rv-card { border-radius: 14px; overflow: hidden; background: rgba(var(--aw-p), 0.035); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.09); }
.rv-row { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 16px; font-size: 13px; }
.rv-row + .rv-row { border-top: 1px solid rgba(var(--aw-p), 0.08); }
.rv-row > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rv-row b { font-weight: 400; }
.rv-row small { font-size: 11.5px; color: var(--aw-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-row em { width: 86px; text-align: right; font-style: normal; font-variant-numeric: tabular-nums; }
.gd .rv-row > svg { flex: none; width: 15px; height: 15px; stroke: var(--aw-brand); }
.rv-tick { flex: none; width: 17px; height: 17px; border-radius: 4.5px; box-shadow: inset 0 0 0 1.5px rgba(var(--aw-p), 0.45); }
.rv-tick.on { box-shadow: none; background: var(--aw-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.rv-ic { flex: none; width: 24px; height: 21px; border-radius: 3px 3px 4px 4px; background: linear-gradient(180deg, #7DB7EE, #4F98E2); }
.rv-aside { display: flex; align-items: center; gap: 10px; padding-top: 12px; font-size: 13px; white-space: nowrap; }
.rv-aside b { font-weight: 600; }
.rv-aside > span:last-child { color: var(--aw-dim); overflow: hidden; text-overflow: ellipsis; }
.rv-bar { flex: none; display: flex; align-items: center; gap: 14px; padding: 12px 32px; font-size: 13px; border-top: 1px solid rgba(var(--aw-p), 0.1); background: rgba(var(--aw-p), 0.03); }
.rv-bar b { font-size: 14px; font-weight: 600; }
.rv-bar > span:nth-child(2) { color: var(--aw-dim); }
.rv-bar .gd-btn { height: 30px; padding: 0 16px; }

/* ---- The Drop Shelf (Views/ShelfView.swift, board 102): a black tray 858 wide out of the notch; Holding, an amber well,
   on the left; the pinned folders in rows of five on the right; the footer under a line ---- */
.ds-tray { position: absolute; left: 50%; top: 0; z-index: 5; width: 858px; margin-left: -429px; padding: 42px 20px 14px; border-radius: 0 0 30px 30px;
  display: flex; flex-direction: column; gap: 12px; color: #F2F2F2; background: #000000; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
.ds-main { display: flex; align-items: stretch; gap: 16px; }
.ds-hold { flex: none; width: 230px; padding: 12px; border-radius: 16px; display: flex; flex-direction: column; gap: 10px;
  background: rgba(245, 181, 68, 0.07); border: 1.5px dashed rgba(245, 181, 68, 0.55); }
.ds-hold-top { position: relative; display: flex; align-items: center; gap: 11px; height: 38px; }
.ds-hold-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(245, 181, 68, 0.18); }
.gd .ds-hold-ic svg { width: 20px; height: 20px; stroke: #F5B544; stroke-width: 1.5; }
.ds-hold-top > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.ds-hold-top b { font-size: 14px; font-weight: 700; color: #FFFFFF; }
.ds-hold-top small { font-size: 12px; color: #A3A3A3; }
.ds-hold-top em { position: absolute; right: 2px; top: 2px; font-style: normal; font-size: 12px; font-weight: 600; color: #B5A8F0; }
.ds-held { display: flex; flex-direction: column; gap: 6px; }
.ds-held p { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 8px; font-size: 12px; background: rgba(255, 255, 255, 0.07); }
.ds-held p.is-out { opacity: 0.45; }
.ds-held .aw-kind { width: 16px; height: 20px; padding-bottom: 2px; }
.ds-held .aw-kind i { font-size: 4px; padding: 1px 1.5px; }
.ds-folders { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ds-head { display: flex; align-items: baseline; justify-content: space-between; height: 16px; font-size: 11px; color: #A3A3A3; }
.ds-head b { font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.ds-grid { display: grid; grid-template-columns: repeat(5, 108px); gap: 8px; }
.ds-tile { position: relative; width: 108px; height: 112px; padding: 10px 6px 0; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.gd .ds-tile svg { width: 44px; height: 39px; margin-bottom: 3px; }
.ds-tile b { font-size: 12px; font-weight: 600; text-align: center; }
.ds-tile small { font-size: 11px; color: #A3A3A3; }
.ds-tile.is-lit small { color: #B5A8F0; }
.ds-num { position: absolute; right: 6px; top: 6px; min-width: 16px; height: 16px; border-radius: 4px; font: normal 500 10px/16px -apple-system, sans-serif; text-align: center; color: #A3A3A3; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.ds-pin { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18); }
.ds-plus { width: 44px; height: 39px; margin-bottom: 3px; display: flex; align-items: center; justify-content: center; font: normal 300 30px -apple-system, sans-serif; color: #A3A3A3; }
.ds-pin b { font-weight: 500; }
.ds-foot { height: 26px; padding-top: 6px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #A3A3A3; border-top: 1px solid rgba(255, 255, 255, 0.1); white-space: nowrap; }
.ds-foot b { color: #FFFFFF; }
.ds-just { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.ds-done { color: #F2F2F2; }
.ds-foot em { font-style: normal; height: 22px; padding: 0 10px; border-radius: 11px; font-size: 12px; font-weight: 600; line-height: 22px; color: #FFFFFF; background: #6B56DC; }

/* ---- The workspace page (board 297, the hero's drawing) and New Workspace (Views/NewWorkspaceCard.swift, board 215):
   a 600-wide card in the middle, over the window blurred and a little dimmed ---- */
.gd-wsp .aw-win { position: relative; }
.gd-wsp .aw-main { background: var(--aw-win); }
.nw-back { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--aw-p), 0.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
[data-theme="light"] .nw-back { background: rgba(28, 28, 36, 0.12); }
.nw-card { width: 600px; border-radius: 16px; overflow: hidden; background: var(--aw-win); box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.1), 0 16px 60px rgba(0, 0, 0, 0.35); }
.nw-band { height: 84px; border-bottom: 1px solid rgba(var(--aw-p), 0.09);
  background: radial-gradient(circle 560px at 0% 0%, color-mix(in srgb, var(--wc) 55%, transparent), transparent 100%),
    radial-gradient(circle 460px at 100% 0%, color-mix(in srgb, var(--wc) 28%, transparent), transparent 100%),
    radial-gradient(circle 420px at 60% 130%, color-mix(in srgb, var(--wc) 35%, transparent), transparent 100%); }
.nw-in { padding: 0 24px 18px; }
.nw-folder { display: block; width: 56px; margin-top: -30px; filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.2)); }
.gd .nw-folder svg { width: 56px; height: 49px; }
.nw-name { margin-top: 10px; font-size: 26px; font-weight: 800; letter-spacing: -0.4px; }
.nw-desc { margin-top: 6px; font-size: 14px; color: var(--aw-faint); }
.nw-lab { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; }
.nw-lab > span:first-child { width: 92px; margin-right: -8px; font-size: 12px; color: var(--aw-dim); }
.nw-lab i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); }
.nw-lab i.on { box-shadow: 0 0 0 2px var(--aw-win), 0 0 0 4px rgba(var(--aw-p), 0.6); }
.nw-seg { display: flex; padding: 2px; border-radius: 8px; background: rgba(var(--aw-p), 0.06); }
.nw-seg span { padding: 4px 12px; border-radius: 6px; font-size: 12.5px; }
.nw-seg span.on { color: #FFFFFF; background: var(--wc); }
.nw-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(var(--aw-p), 0.1); }
.nw-foot small { font-size: 11.5px; color: var(--aw-dim); }
.nw-foot .gd-btn { height: 28px; padding: 0 14px; }
.gd-btn.nw-create { color: #FFFFFF; background: var(--wc); font-weight: 500; }

/* ---- The folder toolbar, as FileOS 1.0 has it (Views/ContentView.swift, folderItems): Share and AirDrop come before
   Open In, so the Open In menu sits further left than in October's drawing ---- */
.gd-oi-menu { left: 520px; }

/* ---- Brought to FileOS 1.0 on 2026-11-12: Buy and activate, Bookmarks, Markdown ---- */
/* The guide's drawings for Buy and activate, Bookmarks and Markdown files (2026-11-12), to merge into docs.css. In the
   drawn windows' colours (styles.css, .aw-shot: --aw-ink, --aw-win…), plus a few of macOS's own below. */

.aw-shot { --gdc-wbg: #2B2B2E; --gdc-card: rgba(255, 255, 255, 0.06); --gdc-field: rgba(0, 0, 0, 0.25); --gdc-line: rgba(255, 255, 255, 0.16);
  --gdc-setcard: #343437; --gdc-mat: rgba(48, 47, 54, 0.94); --gdc-red: #FF6961; --gdc-green: #30D158; }
[data-theme="light"] .aw-shot { --gdc-wbg: #ECECEC; --gdc-card: rgba(255, 255, 255, 0.9); --gdc-field: #FFFFFF; --gdc-line: rgba(0, 0, 0, 0.16);
  --gdc-setcard: #FFFFFF; --gdc-mat: rgba(246, 245, 250, 0.96); --gdc-red: #E5383B; --gdc-green: #28A745; }

/* Shared: macOS's buttons at their sizes, a text field, an alert over a dimmed window. */
.gdc-btn { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 14px; border-radius: 7px; font-size: 13px; white-space: nowrap;
  color: var(--aw-ink); background: var(--aw-control); box-shadow: var(--aw-control-shadow); }
.gdc-btn.xl { height: 36px; padding: 0 18px; border-radius: 9px; font-size: 14px; }
.gdc-btn.sm { height: 20px; padding: 0 9px; border-radius: 5px; font-size: 11.5px; }
.gdc-btn.primary { color: #FFFFFF; background: var(--aw-brand); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); font-weight: 500; }
.gdc-link { color: var(--aw-brand); }
.gdc-field { flex: 1; min-width: 0; display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 10px; font: 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--aw-dim); background: var(--gdc-field); box-shadow: inset 0 0 0 1px var(--gdc-line); white-space: nowrap; overflow: hidden; }
.gdc-field.typed { color: var(--aw-ink); }
.gdc-field.bad { box-shadow: inset 0 0 0 1px var(--gdc-red); }
.gdc-plain { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px; font-size: 13px; background: var(--gdc-card);
  box-shadow: inset 0 0 0 1px var(--gdc-line); }
.gdc-keyrow { display: flex; align-items: flex-start; gap: 8px; }
.gdc-error { font-size: 13px; line-height: 1.35; color: var(--gdc-red); }
.gdc-dim { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: rgba(0, 0, 0, 0.28); }
[data-theme="light"] .gdc-dim { background: rgba(28, 28, 36, 0.16); }
.gdc-alert { width: 270px; padding: 20px 16px 16px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  background: var(--gdc-mat); box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.12), 0 26px 70px rgba(0, 0, 0, 0.35); }
.gdc-alert img { display: block; }
.gdc-alert b { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.gdc-alert p { font-size: 11.5px; line-height: 1.4; color: var(--aw-dim-2); }
.gdc-alert-btns { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.gdc-alert-btns.stack { grid-template-columns: 1fr; }
.gdc-alert-btns .gdc-btn { height: 26px; font-size: 13px; }
.gdc-done { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #34C759; }
.gd .gdc-done svg { width: 32px; height: 32px; fill: none; stroke: #FFFFFF; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Buy and activate: the welcome's license step (buy-welcome.html, WelcomeView.swift licenseStep, LicenseViews.swift) ---- */
.gd-lic { display: flex; justify-content: center; }
.gd-lic-win { position: relative; width: 880px; height: 680px; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--gdc-wbg);
  box-shadow: 0 0 0 1px var(--aw-frame), 0 22px 54px rgba(20, 12, 70, 0.18); }
.gd-lic-bar { flex: none; height: 30px; padding: 0 14px; display: flex; align-items: center; }
.gd-lic-body { flex: 1; padding: 6px 40px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; }
.gd-lic-body.tight { gap: 18px; }
.gd-lic-h { font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.gd-lic-msg { max-width: 620px; font-size: 17px; line-height: 1.35; color: var(--aw-dim-2); }
.gd-lic-cards { display: flex; gap: 18px; }
.gd-lic-card { width: 330px; height: 330px; padding: 24px; border-radius: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left;
  background: var(--gdc-card); box-shadow: inset 0 0 0 1px var(--gdc-line); }
.gd-lic-card-h { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; }
.gd .gd-lic-card-h svg.key { width: 18px; height: 18px; fill: none; stroke: var(--aw-brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gd .gd-lic-card-h svg.fold { width: 30px; height: 26.4px; }
.gd-lic-card-sub { font-size: 14px; line-height: 1.35; color: var(--aw-dim-2); }
.gd-lic-label { font-size: 13px; font-weight: 600; color: var(--aw-dim-2); margin-bottom: -8px; }
.gd-lic-card .gdc-keyrow { align-self: stretch; }
.gd-lic-fill { flex: 1; }
.gd-lic-price { display: flex; align-items: baseline; gap: 8px; }
.gd-lic-price b { font-size: 40px; font-weight: 700; line-height: 1; }
.gd-lic-price span { font-size: 15px; color: var(--aw-dim-2); }
.gd-lic-points { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.35; color: var(--aw-dim-2); }
.gd-lic-points span { display: flex; gap: 8px; }
.gd-lic-lost { font-size: 13px; color: var(--aw-dim-2); }
.gd .gd-lic-folder { width: 150px; height: 132px; }
.gd-lic-btns { display: flex; gap: 12px; }

/* The window without a license (buy-window.html, LicenseViews.swift LicenseWindow): 540 x 460. */
.gd-lwin { display: flex; justify-content: center; }
.gd-lwin-win { width: 540px; height: 460px; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--gdc-wbg);
  box-shadow: 0 0 0 1px var(--aw-frame), 0 22px 54px rgba(20, 12, 70, 0.18); }
.gd-lwin-body { flex: 1; padding: 10px 44px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.gd .gd-lwin-folder { width: 96px; height: 84.5px; }
.gd-lwin-h { font-size: 24px; font-weight: 700; }
.gd-lwin-msg { font-size: 14px; line-height: 1.4; color: var(--aw-dim-2); }
.gd-lwin .gdc-keyrow { align-self: stretch; margin-top: 4px; }
.gd-lwin .gdc-field { height: 36px; font-size: 13px; }
.gd-lwin .gdc-plain { height: 36px; }
.gd-lwin .gdc-btn.xl { height: 36px; }
.gd-lwin-links { display: flex; gap: 14px; font-size: 13px; }
.gd-lwin-links b { font-weight: 600; color: var(--aw-brand); }
.gd-lwin-links span { color: var(--aw-dim-2); }

/* Settings › License (buy-settings.html, SettingsView.swift, LicenseViews.swift LicenseSettings): 960 x 700. */
.gd-lset { display: flex; justify-content: center; }
.gd-lset-win { position: relative; width: 960px; height: 700px; border-radius: 14px; overflow: hidden; display: flex; background: var(--gdc-wbg);
  box-shadow: 0 0 0 1px var(--aw-frame), 0 22px 54px rgba(20, 12, 70, 0.18); }
.gd-lset-side { flex: none; width: 220px; padding: 14px 10px; display: flex; flex-direction: column; gap: 1px; background: var(--aw-side); border-right: 1px solid rgba(var(--aw-p), 0.08); }
.gd-lset-side .aw-lights { margin: 0 0 14px 6px; }
.gd-lset-sec { margin: 10px 0 3px 10px; font-size: 11px; font-weight: 600; color: var(--aw-dim); }
.gd-lset-sec:first-of-type { margin-top: 0; }
.gd-lset-row { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 7px; font-size: 13px; }
.gd-lset-row.on { color: #FFFFFF; background: var(--aw-brand); }
.gd-lset-row i { flex: none; width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: var(--c); }
.gd .gd-lset-row i svg { width: 13px; height: 13px; fill: none; stroke: #FFFFFF; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gd-lset-main { flex: 1; min-width: 0; padding: 38px 26px 24px; display: flex; flex-direction: column; gap: 20px; }
.gd-lset-title { font-size: 20px; font-weight: 700; margin-bottom: -4px; }
.gd-lset-head { display: flex; align-items: center; gap: 14px; }
.gd .gd-lset-head svg { width: 48px; height: 42.2px; flex: none; }
.gd-lset-head p { display: flex; flex-direction: column; gap: 3px; }
.gd-lset-head b { font-size: 17px; font-weight: 700; }
.gd-lset-head span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--aw-dim-2); }
.gd-lset-head span i { width: 8px; height: 8px; border-radius: 50%; background: var(--gdc-green); }
.gd-lset-group { display: flex; flex-direction: column; gap: 7px; }
.gd-lset-gh { padding: 0 4px; font-size: 13px; font-weight: 700; }
.gd-lset-card { border-radius: 10px; background: var(--gdc-setcard); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.06); }
.gd-lset-r { min-height: 42px; padding: 8px 14px; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.gd-lset-r.line { border-top: 1px solid rgba(var(--aw-p), 0.08); margin-left: 14px; padding-left: 0; }
.gd-lset-r > p { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.gd-lset-r > p small { font-size: 11.5px; color: var(--aw-dim-2); }
.gd-lset-r code { font: 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.gd-lset-r em { font-style: normal; color: var(--aw-dim-2); }
.gd-lset-r.key { align-items: flex-start; }
.gd-lset-r .gdc-keyrow { flex: 1; }
.gd-lset-r .gdc-field { height: 28px; font-size: 13px; border-radius: 7px; }
.gd-lset-r .gdc-plain { height: 28px; border-radius: 7px; }
.gd-lset-r .gdc-btn { height: 28px; }
.gd-lset-r .gdc-error { margin-top: 6px; font-size: 12.5px; }
.gd-lset-r b.gdc-link { font-weight: 600; }
.gd-lset-foot { padding: 0 4px; font-size: 11.5px; line-height: 1.4; color: var(--aw-dim-2); }

/* ---- Bookmarks (bookmarks-page.html: app/bookmarks.html with the guide's sidebar) ---- */
.gd-bm .aw-win { position: relative; height: 820px; }
.gd-bm .aw-main { background: var(--aw-win); }
.gd-bm .bm-page { transition: none; }
.gd-bm[data-scene="two"] .bm-page { padding-top: 96px; }
.gd-bm-bar { position: absolute; left: 216px; right: 16px; top: 66px; z-index: 4; display: flex; flex-direction: column; gap: 4px; }
.gd-bm-field { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 14px; border-radius: 12px; background: var(--gdc-mat);
  box-shadow: inset 0 0 0 1px var(--aw-brand), 0 4px 18px rgba(0, 0, 0, 0.14); }
.gd .gd-bm-field > svg { width: 15px; height: 15px; stroke: var(--aw-icon); stroke-width: 1.7; }
.gd-bm-field > b { flex: 1; min-width: 0; font-size: 14px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-bm-site { height: 22px; padding: 0 8px; display: flex; align-items: center; border-radius: 11px; font-size: 11.5px; color: var(--aw-dim-2); background: rgba(var(--aw-p), 0.06); }
.gd-bm-pop { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 6px 0 10px; border-radius: 6px; font-size: 13px; background: var(--aw-control); box-shadow: var(--aw-control-shadow); }
.gd .gd-bm-pop svg { width: 10px; height: 10px; stroke-width: 1.8; }
.gd-bm-note { padding-left: 14px; font-size: 11px; color: var(--aw-dim-2); }
.gd-bm-more { position: absolute; z-index: 4; right: 36px; top: 190px; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gdc-mat); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.gd .gd-bm-more svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.gd-bm-menu { right: 36px; top: 220px; min-width: 210px; }
.gd-bm-menu > span svg { width: 9px; height: 9px; margin-left: auto; stroke-width: 2; }
.gd-bm-menu > span.danger { color: var(--gdc-red); }
.gd-bm-toast { position: absolute; z-index: 5; left: calc(200px + (100% - 200px) / 2); bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; border-radius: 999px; white-space: nowrap; font-size: 13px; background: var(--gdc-mat);
  box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.1), 0 12px 28px rgba(0, 0, 0, 0.22); }
.gd-bm-toast em { font-style: normal; height: 22px; padding: 0 10px; display: flex; align-items: center; border-radius: 11px; font-size: 12px; font-weight: 600; color: #FFFFFF; background: var(--aw-brand); }

/* Saved from another app: the panel under FileOS's menu bar icon (bookmarks-saved.html, LinkNotice.swift). */
.gd-bms { height: 560px; }
.gd-bms .gd-desk { height: 520px; }
.gd-bms .gd-menubar { gap: 18px; }
.gd .gd-bms-icon { width: 20px; height: 17.6px; fill: #FFFFFF; stroke: none; }
.gd-bms-on { padding: 2px 4px; border-radius: 5px; background: rgba(255, 255, 255, 0.25); display: flex; }
.gd-bms-browser { position: absolute; left: 60px; top: 70px; width: 700px; height: 420px; border-radius: 12px; overflow: hidden; background: #FFFFFF; color: #1D1D1F;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 24px 60px rgba(0, 0, 0, 0.35); }
.gd-bms-top { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; background: #F2F2F4; border-bottom: 1px solid #E2E2E6; }
.gd-bms-url { flex: 1; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #3A3A3C; background: #E4E4E8; }
.gd-bms-page { padding: 28px 40px; display: flex; flex-direction: column; gap: 12px; }
.gd-bms-page b { font-size: 26px; font-weight: 700; }
.gd-bms-page > i { height: 8px; border-radius: 4px; background: #E3E1EC; }
.gd-bms-page .pic { height: 150px; border-radius: 10px; background: linear-gradient(150deg, #FFD7A1, #E0607A); }
.gd-bms-panel { position: absolute; right: 140px; top: 34px; z-index: 7; width: 320px; padding: 12px; border-radius: 14px; display: flex; flex-direction: column;
  color: var(--aw-ink); background: var(--aw-win); box-shadow: 0 0 0 1px rgba(var(--aw-p), 0.1), 0 20px 50px rgba(0, 0, 0, 0.35); }
.gd-bms-head { display: flex; align-items: center; gap: 10px; }
.gd-bms-head img { display: block; }
.gd-bms-head p { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gd-bms-head b { font-size: 13px; font-weight: 700; }
.gd-bms-head span { font-size: 12px; color: var(--aw-dim-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-bms-put { margin: 12px 0 4px 2px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--aw-off); }
.gd-bms-row { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 7px; font-size: 13px; }
.gd .gd-bms-row svg { width: 14px; height: 14px; flex: none; stroke: var(--aw-icon); stroke-width: 1.6; }
.gd-bms-row.on { background: rgba(107, 86, 220, 0.16); }
.gd .gd-bms-row.on svg { stroke: var(--aw-brand); stroke-width: 2.4; }
.gd-bms-panel > i { height: 1px; margin: 6px 0; background: rgba(var(--aw-p), 0.1); }
.gd-bms-new { color: var(--aw-dim-2); }

/* ---- Markdown files (markdown-page.html: app/markdown.html's page, with Revert and Save, and the four steps) ---- */
.gd-md .aw-win { position: relative; height: 820px; }
.gd-md .aw-main { background: var(--aw-win); }
.gd-md .md-seg > span { border-radius: 11px; }
.gd-md[data-scene="one"] .gd-s1, .gd-md[data-scene="two"] .gd-s2, .gd-md[data-scene="three"] .gd-s3, .gd-md[data-scene="four"] .gd-s3 { background: var(--aw-sel); font-weight: 600; }
.gd-md[data-scene="two"] .md-edit, .gd-md[data-scene="three"] .md-edit, .gd-md[data-scene="four"] .md-edit { display: block; }
.gd-md[data-scene="two"] .md-view, .gd-md[data-scene="two"] .md-outline { display: none; }
.gd-md[data-scene="three"] .md-col, .gd-md[data-scene="four"] .md-col { padding: 22px 26px; }
.gd-md[data-scene="two"] .md-icon.on { color: var(--aw-off); background: none; }
.gd-md-edited { font-size: 11.5px; color: #E08A00; }
.gd-md .md-edit .gd-md-new { color: var(--aw-ink); background: rgba(107, 86, 220, 0.12); }
.gd-md .gd-md-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: text-bottom; background: var(--aw-brand); }
.gd-md .md-task.is-new { background: rgba(107, 86, 220, 0.1); border-radius: 4px; }

/* ---- Brought to FileOS 1.0 on 2026-11-12: About This Mac; Menu bar, Spotlight and Shortcuts ---- */
/* ---- About This Mac, and Menu bar, Spotlight and Shortcuts (guide pages about-this-mac and around-your-mac; drawings
   partials/guide/mac-*.html and around-*.html), written 2026-11-12, to merge into docs.css. In the drawn windows'
   colours (styles.css, .aw-shot: --aw-ink, --aw-win…), FileOS's accent as --aw-brand. ---- */

/* Status dots, as AboutMacView.swift's MacStatus: green fine, orange worth a look, red a problem, whatever the accent. */
.aw-shot { --am-good: #5FD39A; --am-attention: #F5B544; --am-bad: #FF6B60; --am-pop: rgba(44, 44, 50, 0.94); }
[data-theme="light"] .aw-shot { --am-good: #1F9D55; --am-attention: #C27803; --am-bad: #D93025; --am-pop: rgba(250, 250, 252, 0.96); }

/* The Mac's line at the bottom of the sidebar (sidebar.html's .aw-mac): marked while About This Mac shows (data-on="mac"),
   lit while the pointer is over it (SidebarMac.swift, SidebarMacLine: a rounded box inside the line, under the divider). */
.gd[data-on="mac"] .aw-mac, .gd-am-sum .aw-mac { position: relative; isolation: isolate; }
.gd[data-on="mac"] .aw-mac::after, .gd-am-sum .aw-mac::after { content: ''; position: absolute; z-index: -1; left: -6px; right: -6px; top: 5px; bottom: 1px;
  border-radius: 9px; background: var(--aw-row-on); }
.gd-am-sum .aw-mac::after { background: rgba(var(--aw-p), 0.06); }

/* The page (mac-page.html, AboutMacView.swift). */
.gd-am .aw-win { height: 1120px; }
.gd-am-tools > span { gap: 5px; padding: 0 9px; font-size: 12px; color: var(--aw-ink-2); }
.gd-am-tools svg { width: 14px; height: 14px; }
.gd-am-page { flex: 1; min-height: 0; overflow: hidden; padding: 26px 40px 0; display: flex; flex-direction: column; gap: 22px; }
.gd-am-top { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gd-am-name { margin-top: 14px !important; font-size: 26px; font-weight: 700; letter-spacing: -0.3px; }
.gd-am-spec { margin-top: 4px !important; font-size: 13px; color: var(--aw-dim-2); }
.gd-am-pills { margin-top: 12px !important; display: flex; gap: 10px; }
.gd-am-pill { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 12.5px; white-space: nowrap; background: rgba(var(--aw-p), 0.06); }
.gd-am-pill > span { color: var(--aw-dim-2); }
.gd-am-pill b { font-weight: 600; }
.gd .gd-am-pill svg { width: 12px; height: 12px; stroke: var(--aw-brand); stroke-width: 1.9; }
.gd-am-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--am-good); }
.gd-am-dot.attention { background: var(--am-attention); }
.gd-am-dot.bad { background: var(--am-bad); }

/* The Mac's picture: macOS's own in the app; here a laptop drawn plainly, as the sidebar's line draws one. */
.gd-am-pic { position: relative; width: 220px; height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.2)); }
.gd-am-screen { display: block; width: 172px; height: 112px; border-radius: 9px 9px 0 0; border: 5px solid #1D1D1F; border-bottom-width: 7px;
  background: radial-gradient(90% 80% at 80% 10%, #8C7BE8, transparent 60%), radial-gradient(110% 90% at 15% 100%, #F2A07B, transparent 55%), linear-gradient(160deg, #5A6FD6, #3B2F8F); }
.gd-am-base { display: block; width: 204px; height: 8px; border-radius: 1px 1px 7px 7px; background: linear-gradient(#D9DBE1, #A9ACB4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6); position: relative; }
.gd-am-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 34px; height: 3px; margin-left: -17px; border-radius: 0 0 4px 4px; background: #9A9DA6; }
.gd-am-pic.small { width: 52px; height: 40px; flex: none; filter: none; }
.gd-am-pic.small .gd-am-screen { width: 42px; height: 27px; border-width: 1.5px; border-bottom-width: 2px; border-radius: 3px 3px 0 0; }
.gd-am-pic.small .gd-am-base { width: 50px; height: 3px; border-radius: 0 0 2.5px 2.5px; }
.gd-am-pic.small .gd-am-base::before { width: 9px; height: 1px; margin-left: -4.5px; }

/* The groups, in two columns: an accent icon and a title, then a rounded box (numbers, a bar, rows), a note under it. */
.gd-am-cols { display: flex; align-items: flex-start; gap: 22px; }
.gd-am-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.gd-am-group { display: flex; flex-direction: column; gap: 6px; }
.gd-am-gh { display: flex; align-items: center; gap: 7px; padding-left: 4px; font-size: 12.5px; font-weight: 700; }
.gd .gd-am-gh svg { width: 15px; height: 15px; stroke: var(--aw-brand); stroke-width: 1.6; }
.gd-am-box { border-radius: 10px; overflow: hidden; background: var(--aw-docs); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.08); }
.gd-am-stats { display: flex; border-bottom: 1px solid rgba(var(--aw-p), 0.08); }
.gd-am-stats > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; }
.gd-am-stats > span + span { border-left: 1px solid rgba(var(--aw-p), 0.08); }
.gd-am-stats small { font-size: 11.5px; color: var(--aw-dim-2); white-space: nowrap; }
.gd-am-stats b { display: flex; align-items: center; gap: 5px; font-size: 19px; font-weight: 700; letter-spacing: -0.2px; white-space: nowrap; }
.gd-am-stats em { font-style: normal; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--aw-dim-2); align-self: flex-end; padding-bottom: 2px; }
.gd-am-bar { display: flex; flex-direction: column; gap: 6px; padding: 11px 14px; border-bottom: 1px solid rgba(var(--aw-p), 0.08); }
.gd-am-bar p { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--aw-dim-2); white-space: nowrap; }
.gd-am-bar p b { font-weight: 600; color: var(--aw-brand); }
.gd-am-track { display: block; height: 5px; border-radius: 3px; background: rgba(var(--aw-p), 0.08); overflow: hidden; }
.gd-am-track i { display: block; height: 100%; border-radius: 3px; background: var(--aw-brand); }
.gd-am-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 14px; font-size: 13px; }
.gd-am-row + .gd-am-row { box-shadow: inset 14px 1px 0 var(--aw-docs), inset 0 1px 0 rgba(var(--aw-p), 0.08); }
.gd-am-row span { white-space: nowrap; }
.gd-am-row em { display: flex; align-items: center; gap: 5px; font-style: normal; color: var(--aw-dim-2); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-am-note { padding: 0 4px; font-size: 11.5px; line-height: 1.4; color: var(--aw-dim); }

/* The summary over the Mac's line (mac-summary.html, SidebarMac.swift, SidebarMacSummary). */
.gd-am-sum .aw-win { position: relative; height: 720px; }
.gd-am-blank { flex: 1; margin: 64px 22px 22px; border-radius: 12px; background: rgba(var(--aw-p), 0.025); }
.gd-am-pop { position: absolute; left: 18px; bottom: 66px; z-index: 4; width: 180px; padding: 12px; border-radius: 14px; background: var(--am-pop);
  backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.1), 0 8px 36px rgba(0, 0, 0, 0.28); }
.gd-am-pop-top { display: flex; align-items: center; gap: 10px; }
.gd-am-pop-top > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gd-am-pop-top b { font-size: 13px; font-weight: 700; white-space: nowrap; }
.gd-am-pop-top small { font-size: 11px; color: var(--aw-dim-2); white-space: nowrap; }
.gd-am-pop-row { margin-top: 10px !important; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 11.5px; white-space: nowrap; }
.gd-am-pop-row span { color: var(--aw-dim-2); }
.gd-am-pop-row b { font-weight: 600; }
.gd-am-pop-row.bar { flex-direction: column; align-items: stretch; gap: 5px; }
.gd-am-pop-row.bar p { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.gd-am-pop-row .gd-am-track { height: 4px; }
.gd-am-pop-btn { margin-top: 13px !important; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 600; color: #FFFFFF; background: var(--aw-brand); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }

/* The menu bar's icon and panel (around-menubar.html, MenuBarPanel.swift, board 115), over another app. */
.gd-ay-mb .gd-desk { height: 600px; }
.gd-menubar .gd-ay-right { position: absolute; right: 16px; top: 0; height: 28px; display: flex; align-items: center; gap: 16px; }
.gd-ay-icon { width: 28px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 5px; background: rgba(255, 255, 255, 0.24); }
.gd .gd-ay-icon svg { width: 18px; height: 16px; }
.gd-ay-status { width: 18px; display: flex; justify-content: center; }
.gd-ay-status:nth-child(3) { width: 26px; }
.gd .gd-ay-status svg { width: 18px; height: 14px; stroke: #FFFFFF; stroke-width: 1.5; }
.gd .gd-ay-status:nth-child(3) svg { width: 26px; }
.gd-ay-status .fill { fill: #FFFFFF; stroke: none; }
.gd-ay-clock { width: 120px; text-align: right; white-space: nowrap; }
.gd-ay-notes { position: absolute; left: 70px; top: 90px; width: 560px; height: 420px; border-radius: 12px; overflow: hidden; background: #FFFFFF; color: #1D1D1F;
  font-size: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 24px 60px rgba(0, 0, 0, 0.35); }
.gd-ay-notes > p { padding: 0 22px; line-height: 1.9; }
.gd-ay-notes > p:nth-child(2) { padding-top: 16px; font-size: 18px; font-weight: 700; }
.gd-ay-panel { position: absolute; left: 728px; top: 33px; z-index: 5; width: 460px; padding: 14px; display: flex; flex-direction: column; gap: 14px; border-radius: 16px;
  background: var(--am-pop); backdrop-filter: blur(24px); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.12), 0 18px 50px rgba(0, 0, 0, 0.35); }
.gd-ay-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: -6px !important; }
.gd-ay-head b { font-size: 13px; font-weight: 700; }
.gd-ay-head span { font-size: 11px; color: var(--aw-dim-2); }
.gd-ay-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.gd-ay-tile { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 10px;
  background: rgba(var(--aw-p), 0.05); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.1); }
.gd-ay-tile .aw-kind { width: 34px; height: 42px; padding-bottom: 6px; }
.gd-ay-tile .aw-kind i { font-size: 7px; padding: 2px 3px; }
.gd-ay-tile b { max-width: 100%; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-ay-tile small { font-size: 11px; color: var(--aw-dim-2); }
.gd-ay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gd-ay-chip { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 8px; border-radius: 9px; font-size: 13px; white-space: nowrap;
  background: rgba(var(--aw-p), 0.05); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.1); }
.gd .gd-ay-chip svg { width: 18px; height: 16px; }
.gd-ay-chip.add { padding: 0 10px; color: var(--aw-dim-2); background: none; box-shadow: none; outline: 1px dashed rgba(var(--aw-p), 0.18); outline-offset: -1px; }
.gd .gd-ay-chip.add svg { width: 11px; height: 11px; stroke-width: 2; }
.gd-ay-hold { display: flex; align-items: center; gap: 9px; padding: 6px 6px 6px 10px; border-radius: 10px; font-size: 13px; background: rgba(138, 118, 234, 0.14); }
.gd .gd-ay-hold > svg { width: 15px; height: 15px; stroke: var(--aw-brand); stroke-width: 1.5; }
.gd-ay-hold .gd-btn { height: 22px; padding: 0 10px; font-size: 12px; }
.gd-ay-foot { display: flex; align-items: center; padding: 0 2px; font-size: 13px; }
.gd-ay-foot b { font-weight: 600; color: var(--aw-brand); }
.gd-ay-foot span:last-child { color: var(--aw-dim-2); }
.gd-dragged.gd-ay-drop { left: 922px; top: 20px; }

/* Settings › Menu Bar and Spotlight (around-settings.html, SettingsView.swift, board 145): 960 x 700, a translucent
   sidebar in named sections, each page's title and rounded groups. */
.gd-ay-set { height: 760px; display: flex; justify-content: center; }
.gd-ay-win { width: 960px; height: 700px; display: flex; border-radius: 14px; overflow: hidden; background: var(--aw-win);
  box-shadow: 0 0 0 1px var(--aw-frame), 0 22px 54px rgba(20, 12, 70, 0.18); }
.gd-ay-side { flex: none; width: 220px; padding: 0 10px; display: flex; flex-direction: column; background: var(--aw-side-panel); border-right: 1px solid rgba(var(--aw-p), 0.08); }
.gd-ay-lights { padding: 16px 8px 8px; }
.gd-ay-sec { padding: 12px 8px 4px; font-size: 11px; font-weight: 700; color: var(--aw-dim-2); }
.gd-ay-page { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 7px; font-size: 13px; }
.gd-ay-page[data-on] { background: var(--aw-row-on); font-weight: 600; }
.gd-ay-page > i { flex: none; width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 82%, #FFFFFF), var(--c)); }
.gd .gd-ay-page > i svg { width: 13px; height: 13px; stroke: #FFFFFF; stroke-width: 1.8; }
.gd-ay-form { flex: 1; min-width: 0; padding: 30px 26px 0; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.gd-ay-title { font-size: 20px; font-weight: 700; margin-bottom: -4px !important; }
.gd-ay-group { display: flex; flex-direction: column; gap: 7px; }
.gd-ay-gh { padding: 0 4px; font-size: 13px; font-weight: 700; }
.gd-ay-card { border-radius: 10px; overflow: hidden; background: var(--aw-docs); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.1); }
.gd-ay-row { min-height: 42px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; font-size: 13px; }
.gd-ay-row + .gd-ay-row { box-shadow: inset 14px 1px 0 var(--aw-docs), inset 0 1px 0 rgba(var(--aw-p), 0.08); }
.gd-ay-row > span:first-child, .gd-ay-row.act > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gd-ay-row b { font-weight: 400; }
.gd-ay-row small { font-size: 11.5px; color: var(--aw-dim-2); }
.gd-ay-row > span.gd-ay-folder { flex-direction: row; align-items: center; gap: 8px; }
.gd .gd-ay-folder svg { width: 18px; height: 16px; }
.gd-ay-sq { width: 12px; height: 12px; border-radius: 4px; }
.gd-ay-row > span.gd-btn:first-child { flex: none; }
.gd-ay-link { font-style: normal; color: var(--aw-brand); }
.gd-ay-row .gd-switch { flex: none; }
.gd-ay-set .gd-switch.on { background: var(--aw-brand); }
.gd .gd-ay-row.act > svg { width: 18px; height: 18px; stroke: var(--aw-brand); stroke-width: 1.5; }
.gd-ay-note { padding: 0 4px; font-size: 11.5px; line-height: 1.4; color: var(--aw-dim-2); }

/* Spotlight, drawn plainly (around-spotlight.html), with what FileOS puts in it. */
.gd-ay-sp .gd-desk { height: 480px; }
.gd-ay-spot { position: absolute; left: 50%; top: 92px; width: 640px; margin-left: -320px; border-radius: 22px; overflow: hidden; background: var(--am-pop);
  backdrop-filter: blur(24px); box-shadow: inset 0 0 0 1px rgba(var(--aw-p), 0.12), 0 24px 60px rgba(0, 0, 0, 0.35); }
.gd-ay-field { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px; font-size: 24px; border-bottom: 1px solid rgba(var(--aw-p), 0.1); }
.gd .gd-ay-field svg { width: 22px; height: 22px; stroke: var(--aw-dim-2); stroke-width: 1.6; }
.gd-ay-caret { width: 2px; height: 26px; margin-left: -10px; background: var(--aw-brand); }
.gd-ay-results { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.gd-ay-hit { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 12px; border-radius: 10px; }
.gd-ay-hit.on { background: var(--aw-brand); color: #FFFFFF; }
.gd-ay-hit.on small { color: rgba(255, 255, 255, 0.8); }
.gd-ay-hit > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.gd-ay-hit b { font-size: 14px; font-weight: 600; }
.gd-ay-hit small { font-size: 12px; color: var(--aw-dim-2); }
.gd-ay-pic { flex: none; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.gd .gd-ay-pic svg { width: 34px; height: 30px; }
.gd-ay-pic.sym { border-radius: 8px; background: linear-gradient(180deg, #8A76EA, #6B56DC); }
.gd .gd-ay-pic.sym svg { width: 18px; height: 18px; stroke: #FFFFFF; stroke-width: 1.6; }
.gd-ay-pic.site { border-radius: 8px; font-size: 16px; font-weight: 700; color: #FFFFFF; background: #1E9E5A; }
