/* Chromebook Help: the step-by-step guides (Donny, 2026-11-11).
   Each guide is a card on chromebook-help.html: a Start screen, one step per screen with a drawn Chromebook
   that zooms in on the spot to click, and a "Did it work?" screen. guide.js draws it; guides.js has the words.
   The card follows the site's light and dark mode. The drawing is a picture of a real screen, so it stays light. */

.cb-hide{ display:none !important; }

.cbg{
  --cbg-blue:#1a62c9; --cbg-on:#ffffff; --cbg-blue-hover:#154fa3;
  --cbg-soft:#f1f4f9; --cbg-dot:#dfe4ec; --cbg-dot-done:#8fb3ee; --cbg-ring:#c3cbd8;
  margin:14px 0;
}
html[data-theme="dark"] .cbg{
  --cbg-blue:#5aa2ef; --cbg-on:#061423; --cbg-blue-hover:#82b9f3;
  --cbg-soft:#222739; --cbg-dot:#2f3648; --cbg-dot-done:#3f6496; --cbg-ring:#3a4256;
}
.cbg-card{ background:var(--card); border:1px solid var(--line); border-radius:16px; padding:16px 18px 18px; box-shadow:var(--shadow-sm); scroll-margin-top:80px; }
.cbg h3{ margin:0; color:var(--ink); }
.cbg h3:focus{ outline:none; }
.cbg p{ margin:0; }

/* buttons */
.cbg-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 22px;
  border-radius:12px; border:2px solid var(--cbg-ring); background:var(--card); color:var(--ink);
  font:inherit; font-size:1rem; font-weight:700; cursor:pointer;
}
.cbg-btn:hover{ background:var(--cbg-soft); }
.cbg-btn:focus-visible{ outline:3px solid var(--cbg-blue); outline-offset:3px; }
.cbg-btn.primary{ background:var(--cbg-blue); border-color:var(--cbg-blue); color:var(--cbg-on); }
.cbg-btn.primary:hover{ background:var(--cbg-blue-hover); border-color:var(--cbg-blue-hover); }
.cbg-btn.big{ min-height:56px; padding:0 40px; font-size:1.2rem; }
.cbg-btn.quiet{ border-color:transparent; color:var(--ink-soft); }
.cbg-btn.link{ border-color:transparent; min-height:40px; color:var(--ink-soft); font-size:.95rem; }

