/* ============================================================
   Google Docs course: the Docs window around the document page
   (<gd-doc>, <gd-toolbar>), smart chips, comments, the Gemini
   bottom bar and side panel, Google-style dialogs and menus,
   and the course accents. Load AFTER excel.css and word.css:
   the page itself (.wd-page, text classes, tables, pictures,
   shapes) comes from word.css and is re-toned here to the
   Google Docs defaults (Arial 11, black headings).
   The mock-ups always stay light, like a screenshot.
   ============================================================ */

:root{
  --gb:#1a73e8; --gb-deep:#174ea6; --gb-soft:#d2e3fc; --gb-fill:#e8f0fe;
  --ai:#9b72cb; --ai-grad:linear-gradient(90deg,#4285f4,#9b72cb,#d96570);
  --gd-ui:"Google Sans","Google Sans Text",Roboto,"Segoe UI",system-ui,-apple-system,Arial,sans-serif;
}
/* Google blue for the chrome: dialogs, menus and panels written with class "gd" pick it up too */
.gd,gd-doc,gd-toolbar,.xd.gd,.xm.gd,.xb.gd,.gd-home{--xg:#1a73e8;--xg-deep:#174ea6;--xg-soft:#d2e3fc;--xg-fill:#e8f0fe}
.gd{--wd-font:Arial,"Helvetica Neue",Helvetica,sans-serif;--wd-display:Arial,"Helvetica Neue",Helvetica,sans-serif;--wd-head:#000;font-family:var(--gd-ui)}
.gd [hidden]{display:none!important}

/* ---------- course accents ---------- */
.t-gb{color:var(--gb)} [data-theme="dark"] .t-gb{color:#8ab4f8}
.t-ai{background:var(--ai-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.tone-gb{--c:var(--gb);--cd:var(--gb-deep)} [data-theme="dark"] .tone-gb{--cd:#8ab4f8}
.kicker.k-gb{color:var(--gb);background:color-mix(in srgb,var(--gb) 14%,transparent)} [data-theme="dark"] .kicker.k-gb{color:#8ab4f8}
.kicker.k-ai{color:#7b4fc4;background:color-mix(in srgb,var(--ai) 16%,transparent)} [data-theme="dark"] .kicker.k-ai{color:#c9b3f5}
.btn-gb{background:var(--gb);color:#fff;box-shadow:0 16px 40px rgba(26,115,232,.3)} .btn-gb:hover{transform:translateY(-3px)}
.cardx.gblue{--c:var(--gb)} .cardx.ai{--c:var(--ai)}
.badge-ai{background:var(--ai-grad);color:#fff}
.badge-ws{background:var(--gb);color:#fff}
.asg .sb.xl{background:var(--gb);box-shadow:0 6px 14px rgba(26,115,232,.28)}
.howto code,.steps code,.note code,.tip code,.slide-sub code,.fn-what code,.lead code,.q-text code,.asg code,.cards code,.tbl code,.fx b{color:var(--gb);background:color-mix(in srgb,var(--gb) 10%,transparent)}
[data-theme="dark"] .howto code,[data-theme="dark"] .steps code,[data-theme="dark"] .note code,[data-theme="dark"] .tip code,[data-theme="dark"] .slide-sub code,[data-theme="dark"] .fn-what code,[data-theme="dark"] .lead code,[data-theme="dark"] .q-text code,[data-theme="dark"] .asg code,[data-theme="dark"] .cards code,[data-theme="dark"] .tbl code,[data-theme="dark"] .fx b{color:#8ab4f8}
.fx b{background:none}
.howto li.ai{border-color:color-mix(in srgb,var(--ai) 55%,var(--line))} .howto li.ai > i{background:var(--ai)}
.note.ai{border-color:var(--ai)} .note.ai .note-tag{background:var(--ai-grad)}

/* a prompt you type to Gemini, shown on a slide: <div class="pr">Write a <b>notice</b> for <i>parents</i>…</div> */
.pr{position:relative;font-family:ui-monospace,"Cascadia Code",Consolas,Menlo,monospace;font-size:15px;line-height:1.4;font-weight:600;color:var(--ink);padding:9px 14px 9px 42px;border-radius:14px;border:2px solid transparent;
  background-image:linear-gradient(var(--surface),var(--surface)),var(--ai-grad);background-origin:border-box;background-clip:padding-box,border-box;text-align:left}
.pr::before{content:"✦";position:absolute;left:14px;top:7px;font-size:18px;color:var(--ai);font-family:var(--body)}
.pr b{color:var(--gb)} [data-theme="dark"] .pr b{color:#8ab4f8}
.pr i{font-style:normal;color:var(--cta-deep)} [data-theme="dark"] .pr i{color:var(--cta)}
.pr.sm{font-size:13.5px;padding:6px 12px 6px 36px} .pr.sm::before{left:12px;top:4px;font-size:16px}
.pr.bad{background-image:linear-gradient(var(--surface),var(--surface)),linear-gradient(90deg,var(--coral),var(--coral))} .pr.bad::before{content:"✕";color:var(--coral)}
.pr.good{background-image:linear-gradient(var(--surface),var(--surface)),linear-gradient(90deg,var(--mint),var(--mint))} .pr.good::before{color:var(--mint)}

/* ---------- the window ---------- */
gd-doc,gd-toolbar{display:inline-block;position:relative;max-width:100%;vertical-align:top;line-height:1.2;text-align:left}
gd-doc.block,gd-toolbar.block,gd-toolbar{display:block}
gd-doc .xs,gd-toolbar .xs{display:flex;flex-direction:column;width:100%}
.xs.gd{border-radius:12px;background:#f9fbfd;border-color:#c4c7c5}
.xs.gd-tbonly{overflow:visible}
.gd-tbonly .gd-head{border-radius:11px 11px 0 0} .gd-tbonly .gd-tbw{border-radius:0 0 11px 11px}
.gd-head{background:#f9fbfd;container-type:inline-size}
.gd-top{display:flex;align-items:center;gap:8px;padding:6px 10px 3px;white-space:nowrap}
.gd-logo{flex:none;width:22px;height:28px;border-radius:3px 9px 3px 3px;background:#4285f4;display:grid;place-items:center}
.gd-logo i{display:block;width:11px;height:2px;border-radius:1px;background:#fff;box-shadow:0 4px 0 #fff,0 -4px 0 #fff}
.gd-tm{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.gd-trow{display:flex;align-items:center;gap:5px;min-width:0}
.gd-name{font-size:14.5px;line-height:1.3;color:#1f1f1f;padding:0 4px;border-radius:4px;max-width:270px;overflow:hidden;text-overflow:ellipsis}
.gd-ti{flex:none;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;color:#444746}
.gd-ti.on{color:#f9ab00} .gd-ti.on svg{fill:#f9ab00}
.gd-saved{font-size:11px;color:#5f6368;overflow:hidden;text-overflow:ellipsis}
.gd-menus{display:flex;gap:1px;font-size:11.5px;color:#1f1f1f;overflow:hidden}
.gd-menus span{flex:none;padding:2px 5px;border-radius:4px}
.gd-menus span.on{background:#d3e3fd;color:#041e49}
.gd-right{flex:none;margin-left:auto;display:flex;align-items:center;gap:5px}
.gd-share{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 11px;border-radius:14px;background:#c2e7ff;color:#001d35;font-size:12px;font-weight:600}
.gd-share i,.gd-box i,.gd-mode i{font-style:normal;font-size:8px;color:#444746}
.gd-ask{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#1a73e8;background:#e8f0fe}
.gd-ask.on{background:#1a73e8;color:#fff}
.gd-av{width:24px;height:24px;border-radius:50%;background:#f47629;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:700}
@container (max-width:690px){.gd-right [data-n="Meet"]{display:none}}
@container (max-width:585px){.gd-right [data-n="History"]{display:none}.gd-top{gap:6px;padding-left:8px;padding-right:8px}}
/* highlighted controls: the orange pulse of the Office courses */
.gd-right [data-n].xr-hl{display:inline-grid!important}   /* a highlighted button is never hidden by the narrow-window rules */
.gd .xr-hl{border-radius:6px}
.gd-share.xr-hl,.gd-mode.xr-hl{border-radius:14px}
.gd-ask.xr-hl,.gd-av.xr-hl,.gd-ti.xr-hl{border-radius:50%}

/* toolbar */
.gd-tbw{padding:2px 8px 6px;background:#f9fbfd}
.gd-tb{display:flex;align-items:center;gap:4px;height:31px;padding:0 8px;border-radius:16px;background:#edf2fa;color:#444746;white-space:nowrap}
.gd-tb-in{flex:1;min-width:0;height:100%;display:flex;align-items:center;gap:1px;overflow:hidden;padding:0 3px}
.gd-b{flex:none;display:inline-grid;place-items:center;width:23px;height:23px;border-radius:4px}
.gd-b.act{background:#d3e3fd;color:#0b57d0}
.gd-sep{flex:none;width:1px;height:16px;background:#c7c7c7;margin:0 3px}
.gd-box{flex:none;display:inline-flex;align-items:center;justify-content:space-between;gap:4px;height:23px;padding:0 5px;border-radius:4px;font-size:11.5px;color:#1f1f1f}
.gd-box span{overflow:hidden;text-overflow:ellipsis}
.gd-num{flex:none;min-width:25px;height:21px;padding:0 3px;border:1px solid #747775;border-radius:4px;display:inline-grid;place-items:center;font-size:11.5px;color:#1f1f1f}
.gd-mode{flex:none;display:inline-flex;align-items:center;gap:4px;height:23px;padding:0 8px;border-radius:12px;font-size:11.5px;color:#1f1f1f}
.gd-mode.m-suggesting{background:#c4eed0;color:#0d652d} .gd-mode.m-viewing{background:#e1e3e1}

/* open menus (drawn by the component in .gd-mlayer, above the window) */
.gd-mlayer{position:absolute;inset:0;pointer-events:none;z-index:20}
.gd-ddw{position:absolute;overflow:hidden;border-radius:6px;background:#fff;box-shadow:0 2px 6px 2px rgba(60,64,67,.15),0 1px 3px rgba(60,64,67,.3);animation:a-fade .25s both}
.gd-ddw .xm{display:block;border:none;box-shadow:none;border-radius:0;min-width:176px;padding:5px 0;font-family:var(--gd-ui);font-size:11.5px}
.gd-ddw .xm li{padding:3px 12px;gap:8px}
.gd-ddw .xm li.hl{outline-offset:-2px}
.gd-ddw .xm hr{margin:3px 0}
.xm.gd{font-family:var(--gd-ui);border:none;border-radius:8px;box-shadow:0 2px 6px 2px rgba(60,64,67,.15),0 1px 3px rgba(60,64,67,.3)}
.xm.gd li.sel{background:#e8f0fe}
.xm.gd li .xi{color:#444746}

/* ---------- the document area ---------- */
.gd .wd-ruler{height:18px;background:#f9fbfd;border-bottom:none}
.gd .wd-ruler-in{height:12px}
.gd .wd-work,.gd .wd-area{background:#f9fbfd}
.gd .wd-area{padding:12px 20px}
.gd .wd-page{color:#000;box-shadow:0 0 0 1px #dadce0,0 1px 3px rgba(60,64,67,.12)}
.gd .wd-page h1,.gd .wd-page .h1{font-weight:400;font-size:1.82em;color:#000}
.gd .wd-page h2,.gd .wd-page .h2{font-weight:400;font-size:1.45em;color:#000}
.gd .wd-page h3,.gd .wd-page .h3{font-weight:400;font-size:1.27em;color:#434343}
.gd .wd-page .title{font-size:2.36em;letter-spacing:0;color:#000}
.gd .wd-page .subtitle{font-size:1.36em;letter-spacing:0;color:#666}
.gd .wd-page .link{color:#1155cc}
.gd .wd-page .hl{background:#ffff00}
.gd .wd-sel{background:#c8dafc}
.gd .wd-selall .wd-body,.gd .wd-selall .wd-body *{background:#c8dafc}
.gd .wd-hf-tag{background:#1a73e8}
.gd.hf .wd-hdr,.gd.hf .wd-ftr{border-color:#1a73e8}
/* pageless */
.gd[data-view="web"] .wd-area{background:#fff;padding:14px 30px}
.gd[data-view="web"] .wd-page{box-shadow:none}
/* suggested edits (Suggesting mode) and Gemini's suggestions */
.gd .wd-page .ins{color:#188038;text-decoration:none} .gd .wd-page .del{color:#188038;text-decoration:line-through}
.gd .wd-page .ins2{color:#9334e6;text-decoration:none} .gd .wd-page .del2{color:#9334e6;text-decoration:line-through}
.gd .wd-page .gs-ins{background:#f1eaff;color:#4c2a9c;border-bottom:2px solid #a78bfa}
.gd .wd-page .gs-del{color:#8a7fa8;background:#f6f3fb;text-decoration:line-through}
.gd .wd-page .cmref{background:#fef3c0;border-bottom:2px solid #f9ab00}
.gd .wd-page .gd-gen{position:relative;margin:0 0 .65em;padding:6px 10px 2px 12px;border-radius:0 8px 8px 0;background:linear-gradient(90deg,#f4efff,#fafbff)}
.gd .wd-page .gd-gen::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:2px;background:linear-gradient(180deg,#4285f4,#9b72cb,#d96570)}
/* smart chips */
.gd .wd-page .chip{display:inline-flex;align-items:center;gap:4px;padding:0 7px;border-radius:10px;background:#f1f3f4;border:1px solid #dadce0;font-size:.92em;line-height:1.45;color:#202124;white-space:nowrap;vertical-align:baseline}
.gd .wd-page .chip.person::before{content:"";width:.95em;height:.95em;border-radius:50%;background:#1a73e8}
.gd .wd-page .chip.file::before{content:"";width:.72em;height:.92em;border-radius:1.5px;background:#4285f4}
.gd .wd-page .chip.file.sheet::before{background:#0f9d58} .gd .wd-page .chip.file.slide::before{background:#f4b400} .gd .wd-page .chip.file.pdf::before{background:#d93025}
.gd .wd-page .chip.date::before{content:"📅";font-size:.85em} .gd .wd-page .chip.place::before{content:"📍";font-size:.85em} .gd .wd-page .chip.event::before{content:"🗓";font-size:.85em}
.gd .wd-page .chip.vote::before{content:"👍";font-size:.85em}
.gd .wd-page .chip.dd{background:#e6f4ea;border-color:#ceead6;color:#137333}
.gd .wd-page .chip.dd::after{content:"▾";font-size:.7em;margin-left:2px}
.gd .wd-page .chip.dd.amber{background:#fef7e0;border-color:#feefc3;color:#b06000} .gd .wd-page .chip.dd.red{background:#fce8e6;border-color:#fad2cf;color:#c5221f}
.gd .wd-page .chip.dd.blue{background:#e8f0fe;border-color:#d2e3fc;color:#174ea6} .gd .wd-page .chip.dd.grey{background:#f1f3f4;border-color:#dadce0;color:#3c4043}
.gd .wd-page .chip.var{background:#fff;border:1px dashed #1a73e8;border-radius:4px;color:#1a73e8}
.gd .wd-page .chip.sel{outline:2px solid #1a73e8;outline-offset:1px}
/* checklists */
.gd .wd-page ul.check{list-style:none;padding-left:.3em}
.gd .wd-page ul.check li::before{content:"";display:inline-block;width:.85em;height:.85em;border:1.5px solid #5f6368;border-radius:2px;margin-right:.55em;vertical-align:-.12em}
.gd .wd-page ul.check li.on{color:#80868b;text-decoration:line-through}
.gd .wd-page ul.check li.on::before{background:#1a73e8;border-color:#1a73e8;box-shadow:inset 0 0 0 1.5px #fff}
/* Docs table look (grey grid) */
.gd .wd-page .wd-t td,.gd .wd-page .wd-t th{border-color:#9aa0a6}
.gd .wd-page .wd-t.ts-gd > :first-child > tr:first-child th,.gd .wd-page .wd-t.ts-gd > :first-child > tr:first-child td{background:#e8f0fe;font-weight:700;border-color:#9aa0a6}
.gd .wd-page .wd-t.ts-soft td,.gd .wd-page .wd-t.ts-soft th{border:none;border-bottom:1px solid #dadce0}
.gd .wd-page .wd-t.ts-soft > :first-child > tr:first-child th,.gd .wd-page .wd-t.ts-soft > :first-child > tr:first-child td{font-weight:700;color:#5f6368;font-size:.9em}
.gd .wd-page pre.code{font-family:"Roboto Mono",Consolas,monospace;font-size:.86em;line-height:1.4;background:#f8f9fa;border:1px solid #dadce0;border-radius:6px;padding:6px 10px;margin:0 0 .65em;white-space:pre-wrap}

/* "Document tabs" pane with the outline */
.gd .wd-nav{width:170px;background:#f9fbfd;border-right:none;padding:8px 6px;font-family:var(--gd-ui)}
.gd-nav-t{display:flex;justify-content:space-between;align-items:center;padding:2px 8px 6px;font-size:12px;font-weight:600;color:#444746}
.gd-nav-t b{font-size:16px;font-weight:400;line-height:1}
.gd-tab{display:flex;align-items:center;gap:6px;padding:4px 9px;border-radius:14px;font-size:12px;color:#1f1f1f;white-space:nowrap;overflow:hidden}
.gd-tab.on{background:#d3e3fd;color:#0b57d0;font-weight:600}
.gd-outline{padding:2px 0 4px 12px}
.gd-outline .wd-nav-i{padding:2px 6px;font-size:11.5px;color:#444746;font-weight:400}
.gd-outline .wd-nav-i.l1{font-weight:500} .gd-outline .wd-nav-i.l2{padding-left:16px} .gd-outline .wd-nav-i.l3{padding-left:26px}

/* comments */
.gd .wd-cmts{width:180px;font-family:var(--gd-ui)}
.gd .gd-cm{border:1px solid #dadce0;border-radius:10px;box-shadow:0 1px 3px rgba(60,64,67,.3);font-family:var(--gd-ui)}
.gd .gd-cm .wd-cm-by i{background:#1a73e8}
.gd .gd-cm.k-suggest .wd-cm-by i{background:#188038}
.gd .gd-cm.k-ai .wd-cm-by i{background:linear-gradient(135deg,#4285f4,#9b72cb)}
.gd .gd-cm .wd-cm-by .gd-cm-a{margin-left:5px;color:#5f6368;font-size:12px} .gd .gd-cm .wd-cm-by .gd-cm-a.ok{color:#1a73e8}
.gd .gd-cm .wd-cm-r{border:1px solid #dadce0;border-radius:12px;padding:3px 8px;margin-top:7px}

/* Gemini side panel */
.gd-side{display:none;flex:none;width:250px;flex-direction:column;background:#fff;border-left:1px solid #e0e3e7;font-size:12px;color:#1f1f1f}
.gd.has-ai .gd-side{display:flex}
.gd-side-h{display:flex;align-items:center;gap:7px;padding:8px 10px;border-bottom:1px solid #eef0f3;font-size:13px}
.gd-side-h .xi{color:#1a73e8} .gd-side-h b{font-weight:600;margin-right:auto} .gd-side-h span{color:#5f6368}
.gd-side-b{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:10px}
.gd-ai-you{align-self:flex-end;max-width:92%;background:#e8f0fe;border-radius:14px 14px 4px 14px;padding:6px 10px;line-height:1.35}
.gd-ai-g{line-height:1.4}
.gd-ai-h{display:flex;align-items:center;gap:5px;margin-bottom:3px;font-size:11px;color:#5f6368} .gd-ai-h .xi{color:var(--ai)} .gd-ai-h b{font-weight:600}
.gd-ai-t{background:#f8f9fa;border:1px solid #eceff1;border-radius:4px 14px 14px 14px;padding:7px 10px}
.gd-ai-t p{margin:0 0 4px} .gd-ai-t p:last-child{margin-bottom:0} .gd-ai-t ul,.gd-ai-t ol{margin:2px 0 2px 16px;padding:0}
.gd-ai-a{display:flex;gap:6px;margin-top:5px}
.gd-ai-a span{padding:2px 9px;border-radius:10px;border:1px solid #dadce0;font-size:11px;color:#1a73e8}
.gd-ai-a .pri{background:#1a73e8;border-color:#1a73e8;color:#fff}
.gd-ai-chips{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.gd-ai-chips span{padding:4px 10px;border-radius:12px;background:#f0f4f9;font-size:11.5px}
.gd-side-f{padding:8px 10px 10px}
.gd-side-f small{display:block;margin-top:4px;font-size:9.5px;color:#80868b;text-align:center}
.gd-prompt{display:flex;align-items:center;gap:6px;min-height:30px;padding:4px 10px;border:1px solid #c4c7c5;border-radius:16px;color:#5f6368}
.gd-prompt.has{border-color:#1a73e8;color:#1f1f1f}
.gd-pt{flex:1;min-width:0;line-height:1.3}
.gd-pt:empty::before{content:attr(data-ph);color:#80868b}
.gd-side .wd-new,.gd-float .wd-new{animation:wd-in .5s ease both}

/* Gemini bottom bar, suggestions bar, word count (float over the document area) */
.gd-float{position:absolute;inset:0;pointer-events:none;z-index:7}
.gd-gbar{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;width:min(440px,calc(100% - 44px));min-height:36px;padding:5px 7px 5px 12px;border-radius:20px;font-family:var(--gd-ui);font-size:12.5px;color:#1f1f1f;
  border:1.5px solid transparent;background-image:linear-gradient(#fff,#fff),var(--ai-grad);background-origin:border-box;background-clip:padding-box,border-box;box-shadow:0 2px 10px rgba(60,64,67,.28)}
.gd-gbar > .xi{flex:none;color:#1a73e8}
.gd-gbar.min{width:36px;height:36px;padding:0;justify-content:center;border-radius:50%}
.gd-gbar.xr-hl{border-radius:20px;outline-offset:3px;background-image:linear-gradient(#fff1e3,#fff1e3),var(--ai-grad)} .gd-gbar.min.xr-hl{border-radius:50%}
.gd-gb-c{flex:none;padding:2px 8px;border-radius:10px;border:1px solid #dadce0;font-size:10.5px;color:#444746}
.gd-gb-s{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#e8f0fe;color:#1a73e8}
.gd-gbar.has .gd-gb-s{background:#1a73e8;color:#fff}
.gd-sugg{position:absolute;left:50%;bottom:54px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:5px 10px;border-radius:16px;background:#fff;font-family:var(--gd-ui);font-size:11.5px;white-space:nowrap;box-shadow:0 2px 10px rgba(60,64,67,.28)}
.gd-sugg .xi{color:var(--ai)} .gd-sugg b{font-weight:600}
.gd-sugg span{padding:2px 10px;border-radius:10px;border:1px solid #dadce0;color:#1a73e8}
.gd-sugg .pri{background:#1a73e8;border-color:#1a73e8;color:#fff}
.gd-count{position:absolute;left:10px;bottom:10px;padding:4px 10px;border-radius:6px;background:#fff;border:1px solid #dadce0;font-family:var(--gd-ui);font-size:11.5px;color:#1f1f1f;box-shadow:0 1px 3px rgba(60,64,67,.25)}
.gd-count i{font-style:normal;font-size:8px;color:#5f6368}
/* the floating selection bar with Refine */
.gd-refine{position:absolute;z-index:8;display:flex;flex-direction:column;align-items:flex-start;gap:3px;font-family:var(--gd-ui)}
.gd-rbar{display:inline-flex;gap:2px;padding:3px;border-radius:16px;background:#fff;font-size:11.5px;box-shadow:0 2px 8px rgba(60,64,67,.3)}
.gd-rbar span{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:12px;color:#444746}
.gd-rbar .pri{background:#e8f0fe;color:#0b57d0;font-weight:600}
.gd-refine .xm{min-width:160px;font-size:11.5px;padding:4px 0} .gd-refine .xm li{padding:3px 12px}

/* ---------- Google-style dialogs: <div class="xd gd"> ---------- */
.xd.gd{font-family:var(--gd-ui);border:none;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.26)}
.xd.gd .xd-title{height:46px;padding:0 18px;border-bottom:none;font-size:17px;font-weight:400}
.xd.gd .xd-title::after{content:"✕";letter-spacing:0;font-size:13px}
.xd.gd .xd-body{padding:2px 18px 10px}
.xd.gd .xd-in,.xd.gd .xd-sel{height:28px;border-radius:4px;border-color:#747775;font-family:var(--gd-ui);font-size:12.5px}
.xd.gd .xd-btns{background:#fff;border-top:none;padding:8px 18px 14px}
.xd.gd .xd-btn{height:28px;border-radius:14px;border-color:#747775;color:#0b57d0;font-weight:600}
.xd.gd .xd-btn.primary{background:#0b57d0;border-color:#0b57d0;color:#fff}
.xd.gd .xd-chk::before{border-radius:3px}
/* Share dialog rows */
.gd-people{display:flex;flex-direction:column;gap:7px;margin-top:8px}
.gd-person{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;font-size:12.5px;line-height:1.25}
.gd-person > i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#1a73e8;color:#fff;font-style:normal;font-weight:700;font-size:11px}
.gd-person > i.c2{background:#188038} .gd-person > i.c3{background:#e37400} .gd-person > i.c4{background:#9334e6}
.gd-person small{display:block;color:#5f6368;font-size:11px}
.gd-person .role{padding:2px 9px;border-radius:10px;border:1px solid #dadce0;color:#444746;font-size:11.5px;white-space:nowrap}
.gd-person .role::after{content:" ▾";font-size:8px}
.gd-access{display:flex;align-items:center;gap:8px;margin-top:6px;padding:8px 10px;border-radius:8px;background:#f1f3f4;font-size:12.5px;line-height:1.25}
.gd-access small{display:block;color:#5f6368;font-size:11px}
.gd-access > i{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#dadce0;font-style:normal;font-size:13px}
.gd-access.open > i{background:#ceead6}

/* ---------- the Docs home screen (docs.google.com): <div class="gd-home"> ---------- */
.gd-home{display:inline-block;width:640px;max-width:100%;font-family:var(--gd-ui);font-weight:400;font-size:13px;line-height:1.3;color:#1f1f1f;background:#fff;border:1px solid #c4c7c5;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(29,39,66,.14);text-align:left}
.gd-home *{box-sizing:border-box}
.gd-home-top{display:flex;align-items:center;gap:10px;padding:8px 14px}
.gd-home-top b{font-size:16px;font-weight:400;color:#444746}
.gd-search{flex:1;display:flex;align-items:center;gap:8px;height:30px;margin:0 10px;padding:0 14px;border-radius:16px;background:#edf2fa;color:#5f6368;font-size:12.5px}
.gd-home-new{background:#f1f3f4;padding:10px 20px 14px}
.gd-home-new > p{display:flex;justify-content:space-between;margin:0 0 8px;font-size:13px}
.gd-home-new > p span{color:#5f6368;font-size:12px}
.gd-home .xb-tiles{gap:14px;flex-wrap:nowrap}
.gd-home .xb-tile{width:98px;font-size:11.5px;text-align:left}
.gd-home .xb-tile i{height:116px;background:#fff;border-color:#dadce0}
.gd-home .xb-tile i.blank::after{font-size:44px;font-weight:300}
.gd-home .xb-tile small{display:block;color:#5f6368;font-size:10.5px}
.gd-home .xb-tile.on i{outline:2px solid #1a73e8;outline-offset:1px}
.gd-home .xb-tile i.t1{border-top:22px solid #4285f4} .gd-home .xb-tile i.t2{border-top:22px solid #0f9d58} .gd-home .xb-tile i.t3{border-left:22px solid #f4b400} .gd-home .xb-tile i.t4{border-top:22px solid #9b72cb}
.gd-home-list{padding:10px 20px 14px}
.gd-home-list > p{margin:0 0 6px;font-weight:600}
.gd-home-list > div{display:grid;grid-template-columns:20px 1fr 130px 90px;gap:10px;align-items:center;padding:6px 8px;border-radius:16px;font-size:12.5px}
.gd-home-list > div.on{background:#e8f0fe}
.gd-home-list small{color:#5f6368;font-size:11.5px}
.gd-fi{display:inline-block;width:14px;height:18px;border-radius:2px;background:#4285f4;position:relative;flex:none}
.gd-fi::after{content:"";position:absolute;left:3px;right:3px;top:5px;height:1.5px;background:#fff;box-shadow:0 3px 0 #fff,0 6px 0 #fff}
.gd-fi.sheet{background:#0f9d58} .gd-fi.slide{background:#f4b400} .gd-fi.pdf{background:#d93025} .gd-fi.word{background:#185abd} .gd-fi.folder{height:13px;border-radius:2px 4px 2px 2px;background:#5f6368} .gd-fi.folder::after{display:none}

/* ---------- title art and deck helpers ---------- */
.title-art gd-doc{position:absolute;left:0;top:30px;transform:rotate(-5deg);z-index:2;box-shadow:var(--shadow-lg);border-radius:8px}
.title-art .mavi-xl{z-index:3}
/* a Google Sheets tone for <xl-sheet> (mail-merge data, chart data) */
.gs,xl-sheet.gs{--xg:#0f9d58;--xg-deep:#0b8043;--xg-soft:#ceead6;--xg-fill:#e6f4ea}