/* Start screen */
.cbg-start{ display:flex; flex-wrap:wrap; align-items:center; gap:16px 28px; }
.cbg-go{ display:flex; align-items:center; gap:14px; font-size:.95rem; font-weight:600; color:var(--ink-soft); }
.cbg-ready{ background:#fff8dc; border:2px solid #f0cf5a; border-radius:14px; padding:12px 20px 10px; color:#1b1f2a; }
.cbg-ready h3{ font-size:1rem; color:#1b1f2a; margin-bottom:4px; }
.cbg-ready ul, .cbg-try{ list-style:none; margin:0; padding:0; }
.cbg-ready li{ display:flex; align-items:flex-start; gap:12px; font-size:1.05rem; font-weight:600; padding:3px 0; }
html[data-theme="dark"] .cbg-ready{ background:#3a3214; border-color:#8a7424; color:#f3e7b3; }
html[data-theme="dark"] .cbg-ready h3{ color:#f3e7b3; }
.cbg-tick{ width:22px; height:22px; margin-top:3px; border-radius:6px; border:2.5px solid #8a6d00; background:#fff; flex:none; position:relative; }
.cbg-tick::after{ content:""; position:absolute; left:5px; top:0; width:7px; height:12px; border:solid #8a6d00; border-width:0 3px 3px 0; transform:rotate(45deg); }

/* Step screen */
.cbg-progress{ display:flex; align-items:center; gap:14px; font-size:.85rem; font-weight:700; color:var(--ink-soft); margin-bottom:8px; }
.cbg-dots{ display:flex; gap:8px; list-style:none; margin:0; padding:0; }
.cbg-dots li{ width:30px; height:8px; border-radius:4px; background:var(--cbg-dot); }
.cbg-dots li.done{ background:var(--cbg-dot-done); }
.cbg-dots li.now{ background:var(--cbg-blue); }
.cbg-inst{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px; margin-bottom:10px; }
.cbg-num{ width:46px; height:46px; border-radius:50%; background:var(--cbg-blue); color:var(--cbg-on); font-size:1.4rem; font-weight:700; display:grid; place-items:center; }
.cbg-title{ font-size:1.45rem; line-height:1.25; font-weight:600; }
.cbg-title b{ font-weight:800; background:#ffe27a; color:#1b1f2a; border-radius:6px; padding:0 6px; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.cbg-where{ margin-top:3px !important; font-size:1rem; color:var(--ink-soft); }
.cbg-how{ display:flex; align-items:center; gap:10px; padding:7px 14px 7px 9px !important; border-radius:12px; background:var(--cbg-soft); font-size:.9rem; line-height:1.35; color:var(--ink); max-width:250px; }
.cbg-how-ic{ flex:none; display:grid; place-items:center; }
.cbg-how-ic svg{ display:block; height:40px; width:auto; max-width:none; }
.cbg-how-mic{ width:38px; height:38px; border-radius:50%; background:#ffd54f; color:#4a3b00; display:grid; place-items:center; }
.cbg-how-mic svg{ height:22px !important; }
.cbg-wrap{ width:100%; margin:0 auto; }
.cbg-label{ font-size:.8rem; font-weight:700; color:var(--ink-soft); margin:0 0 5px 2px; }
.cbg-stage{ position:relative; aspect-ratio:16/9; overflow:hidden; border-radius:12px; border:1px solid var(--cbg-ring); background:#33558f; container-type:inline-size; }
.cbg-controls{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; margin-top:12px; }
.cbg-controls [data-a="back"]{ justify-self:start; }
.cbg-controls [data-a="next"]{ justify-self:end; min-width:140px; }

/* End screen */
.cbg-end{ text-align:center; padding:10px 8px 6px; }
.cbg-end h3{ font-size:1.6rem; margin-bottom:6px; }
.cbg-end .cbg-lede{ font-size:1.05rem; color:var(--ink-soft); margin-bottom:6px; }
.cbg-end .cbg-lede:empty{ display:none; }
.cbg-choice{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin:14px 0 10px; }
.cbg-try{ display:inline-block; text-align:left; margin:8px 0 14px; }
.cbg-try li{ font-size:1.08rem; padding:5px 0 5px 30px; position:relative; }
.cbg-try li::before{ content:""; position:absolute; left:8px; top:15px; width:9px; height:9px; border-radius:50%; background:var(--cbg-blue); }
.cbg-done{ display:inline-block; width:64px; height:64px; border-radius:50%; background:#1f9d57; position:relative; margin-bottom:10px; }
.cbg-done::after{ content:""; position:absolute; left:23px; top:11px; width:15px; height:29px; border:solid #fff; border-width:0 6px 6px 0; transform:rotate(45deg); }
.cbg-end-yes .cbg-btn, .cbg-end-no .cbg-btn{ margin-top:12px; }

/* Keys being pressed or words being said, shown over the example */
.cbg-tray{
  position:absolute; left:0; right:0; bottom:4%; margin:0 auto; width:max-content; max-width:94%; z-index:5;
  display:flex; align-items:center; gap:.5em; padding:.5em .8em; border-radius:.8em; background:rgba(16,24,44,.93); color:#fff;
  font-size:clamp(14px,2.7cqw,26px); font-weight:700; line-height:1.2; box-shadow:0 6px 20px rgba(0,0,0,.3);
}
.cbg-tray.top{ bottom:auto; top:4%; }
.cbg-tray > i{ font-style:normal; opacity:.7; }
.cbg-kc{
  display:inline-flex; align-items:center; justify-content:center; min-width:2.2em; height:2.2em; padding:0 .55em; border-radius:.4em;
  background:#eef1f6; color:#172033; border-bottom:.18em solid #aab4c4; transition:background .15s, transform .15s; font-size:.9em;
}
.cbg-kc svg{ width:1.1em; height:1.1em; display:block; max-width:none; }
.cbg-kc.on{ background:#ffd21f; border-bottom-color:#b89200; transform:translateY(.1em); }
.cbg-kc.word{ background:transparent; color:#fff; border-bottom-color:transparent; font-weight:600; padding:0 .2em; }
.cbg-tray-mic{ display:grid; place-items:center; width:2em; height:2em; border-radius:50%; background:#ffd21f; color:#3b2f00; flex:none; }
.cbg-tray-mic svg{ width:1.2em; height:1.2em; display:block; }
.cbg-say{ font-weight:600; font-size:.85em; }

@media (max-width:820px){
  .cbg-card{ padding:12px 12px 14px; }
  .cbg-inst{ grid-template-columns:auto minmax(0,1fr); }
  .cbg-how{ grid-column:1 / -1; max-width:none; }
  .cbg-num{ width:40px; height:40px; font-size:1.2rem; }
  .cbg-title{ font-size:1.2rem; }
  .cbg-controls{ grid-template-columns:auto 1fr auto; }
  .cbg-controls [data-a="again"]{ justify-self:center; padding:0 8px; }
  .cbg-controls [data-a="next"]{ min-width:0; }
}

/* ======================================================================
   The example screen: a 1200 x 675 drawing of a Chromebook, scaled and zoomed by guide.js.
   ====================================================================== */
.cbd{
  position:absolute; left:0; top:0; width:1200px; height:675px; transform-origin:0 0; transition:transform .9s cubic-bezier(.4,0,.2,1);
  font:14px/1.3 Roboto, "Segoe UI", system-ui, Arial, sans-serif; color:#1f1f1f; user-select:none; overflow:hidden; text-align:left;
}
.cbd *{ box-sizing:border-box; }
.cbd h3, .cbd h4, .cbd p{ margin:0; color:inherit; }
.cbd svg{ display:block; max-width:none; }
.cbd i, .cbd em{ font-style:normal; }
.cbd-wall{ position:absolute; inset:0; background:radial-gradient(circle at 18% 12%, #d7e5ff 0, transparent 42%), linear-gradient(160deg, #a9c4ef, #5f87d2 55%, #2f4f88); }
.cbd-caret{ display:inline-block; width:2px; height:20px; background:#111; vertical-align:middle; animation:cbd-blink 1s steps(1) infinite; flex:none; }
@keyframes cbd-blink{ 50%{ opacity:0; } }

/* Chrome, full screen */
.cbd-win{ position:absolute; left:0; top:0; width:1200px; height:627px; background:#fff; overflow:hidden; }
.cbd-tabs{ height:40px; background:#dde3ea; display:flex; align-items:flex-end; padding-left:8px; gap:2px; }
.cbd-tab{ height:33px; width:262px; background:#fff; border-radius:10px 10px 0 0; display:flex; align-items:center; gap:8px; padding:0 12px; font-size:13px; white-space:nowrap; overflow:hidden; }
.cbd-tab.back{ background:transparent; }
.cbd-tab b{ margin-left:auto; font-weight:400; font-size:16px; color:#555; }
.cbd-ic{ width:13px; height:16px; border-radius:2px; background:#4285f4; flex:none; }
.cbd-ic.form{ background:#7248b9; }
.cbd-ic.mail{ background:#ea4335; width:16px; height:12px; }
.cbd-newtab{ align-self:center; margin-left:10px; font-size:20px; color:#444; }
.cbd-ctl{ margin-left:auto; align-self:center; display:flex; gap:22px; margin-right:18px; font-size:15px; color:#333; }
.cbd-bar{ height:44px; display:flex; align-items:center; gap:16px; padding:0 14px; border-bottom:1px solid #e1e4e8; font-size:18px; color:#555; }
.cbd-url{ flex:1; height:30px; border-radius:15px; background:#eef1f5; display:flex; align-items:center; padding:0 16px; font-size:13px; color:#333; white-space:nowrap; overflow:hidden; }
.cbd-avatar{ width:26px; height:26px; border-radius:50%; background:#7b5cc4; color:#fff; font-size:13px; font-weight:700; display:grid; place-items:center; flex:none; }
.cbd-content{ position:absolute; left:0; right:0; top:84px; bottom:0; overflow:hidden; }
.cbd-pg{ position:absolute; inset:0; overflow:hidden; transform-origin:50% 40%; transition:none; }

/* menus */
.cbd-menu{ position:absolute; background:#fff; border:1px solid #d5d9e0; border-radius:8px; box-shadow:0 8px 26px rgba(0,0,0,.28); padding:5px 0; font-size:13px; z-index:6; }
.cbd-menu > span{ display:flex; justify-content:space-between; align-items:center; gap:24px; height:27px; padding:0 16px; white-space:nowrap; }
.cbd-menu em{ color:#666; font-size:12px; }
.cbd-menu .off{ color:#a3a9b5; }
.cbd-menu > span.is-pressed{ background:#dbe6f8; }
.cbd-menu hr{ border:0; border-top:1px solid #e3e5ea; margin:4px 0; }
.cbd-empty{ position:absolute; left:120px; top:150px; width:44px; height:44px; }
.cbd-ctx{ left:150px; top:172px; width:300px; }

/* the made-up assignment */
.cbd-assign h3{ font-size:25px; font-weight:700; margin-bottom:10px; }
.cbd-assign p{ font-size:16px; margin-bottom:12px; }
.cbd table{ border-collapse:collapse; margin:4px 0 16px; font-size:15px; }
.cbd th, .cbd td{ border:1px solid #b9c1ce; padding:6px 22px; text-align:left; }
.cbd th{ background:#eef2f8; font-weight:700; }
.cbd-assign .q{ font-weight:700; }
.cbd-rd{ display:inline-block; padding:2px 4px; margin-left:-4px; border-radius:4px; }
.cbd-rd.is-reading{ box-shadow:0 0 0 3px #8ab4f8, 0 0 0 5px #1a73e8; }
.cbd-w.is-sel{ background:#b3d2ff; }
.cbd-w.is-lit{ background:#fde293; }

/* Google Docs */
.cbd-docpg{ background:#f0f3f8; }
.cbd-dhead{ height:58px; background:#fff; display:flex; align-items:center; gap:12px; padding:0 16px; }
.cbd-bigdoc{ width:22px; height:28px; border-radius:3px; background:#4285f4; flex:none; }
.cbd-dhead b{ display:block; font-size:17px; font-weight:500; }
.cbd-menus{ font-size:13px; color:#333; margin-top:3px; white-space:nowrap; }
.cbd-mtools{ position:relative; display:inline-block; padding:1px 6px; margin:-1px -6px; border-radius:4px; }
.cbd-mtools.is-pressed{ background:#dde6f5; }
.cbd-tools{ left:0; top:24px; width:250px; }
.cbd-share{ margin-left:auto; background:#c2e7ff; border-radius:18px; padding:8px 20px; font-size:13px; font-weight:600; }
.cbd-dbar{ height:34px; margin:0 12px; border-radius:17px; background:#e7edf7; display:flex; align-items:center; gap:14px; padding:0 18px; font-size:13px; color:#333; }
.cbd-paper{ position:relative; width:640px; height:460px; margin:12px auto 0; background:#fff; border:1px solid #d9dde3; padding:30px 56px; }
.cbd-dmic{ position:absolute; left:150px; top:160px; width:116px; padding:8px 8px 10px; background:#fff; border:1px solid #cfd5df; border-radius:8px; box-shadow:0 6px 18px rgba(15,25,50,.2); display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; }
.cbd-dmic .x{ align-self:flex-start; font-size:15px; color:#555; line-height:1; }
.cbd-dmic small{ font-size:12px; color:#444; }
.cbd-micbtn{ display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#e8ecf3; color:#3a4558; }
.cbd-micbtn svg{ width:22px; height:22px; }
.cbd-micbtn.is-pressed{ background:#cfd9ea; }
.cbd-micbtn.is-listening{ background:#d93025; color:#fff; }

/* Google Forms */
.cbd-formpg{ background:#f0ebf8; }
.cbd-fcol{ width:640px; margin:12px auto 0; }
.cbd-fcard{ position:relative; background:#fff; border:1px solid #dadce0; border-radius:8px; padding:20px 24px; margin-bottom:12px; }
.cbd-fcard.head{ border-top:10px solid #673ab7; padding-top:14px; }
.cbd-fcard.head h3{ font-size:28px; font-weight:400; margin-bottom:8px; }
.cbd-fq{ font-size:16px; margin-bottom:18px !important; }
.cbd-answer{ position:relative; width:62%; min-height:32px; border-bottom:1px solid #9aa0a6; padding:4px 0; font-size:15px; display:flex; align-items:center; gap:1px; }
.cbd-answer.is-focus{ border-bottom:2px solid #673ab7; }
.cbd-ph{ color:#70757a; }
.cbd-submit{ display:inline-block; background:#673ab7; color:#fff; border-radius:4px; padding:9px 24px; font-size:14px; font-weight:500; }
.cbd-dict{ position:absolute; left:-6px; top:calc(100% + 10px); display:flex; align-items:center; gap:8px; height:38px; padding:0 16px 0 6px; border-radius:19px; background:#fff; box-shadow:0 4px 16px rgba(0,0,0,.28); font-size:13px; color:#1f1f1f; white-space:nowrap; z-index:3; }
.cbd-dict-mic{ width:28px; height:28px; border-radius:50%; background:#0b57d0; color:#fff; display:grid; place-items:center; }
.cbd-dict-mic svg{ width:15px; height:15px; }

/* a published page (Find, zoom) */
.cbd-pubpg{ background:#fff; }
.cbd-pubbar{ height:40px; background:#f1f3f4; border-bottom:1px solid #dadce0; display:flex; align-items:center; justify-content:center; font-size:13px; color:#555; }
.cbd-pub{ width:700px; margin:26px auto 0; font-size:17px; }
.cbd-pub h3{ font-size:28px; font-weight:700; margin-bottom:14px; }
.cbd-pub p{ margin-bottom:14px; }
.cbd-pub mark{ background:transparent; color:inherit; border-radius:2px; padding:0 1px; }
.cbd-pub mark.is-hit{ background:#fff35c; }
.cbd-pub mark.is-cur{ background:#ff9a3c; }
.cbd-find{ position:absolute; right:96px; top:0; width:360px; height:48px; background:#fff; border-radius:0 0 10px 10px; box-shadow:0 6px 18px rgba(0,0,0,.22); display:flex; align-items:center; gap:14px; padding:0 14px; font-size:14px; color:#555; z-index:6; }
.cbd-find-q{ flex:1; height:30px; display:flex; align-items:center; border-radius:6px; padding:0 8px; color:#1f1f1f; }
.cbd-find-q.is-typed{ background:#f1f3f4; }
.cbd-find-n{ min-width:34px; font-size:13px; color:#666; }

/* Chrome's translate box */
.cbd-tr{ position:absolute; right:60px; top:4px; width:340px; min-height:124px; background:#fff; border-radius:10px; box-shadow:0 8px 26px rgba(0,0,0,.3); padding:14px 16px; z-index:6; font-size:14px; }
.cbd-tr-h{ display:flex; align-items:center; gap:16px; margin-bottom:14px; }
.cbd-tr-h b{ flex:1; font-weight:500; font-size:15px; }
.cbd-tr-dots{ font-size:20px; padding:0 6px; border-radius:50%; }
.cbd-tr-dots.is-pressed{ background:#e8eaed; }
.cbd-tr-tabs{ display:flex; gap:22px; border-bottom:1px solid #dadce0; }
.cbd-tr-tabs span{ padding:8px 4px; color:#555; }
.cbd-tr-tabs span.on, .cbd-tr-tabs span.is-on{ color:#0b57d0; border-bottom:3px solid #0b57d0; font-weight:500; }
.cbd-tr-tabs span.is-off{ color:#555; border-bottom:0; font-weight:400; }
.cbd-tr-more{ right:12px; top:44px; width:250px; }
.cbd-tr-choice{ position:absolute; left:0; right:0; top:48px; bottom:0; min-height:150px; background:#fff; border-radius:0 0 10px 10px; padding:6px 16px 14px; }
.cbd-tr-choice small{ display:block; font-size:12px; color:#555; margin-bottom:6px; }
.cbd-tr-select{ height:38px; border:1px solid #9aa0a6; border-radius:6px; display:flex; align-items:center; justify-content:space-between; padding:0 12px; }
.cbd-tr-go{ display:flex; justify-content:flex-end; gap:10px; margin-top:16px; }
.cbd-tr-go span{ padding:7px 16px; border-radius:16px; font-weight:500; color:#0b57d0; }
.cbd-tr-go .cbd-tr-btn{ background:#0b57d0; color:#fff; }
.cbd-tr-opts{ left:16px; top:66px; width:308px; }

/* Gmail */
.cbd-mailpg{ background:#f6f8fc; }
.cbd-mtop{ height:60px; display:flex; align-items:center; gap:12px; padding:0 18px; }
.cbd-mlogo{ width:30px; height:22px; border-radius:4px; background:#ea4335; color:#fff; font-weight:700; display:grid; place-items:center; font-size:14px; }
.cbd-mtop b{ font-size:20px; font-weight:400; color:#444; margin-right:60px; }
.cbd-msearch{ flex:0 0 620px; height:44px; border-radius:22px; background:#e9eef6; display:flex; align-items:center; padding:0 20px; color:#555; }
.cbd-mside{ position:absolute; left:0; top:60px; width:220px; display:flex; flex-direction:column; gap:2px; padding:0 10px 0 0; }
.cbd-mside span{ padding:7px 16px 7px 26px; border-radius:0 16px 16px 0; font-size:14px; }
.cbd-mside .sel{ background:#d3e3fd; font-weight:700; }
.cbd-mside .cbd-compose{ background:#c2e7ff; border-radius:16px; padding:16px 22px; margin:0 0 10px 12px; width:max-content; font-weight:500; }
.cbd-mlist{ position:absolute; left:230px; right:16px; top:60px; bottom:0; background:#fff; border-radius:16px 16px 0 0; padding-top:8px; }
.cbd-mlist div{ height:40px; border-bottom:1px solid #eef0f3; display:flex; align-items:center; gap:20px; padding:0 20px; font-size:14px; }
.cbd-mlist div b{ width:150px; }
.cbd-mnew{ position:absolute; right:40px; bottom:0; width:500px; height:420px; background:#fff; border-radius:10px 10px 0 0; box-shadow:0 8px 30px rgba(0,0,0,.3); display:flex; flex-direction:column; }
.cbd-mnew-h{ height:40px; background:#f2f6fc; border-radius:10px 10px 0 0; display:flex; align-items:center; justify-content:space-between; padding:0 16px; font-size:14px; font-weight:500; }
.cbd-mrow{ height:38px; border-bottom:1px solid #eef0f3; margin:0 16px; display:flex; align-items:center; gap:10px; font-size:14px; color:#444; }
.cbd-mbody{ flex:1; padding:12px 16px; font-size:14px; position:relative; }
.cbd-mbody p{ margin-bottom:6px; }
.cbd-pasted{ width:280px; border:1px solid #c9ced8; background:#fff; padding:10px 14px; margin-top:4px; }
.cbd-mfoot{ height:56px; display:flex; align-items:center; padding:0 16px; }
.cbd-send{ background:#0b57d0; color:#fff; border-radius:18px; padding:8px 24px; font-weight:500; font-size:14px; }

/* a small picture of the assignment (pasted screenshot, the screenshot box, side by side) */
.cbd-mini h4{ font-size:14px; margin-bottom:6px; }
.cbd-mini i{ display:block; height:7px; border-radius:3px; background:#cfd6e2; margin-bottom:6px; }
.cbd-mini .t{ display:grid; grid-template-columns:1fr 1fr; border:1px solid #c3cad6; margin:6px 0; }
.cbd-mini .t span{ height:16px; border:1px solid #dde2ea; }

/* the shelf along the bottom */
.cbd-shelf{ position:absolute; left:0; right:0; bottom:0; height:48px; background:rgba(30,38,56,.86); display:flex; align-items:center; padding:0 8px; z-index:20; }
.cbd-launch{ width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,.16); display:grid; place-items:center; }
.cbd-launch::after{ content:""; width:12px; height:12px; border-radius:50%; border:2.5px solid #fff; }
.cbd-apps{ position:absolute; left:50%; top:9px; transform:translateX(-50%); display:flex; gap:14px; }
.cbd-app{ width:30px; height:30px; border-radius:50%; position:relative; }
.cbd-app.chrome{ background:conic-gradient(from -30deg, #ea4335 0 120deg, #fbbc04 0 240deg, #34a853 0); }
.cbd-app.chrome::after{ content:""; position:absolute; inset:8px; border-radius:50%; background:#4285f4; box-shadow:0 0 0 3px #fff; }
.cbd-app.files{ background:#1a73e8; border-radius:8px; }
.cbd-app.docs{ background:#4285f4; border-radius:6px; width:24px; margin:0 3px; }
.cbd-app.gmail{ background:#fff; border-radius:6px; box-shadow:inset 0 -12px 0 #ea4335; }
.cbd-app.yt{ background:#ff0000; border-radius:9px; height:22px; margin-top:4px; }
.cbd-tray{ margin-left:auto; display:flex; gap:6px; align-items:center; }
.cbd-pill{ height:32px; border-radius:16px; background:rgba(255,255,255,.14); color:#fff; display:flex; align-items:center; gap:8px; padding:0 12px; font-size:13px; font-weight:500; white-space:nowrap; }
.cbd-pill svg{ width:16px; height:16px; }
.cbd-pill.is-pressed, .cbd-pill.is-listening, .cbd-pill.is-on{ background:#a8c7fa; color:#062e6f; }

/* Quick Settings, above the time */
.cbd-qs{ position:absolute; right:8px; bottom:56px; width:380px; background:#eef2f8; border-radius:24px; box-shadow:0 10px 30px rgba(0,0,0,.35); padding:16px; display:flex; flex-direction:column; gap:12px; z-index:22; }
.cbd-qs-top{ display:flex; align-items:center; gap:10px; }
.cbd-qs-top .d{ margin-right:auto; font-size:13px; font-weight:500; color:#333; }
.cbd-qs-out{ border:1px solid #9aa0a6; border-radius:16px; padding:6px 14px; font-size:13px; font-weight:500; }
.cbd-qs-ic{ width:36px; height:36px; border-radius:50%; background:#dde3ec; display:grid; place-items:center; color:#333; }
.cbd-qs-ic svg{ width:19px; height:19px; }
.cbd-qs-ic.is-pressed{ background:#a8c7fa; }
.cbd-qs-tiles{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.cbd-qs-tiles span{ height:54px; border-radius:16px; background:#dde3ec; padding:8px 14px; font-size:13px; font-weight:500; display:flex; flex-direction:column; justify-content:center; }
.cbd-qs-tiles .on{ background:#0b57d0; color:#fff; }
.cbd-qs-tiles small{ font-weight:400; font-size:11px; opacity:.85; }
.cbd-qs-sl{ height:34px; border-radius:17px; background:#dde3ec; position:relative; overflow:hidden; }
.cbd-qs-sl b{ position:absolute; left:0; top:0; bottom:0; width:62%; background:#a8c7fa; border-radius:17px; }
.cbd-qs-sl.b2 b{ width:78%; }
.cbd-qs-foot{ display:flex; justify-content:space-between; font-size:12px; color:#444; padding:0 4px; }

/* the Settings app */
.cbd-set{ position:absolute; left:140px; top:30px; width:920px; height:570px; background:#f6f8fc; border-radius:12px; box-shadow:0 14px 40px rgba(0,0,0,.35); overflow:hidden; z-index:10; }
.cbd-set-h{ height:56px; display:flex; align-items:center; padding:0 16px 0 22px; gap:16px; }
.cbd-set-h b{ font-size:20px; font-weight:400; width:196px; }
.cbd-set-search{ width:460px; height:40px; border-radius:20px; background:#e3e8f0; display:flex; align-items:center; gap:10px; padding:0 16px; font-size:14px; color:#444; }
.cbd-set-search svg{ width:18px; height:18px; flex:none; }
.cbd-set-search.is-focus{ background:#fff; box-shadow:0 0 0 2px #0b57d0; }
.cbd-set-search [data-k="set-q"]{ color:#1f1f1f; }
.cbd-set .cbd-ctl{ margin-left:auto; }
.cbd-set-results{ position:absolute; left:234px; top:50px; width:460px; background:#fff; border-radius:0 0 16px 16px; box-shadow:0 8px 20px rgba(0,0,0,.2); padding:6px 0; z-index:3; }
.cbd-set-results span{ display:flex; flex-direction:column; padding:8px 20px; }
.cbd-set-results b{ font-weight:500; font-size:14px; }
.cbd-set-results small{ font-size:12px; color:#5f6368; }
.cbd-set-results span.is-pressed{ background:#e8f0fe; }
.cbd-set-nav{ position:absolute; left:0; top:56px; width:230px; padding:8px 0; display:flex; flex-direction:column; }
.cbd-set-nav span{ height:36px; display:flex; align-items:center; gap:14px; padding:0 20px; border-radius:0 18px 18px 0; font-size:13.5px; margin-right:12px; white-space:nowrap; }
.cbd-set-nav span::before{ content:""; width:15px; height:15px; border-radius:4px; border:2px solid #5f6b7c; flex:none; }
.cbd-set-nav .is-current{ background:#d3e3fd; color:#041e49; font-weight:500; }
.cbd-set-nav .is-pressed{ background:#c2d6f7; }
.cbd-set-main{ position:absolute; left:244px; right:24px; top:66px; bottom:16px; }
.cbd-set-title{ font-size:18px; padding:2px 4px 12px; display:flex; align-items:center; gap:12px; }
.cbd-set-card{ background:#fff; border-radius:16px; margin-bottom:12px; overflow:hidden; }
.cbd-row{ min-height:58px; display:flex; align-items:center; gap:14px; padding:8px 20px; border-bottom:1px solid #eef0f3; font-size:14px; }
.cbd-row:last-child{ border-bottom:0; }
.cbd-row small{ display:block; color:#5f6368; font-size:12px; }
.cbd-row .go{ margin-left:auto; color:#5f6368; font-size:18px; }
.cbd-toggle{ margin-left:auto; width:38px; height:22px; border-radius:11px; background:#c4c7c5; position:relative; flex:none; transition:background .2s; }
.cbd-toggle::after{ content:""; position:absolute; left:3px; top:3px; width:16px; height:16px; border-radius:50%; background:#fff; transition:left .2s; }
.cbd-toggle.is-on{ background:#0b57d0; }
.cbd-toggle.is-on::after{ left:19px; }
.cbd-logo{ width:40px; height:40px; border-radius:50%; background:conic-gradient(from -30deg, #ea4335 0 120deg, #fbbc04 0 240deg, #34a853 0); position:relative; flex:none; }
.cbd-logo::after{ content:""; position:absolute; inset:11px; border-radius:50%; background:#4285f4; box-shadow:0 0 0 3px #fff; }
.cbd-aicon{ width:30px; height:30px; border-radius:50%; background:#1e8e3e; position:relative; flex:none; }
.cbd-aicon::after{ content:""; position:absolute; left:10px; top:5px; width:8px; height:14px; border:solid #fff; border-width:0 3px 3px 0; transform:rotate(45deg); }
.cbd-aicon.is-spin{ background:transparent; border:4px solid #c9d7f0; border-top-color:#0b57d0; animation:cbd-spin .9s linear infinite; }
.cbd-aicon.is-spin::after{ display:none; }
.cbd-aicon.is-up{ background:#0b57d0; }
.cbd-aicon.is-up::after{ left:9px; top:7px; width:9px; height:9px; border-width:3px 0 0 3px; transform:rotate(45deg); }
@keyframes cbd-spin{ to{ transform:rotate(360deg); } }
.cbd-abtn{ margin-left:auto; border:1px solid #747775; border-radius:18px; padding:7px 18px; font-size:13px; font-weight:500; color:#0b57d0; background:#fff; white-space:nowrap; }
.cbd-abtn.is-primary{ background:#0b57d0; color:#fff; border-color:#0b57d0; }
.cbd-abtn.is-dim{ color:#9aa0a6; border-color:#d0d3d6; }
.cbd-abtn.is-pressed{ filter:brightness(.88); }

/* Select-to-speak buttons */
.cbd-s2s{ position:absolute; left:50%; bottom:62px; transform:translateX(-50%); height:52px; border-radius:26px; background:#eef2f8; box-shadow:0 8px 24px rgba(0,0,0,.3); display:flex; align-items:center; gap:12px; padding:0 16px; z-index:21; color:#1f1f1f; }
.cbd-s2s i{ width:32px; height:32px; display:grid; place-items:center; border-radius:50%; }
.cbd-s2s i.big{ background:#0b57d0; color:#fff; }
.cbd-s2s svg{ width:16px; height:16px; }
.cbd-s2s span{ font-size:13px; font-weight:600; border:1px solid #9aa0a6; border-radius:12px; padding:2px 10px; }

/* screen capture */
.cbd-capdim{ position:absolute; inset:0; background:rgba(0,0,0,.42); z-index:40; }
.cbd-capsel{ position:absolute; left:0; top:0; width:0; height:0; z-index:40; border:2px solid #fff; box-shadow:0 0 0 3000px rgba(0,0,0,.42); }
.cbd-capbtn{ position:absolute; z-index:41; display:flex; align-items:center; gap:8px; height:42px; padding:0 18px; border-radius:21px; background:#d3e3fd; color:#041e49; font-weight:500; font-size:15px; box-shadow:0 4px 14px rgba(0,0,0,.35); white-space:nowrap; }
.cbd-capbtn svg{ width:18px; height:18px; }
.cbd-capbtn.is-pressed{ background:#a8c7fa; }
.cbd-capbar{ position:absolute; left:50%; bottom:64px; transform:translateX(-50%); z-index:42; height:56px; border-radius:28px; background:#eef2f8; display:flex; align-items:center; gap:4px; padding:0 10px; box-shadow:0 8px 24px rgba(0,0,0,.35); color:#333; }
.cbd-capbar i{ width:40px; height:40px; border-radius:50%; display:grid; place-items:center; }
.cbd-capbar i.on{ background:#d3e3fd; color:#041e49; }
.cbd-capbar svg{ width:20px; height:20px; }
.cbd-capbar b{ width:1px; height:26px; background:#c4c7c5; margin:0 6px; }
.cbd-toast{ position:absolute; right:8px; bottom:56px; width:380px; background:#fff; border-radius:16px; box-shadow:0 10px 30px rgba(0,0,0,.35); padding:12px; display:flex; gap:12px; align-items:center; z-index:30; }
.cbd-toast .cbd-mini{ width:120px; flex:none; border:1px solid #d5d9e0; border-radius:6px; padding:6px 8px; }
.cbd-toast .cbd-mini h4{ font-size:10px; margin-bottom:3px; }
.cbd-toast .cbd-mini i{ height:4px; margin-bottom:3px; }
.cbd-toast .cbd-mini .t span{ height:9px; }
.cbd-toast b{ display:block; font-size:15px; font-weight:500; }
.cbd-toast small{ font-size:13px; color:#555; }

/* Chrome split view: the tab menu, the joined tab, and two pages in one window */
.cbd-tabmenu{ left:390px; top:30px; width:310px; }
.cbd-tm-ic{ display:flex; align-items:center; gap:10px; }
.cbd-tm-ic svg{ width:16px; height:16px; color:#444; }
.cbd-tab.is-pressed{ background:rgba(255,255,255,.7); }
.cbd-tabsplit{ width:420px; padding:0 6px; gap:4px; }
.cbd-tabsplit > span{ flex:1; display:flex; align-items:center; gap:8px; height:25px; padding:0 10px; border-radius:6px; background:#e8f0fe; overflow:hidden; white-space:nowrap; }
.cbd-tabsplit > span + span{ background:#f1f3f4; }
.cbd-tabsplit b{ margin-left:4px; }
.cbd-split{ position:absolute; inset:0; background:#dde3ea; display:flex; padding:6px; z-index:5; }
.cbd-pane{ flex:1; position:relative; border-radius:10px; overflow:hidden; background:#fff; min-width:0; }
.cbd-pane:first-child{ flex:0 0 582px; box-shadow:0 0 0 2px #a8c7fa; }
.cbd-splitbar{ flex:0 0 12px; display:grid; place-items:center; }
.cbd-splitbar i{ width:4px; height:44px; border-radius:2px; background:#5f6b7c; }
.cbd-splitbar.is-pressed i{ background:#0b57d0; }
.cbd-panebody{ position:absolute; inset:0; padding:22px; }
.cbd-panebody.form{ background:#f0ebf8; }
.cbd-panebody.doc{ background:#f0f3f8; }
.cbd-panebody .cbd-mini{ background:#fff; border:1px solid #dadce0; border-radius:8px; padding:16px 20px; max-width:440px; margin:0 auto 12px; }
.cbd-panebody .cbd-mini h4{ font-size:20px; margin-bottom:10px; }
.cbd-panebody .cbd-mini i{ height:9px; margin-bottom:8px; }
.cbd-panebody .cbd-mini .t span{ height:24px; }
.cbd-panebody .cbd-mini .fq{ font-size:15px; }
.cbd-panebody.form .cbd-mini:first-child{ border-top:8px solid #673ab7; }

/* tablet: the keyboard on the screen and handwriting */
.cbd-osk{ position:absolute; left:0; right:0; top:360px; height:267px; background:#e3e7ee; z-index:8; padding:6px 120px 10px; display:flex; flex-direction:column; gap:6px; box-shadow:0 -4px 14px rgba(0,0,0,.15); }
.cbd-osk-bar{ height:36px; display:flex; align-items:center; gap:18px; padding:0 6px; color:#3a4558; }
.cbd-osk-bar i{ width:34px; height:34px; display:grid; place-items:center; border-radius:50%; }
.cbd-osk-bar i.is-pressed, .cbd-osk-bar i.is-on{ background:#a8c7fa; }
.cbd-osk-bar svg{ width:20px; height:20px; }
.cbd-osk-bar b{ margin-left:auto; font-weight:400; font-size:20px; }
.cbd-osk-rows{ flex:1; display:flex; flex-direction:column; gap:6px; }
.cbd-osk-rows div{ flex:1; display:flex; gap:6px; justify-content:center; }
.cbd-osk-rows i{ flex:0 0 78px; border-radius:8px; background:#fff; display:grid; place-items:center; font-size:18px; box-shadow:0 1px 0 #a9b1bf; }
.cbd-osk-rows i.wide{ flex-basis:118px; font-size:14px; }
.cbd-osk-rows i.space{ flex-basis:430px; }
.cbd-ink{ flex:1; background:#fff; border-radius:10px; position:relative; }
.cbd-ink svg{ position:absolute; left:60px; top:16px; width:840px; height:170px; }
.cbd-ink small{ position:absolute; left:16px; top:10px; font-size:12px; color:#777; }
.cbd-stroke{ fill:none; stroke:#1a73e8; stroke-width:7; stroke-linecap:round; stroke-linejoin:round; }

/* the highlight, the pointer, clicks and fingers */
.cbd-spot{ position:absolute; z-index:60; border-radius:9px; border:3px solid #ffd21f; box-shadow:0 0 0 2400px rgba(12,22,48,.3); pointer-events:none; animation:cbd-pulse 1.5s ease-in-out infinite; }
@keyframes cbd-pulse{ 50%{ border-color:#fff1a0; } }
.cbd-tag{ position:absolute; left:50%; bottom:calc(100% + 12px); transform:translateX(-50%); background:#ffd21f; color:#1b1f2a; font-weight:800; font-size:15px; line-height:1.2; padding:5px 12px; border-radius:8px; white-space:nowrap; box-shadow:0 3px 10px rgba(0,0,0,.25); }
.cbd-tag::after{ content:""; position:absolute; left:50%; top:100%; margin-left:-6px; border:6px solid transparent; border-top-color:#ffd21f; border-bottom:0; }
.cbd-spot.below .cbd-tag{ bottom:auto; top:calc(100% + 12px); }
.cbd-spot.below .cbd-tag::after{ top:auto; bottom:100%; border:6px solid transparent; border-bottom-color:#ffd21f; border-top:0; }
.cbd-spot.side .cbd-tag{ left:calc(100% + 13px); bottom:auto; top:50%; transform:translateY(-50%); }
.cbd-spot.side .cbd-tag::after{ left:auto; right:100%; top:50%; margin:-6px 0 0; border:6px solid transparent; border-right-color:#ffd21f; border-left:0; }
.cbd-spot.left .cbd-tag{ left:auto; right:calc(100% + 13px); bottom:auto; top:50%; transform:translateY(-50%); }
.cbd-spot.left .cbd-tag::after{ left:100%; top:50%; margin:-6px 0 0; border:6px solid transparent; border-left-color:#ffd21f; border-right:0; }
.cbd-pointer{ position:absolute; z-index:70; left:0; top:0; width:22px; height:27px; transition:transform .8s cubic-bezier(.4,0,.2,1); filter:drop-shadow(0 1px 2px rgba(0,0,0,.4)); pointer-events:none; }
.cbd-cross{ width:30px; height:30px; margin:-15px 0 0 -15px; }
.cbd-ripple{ position:absolute; z-index:65; width:44px; height:44px; margin:-22px 0 0 -22px; border-radius:50%; border:4px solid #1a73e8; opacity:0; pointer-events:none; }
.cbd-ripple.go{ animation:cbd-ripple .6s ease-out; }
.cbd-ripple.alt{ border-color:#e8590c; }
@keyframes cbd-ripple{ from{ opacity:.95; transform:scale(.25); } to{ opacity:0; transform:scale(1.5); } }
.cbd-touch{ position:absolute; left:0; top:0; z-index:70; width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%; background:rgba(26,115,232,.45); border:3px solid #1a73e8; pointer-events:none; }
.cbd-touch.small{ width:22px; height:22px; margin:-11px 0 0 -11px; }
.cbd-touch.holding::after{ content:""; position:absolute; inset:-14px; border-radius:50%; border:4px solid #ffd21f; animation:cbd-hold 1.4s linear forwards; }
@keyframes cbd-hold{ from{ clip-path:inset(0 0 100% 0); } to{ clip-path:inset(0 0 0 0); } }

@media (prefers-reduced-motion:reduce){
  .cbd, .cbd-pointer{ transition:none; }
  .cbd-spot, .cbd-caret{ animation:none; }
}
