/* The clickable dashboard in the home page hero. Drawn at 1280x720 like the old screenshot,
   then scaled to the hero's width by demo.js (--gqd-s), so it looks exactly like the picture. */
#gq-demo.is-live { position: relative; overflow: hidden; }
#gq-demo.is-live > img { display: none; }
.gqd { --ink: #2d2c29; --ink2: #6b685f; --ink3: #a19d93; --line: #ece8de; --line2: #e2ddd0; --lime: #dcf53a; --terra: #b5643c;
  position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform: scale(var(--gqd-s, .78)); transform-origin: 0 0;
  display: grid; grid-template-columns: 200px minmax(0, 1fr) 290px; grid-template-rows: 720px;
  font: 400 14px/1.45 'Geist', -apple-system, sans-serif; color: var(--ink); text-align: left; -webkit-font-smoothing: antialiased; }
.gqd *, .gqd *::before, .gqd *::after { box-sizing: border-box; }
:where(.gqd) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
.gqd svg { display: block; }

/* sidebar (see-through, like the screenshot) */
.gqd-side { min-height: 0; overflow: hidden; background: rgba(250, 248, 242, .38); border-right: 1px solid rgba(255, 255, 255, .35); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.gqd-ws { display: flex; align-items: center; gap: 8px; padding: 6px 8px 18px; font-weight: 500; }
.gqd-ws i { width: 22px; height: 22px; border-radius: 6px; background: var(--terra); display: grid; place-items: center; flex: none; }
.gqd-ws .chev { margin-left: auto; color: var(--ink3); }
.gqd .gqd-nav { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 9px; border-radius: 7px; color: #45433d; width: 100%; transition: background .15s; }
.gqd-nav svg { width: 15px; height: 15px; color: #8a867c; flex: none; }
.gqd .gqd-nav:hover { background: rgba(255, 255, 255, .4); }
.gqd .gqd-nav.on { background: rgba(255, 255, 255, .75); box-shadow: 0 0 0 1px var(--line2); color: var(--ink); font-weight: 500; }
.gqd-nav .n { margin-left: auto; font-size: 11px; background: var(--lime); border-radius: 10px; padding: 0 7px; line-height: 18px; font-weight: 600; }
.gqd-side .grow { flex: 1; }

/* main column */
.gqd-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; background: rgba(255, 255, 255, .8); }
.gqd-top { height: 56px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 26px; border-bottom: 1px solid var(--line); }
.gqd-top b { font-weight: 500; }
.gqd-top .crumb { color: var(--ink2); }
.gqd-top .sp { flex: 1; }
.gqd .gqd-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 8px; border: 1px solid var(--line2); background: #fff; font-size: 13px; white-space: nowrap; transition: background .15s, transform .1s; }
.gqd .gqd-btn:hover { background: #f7f5ef; }
.gqd .gqd-btn:active { transform: scale(.98); }
.gqd .gqd-btn.dark { background: #2d2c29; color: #fff; border-color: #2d2c29; }
.gqd .gqd-btn.dark:hover { background: #45433d; }
.gqd-view { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.gqd-view::-webkit-scrollbar { display: none; }
.gqd-pad { padding: 28px 30px 30px; }
.gqd h2 { font: 500 15px/1.3 'Geist', sans-serif; margin: 0 0 12px; }
.gqd h1 { font: 400 23px/1.2 'Newsreader', Georgia, serif; letter-spacing: -.01em; margin: 0; }
.gqd .muted { color: var(--ink2); }
.gqd .small { font-size: 12.5px; }
.gqd .key { font: 400 12.5px 'Geist Mono', ui-monospace, monospace; color: var(--ink2); white-space: nowrap; }

/* result chips */
.gqd .res { display: inline-flex; align-items: center; gap: 7px; border-radius: 20px; padding: 4px 11px; font-size: 12.5px; white-space: nowrap; }
.gqd .res::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.gqd .ok { background: #ecf6e3; color: #2f6e22; } .gqd .ok::before { background: #46b33a; }
.gqd .bad { background: #fbe9e4; color: #9b3522; } .gqd .bad::before { background: #d2553b; }
.gqd .wait { background: #f3efe4; color: #7a6a45; } .gqd .wait::before { background: #c7a24d; }
.gqd .run { background: #f4fbd0; color: #4d5a10; } .gqd .run::before { background: #9bb61b; }

/* employee card */
.gqd-emp { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(90deg, rgba(251, 248, 238, .8), rgba(255, 255, 255, .4) 60%); }
.gqd-av { width: 52px; height: 52px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none; position: relative; }
.gqd-av svg { width: 28px; height: 28px; color: #2d2c29; }
.gqd-av::after { content: ''; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #46b33a; border: 2px solid #fff; }
.gqd-emp .live { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: #2f6e22; background: #eaf6df; border-radius: 20px; padding: 2px 10px; }
.gqd-emp .live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #46b33a; }
.gqd-emp .stat { margin-left: auto; text-align: right; color: var(--ink2); font-size: 13px; }
.gqd-emp .stat b { display: block; font: 300 30px/1.1 'Newsreader', serif; color: var(--ink); }

/* tables */
.gqd-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.gqd-table th { font-weight: 400; color: var(--ink3); font-size: 12px; text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); background: rgba(252, 251, 248, .6); }
.gqd-table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.gqd-table tr:last-child td { border-bottom: 0; }
.gqd-table tr.click { cursor: pointer; transition: background .15s; }
.gqd-table tr.click:hover td { background: rgba(255, 255, 255, .7); }
.gqd-table tr.new td { animation: gqd-new 1.6s ease-out; }
@keyframes gqd-new { from { background: rgba(220, 245, 58, .4); } }
.gqd-table td.tk { width: 100%; max-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gqd .tt { font-weight: 500; }
.gqd .vid { display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); font-size: 13px; white-space: nowrap; }
.gqd .vid i { width: 20px; height: 14px; border-radius: 3px; background: #2d2c29; display: grid; place-items: center; }
.gqd .vid i::after { content: ''; border-left: 5px solid #fff; border-top: 3px solid transparent; border-bottom: 3px solid transparent; margin-left: 1px; }
.gqd .vid:hover { color: var(--ink); }
.gqd .more { margin-top: 12px; font-size: 13px; color: var(--ink2); }
.gqd .more:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* right panel: what it is testing now */
.gqd-now { min-height: 0; overflow: hidden; background: rgba(255, 255, 255, .62); border-left: 1px solid rgba(255, 255, 255, .4); display: flex; flex-direction: column; }
.gqd-now .rh { height: 56px; flex: none; display: flex; align-items: center; padding: 0 20px; gap: 8px; border-bottom: 1px solid var(--line); }
.gqd-now .rh b { font-weight: 500; }
.gqd-now .rh .key { margin-left: auto; }
.gqd-now .rb { padding: 22px 20px; }
.gqd .gqd-now .ttl { display: block; font: 400 19px/1.25 'Newsreader', serif; margin: 4px 0 18px; text-align: left; }
.gqd .gqd-now .ttl:hover { text-decoration: underline; text-underline-offset: 3px; }
.gqd-st { display: flex; gap: 10px; padding: 11px 0; position: relative; font-size: 14px; }
.gqd-st::before { content: ''; position: absolute; left: 8px; top: 30px; bottom: -11px; width: 1px; background: var(--line2); }
.gqd-st:last-child::before { display: none; }
.gqd-dot { width: 17px; height: 17px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid var(--line2); background: #fff; position: relative; z-index: 1; margin-top: 1px; transition: all .3s; }
.gqd-st.done .gqd-dot { background: #2d2c29; border-color: #2d2c29; }
.gqd-st.done .gqd-dot::after { content: ''; width: 6px; height: 3px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg) translate(0, -1px); }
.gqd-st.now .gqd-dot { border: 1.5px solid #9bb61b; box-shadow: 0 0 0 3px rgba(220, 245, 58, .55); }
.gqd-st.now .gqd-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #9bb61b; }
.gqd-st.todo { color: var(--ink3); }
.gqd-now .note { margin: 14px 0 0; color: var(--ink2); font-size: 12.5px; line-height: 1.5; }

/* home */
.gqd-hello { font: 400 27px/1.2 'Newsreader', serif; margin: 0 0 4px; }
.gqd-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 26px; }
.gqd .gqd-tile { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: rgba(255, 255, 255, .55); transition: background .15s; }
.gqd .gqd-tile:hover { background: rgba(255, 255, 255, .85); }
.gqd-tile b { display: block; font: 300 30px/1.1 'Newsreader', serif; margin-bottom: 4px; }
.gqd-tile span { color: var(--ink2); font-size: 13px; }
.gqd-vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; } /* top-align cards: a 2 line title must not push the others down */
.gqd-vcard .th { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #14161a; margin-bottom: 9px; }
.gqd-vcard .th img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gqd-vcard .th.portrait img { object-fit: contain; }
.gqd-vcard:hover .th img { transform: scale(1.03); }
.gqd-vcard .play { position: absolute; inset: 0; display: grid; place-items: center; }
.gqd-vcard .play span { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.gqd-vcard .play span::after { content: ''; border-left: 11px solid #2d2c29; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.gqd-vcard .dur { position: absolute; right: 7px; bottom: 6px; font: 500 11px/1 'Geist Mono', monospace; color: #fff; background: rgba(0, 0, 0, .6); padding: 3px 6px; border-radius: 4px; }
.gqd-vcard .t { font-weight: 500; font-size: 14px; line-height: 1.3; }
.gqd-vcard .m { display: flex; gap: 8px; align-items: center; margin-top: 5px; flex-wrap: wrap; }

/* ticket */
.gqd-back { display: inline-flex; align-items: center; gap: 5px; color: var(--ink2); font-size: 13px; margin-bottom: 14px; }
.gqd-back:hover { color: var(--ink); }
.gqd-tk { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 26px; }
.gqd-tk .sum { margin: 12px 0 18px; line-height: 1.55; }
.gqd-chk { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.gqd-chk li { display: flex; gap: 10px; line-height: 1.4; }
.gqd-chk li i { width: 17px; height: 17px; border-radius: 50%; flex: none; margin-top: 1px; background: #2d2c29; display: grid; place-items: center; }
.gqd-chk li i::after { content: ''; width: 6px; height: 3px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg) translate(0, -1px); }
.gqd-runs { display: grid; gap: 8px; margin-top: 14px; }
.gqd .gqd-run { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .6); font-size: 13px; width: 100%; }
.gqd-run b { white-space: nowrap; }
.gqd-run .sp { flex: 1; }

/* settings */
.gqd-set { display: grid; gap: 18px; max-width: 620px; }
.gqd-set h3 { font: 500 14px/1.3 'Geist', sans-serif; margin: 0 0 7px; }
.gqd-set p.d { color: var(--ink2); font-size: 12.5px; margin: -3px 0 9px; }
.gqd-in { width: 100%; height: 36px; border: 1px solid var(--line2); border-radius: 8px; padding: 0 12px; font: inherit; background: #fff; color: var(--ink); outline: none; }
.gqd-in:focus, .gqd-ta:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(220, 245, 58, .5); }
.gqd-ta { width: 100%; min-height: 70px; border: 1px solid var(--line2); border-radius: 8px; padding: 9px 12px; font: inherit; resize: none; background: #fff; color: var(--ink); outline: none; line-height: 1.45; }
.gqd-seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; background: #fff; }
.gqd .gqd-seg button { padding: 6px 14px; font-size: 13px; color: var(--ink2); }
.gqd .gqd-seg button.on { background: #2d2c29; color: #fff; }
.gqd-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gqd .gqd-tog { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 6px 12px 6px 7px; border: 1px solid var(--line2); border-radius: 20px; background: #fff; }
.gqd-tog i { width: 28px; height: 16px; border-radius: 10px; background: #d9d4c6; position: relative; transition: background .2s; }
.gqd-tog i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .2s; }
.gqd-tog.on i { background: #9bb61b; }
.gqd-tog.on i::after { transform: translateX(12px); }
.gqd-logins { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.gqd-logins div { display: flex; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.gqd-logins div:last-child { border: 0; }

/* slack */
.gqd-slack { display: grid; grid-template-columns: 160px minmax(0, 1fr); height: 100%; background: #fff; }
.gqd-sk-side { background: #3b1f3a; color: #d7c6d6; padding: 14px 8px; font-size: 13.5px; display: flex; flex-direction: column; gap: 1px; }
.gqd-sk-side .ws { color: #fff; font-weight: 700; padding: 2px 8px 14px; font-size: 14px; }
.gqd-sk-side .h { font-size: 12px; color: #a98fa8; padding: 10px 8px 4px; }
.gqd-sk-side .ch { padding: 4px 8px; border-radius: 6px; display: flex; gap: 7px; align-items: center; }
.gqd-sk-side .ch.on { background: #1164a3; color: #fff; font-weight: 600; }
.gqd-sk-side .ch .av { width: 16px; height: 16px; border-radius: 4px; background: var(--lime); display: grid; place-items: center; }
.gqd-sk-side .ch .av svg { width: 11px; height: 11px; color: #2d2c29; }
.gqd-sk-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.gqd-sk-hd { height: 48px; flex: none; border-bottom: 1px solid #e8e8e8; display: flex; align-items: center; padding: 0 16px; gap: 9px; }
.gqd-sk-hd b { font-weight: 700; }
.gqd .gqd-sk-hd .bk { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: #616061; font-size: 18px; }
.gqd .gqd-sk-hd .bk:hover { background: #f0f0f0; }
.gqd-sk-list { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 0; scrollbar-width: thin; }
.gqd-msg { display: flex; gap: 10px; padding: 8px 16px; font-size: 14px; line-height: 1.5; }
.gqd-msg:hover { background: #f8f8f8; }
.gqd-msg .pic { width: 34px; height: 34px; border-radius: 8px; flex: none; display: grid; place-items: center; color: #fff; font: 600 12px 'Geist', sans-serif; }
.gqd-msg .pic.bot { background: var(--lime); }
.gqd-msg .pic.bot svg { width: 20px; height: 20px; color: #2d2c29; }
.gqd-msg .who { font-weight: 700; }
.gqd-msg .app { font-size: 10px; background: #ececec; color: #616061; padding: 1px 4px; border-radius: 3px; font-weight: 600; margin: 0 5px; vertical-align: 1px; }
.gqd-msg .time { color: #8a8a8a; font-size: 12px; }
.gqd-msg .body p { margin: 0; }
.gqd-msg .body em { color: #555; }
.gqd-msg .body a { color: #1264a3; cursor: pointer; }
.gqd-msg .body a:hover { text-decoration: underline; }
.gqd-msg code { font: 400 12px 'Geist Mono', monospace; background: #f6f6f6; border: 1px solid #e3e3e3; border-radius: 3px; padding: 0 3px; color: #c41e5a; }
.gqd-msg .mention { background: #e8f5fa; color: #1264a3; border-radius: 3px; padding: 0 2px; }
.gqd-msg .att { margin-top: 7px; width: 250px; }
.gqd-msg .att.portrait { width: 120px; }
.gqd-msg .att.portrait .th { aspect-ratio: 390 / 844; }
.gqd .replies { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 3px 7px 3px 3px; border-radius: 6px; border: 1px solid transparent; font-size: 12.5px; }
.gqd .replies:hover { border-color: #ddd; background: #fff; }
.gqd .replies .fa { display: flex; }
.gqd .replies .fa span { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; color: #fff; font: 600 9px 'Geist', sans-serif; margin-right: 2px; }
.gqd .replies b { color: #1264a3; font-weight: 600; }
.gqd .replies small { color: #8a8a8a; font-size: 12px; }
.gqd-sk-sep { display: flex; align-items: center; gap: 8px; color: #8a8a8a; font-size: 12px; padding: 6px 16px; }
.gqd-sk-sep::after { content: ''; flex: 1; height: 1px; background: #e8e8e8; }
.gqd-sk-comp { flex: none; margin: 8px 14px 14px; border: 1px solid #c8c8c8; border-radius: 8px; display: flex; align-items: center; padding: 0 6px 0 12px; height: 40px; background: #fff; }
.gqd-sk-comp input { flex: 1; border: 0; outline: none; font: inherit; font-size: 14px; background: transparent; color: #1d1c1d; }
.gqd .gqd-sk-comp button { width: 28px; height: 28px; border-radius: 5px; display: grid; place-items: center; background: #007a5a; color: #fff; }
.gqd-sk-comp button svg { width: 14px; height: 14px; }
.gqd-typing { padding: 2px 16px 8px 60px; color: #8a8a8a; font-size: 12px; }

/* pop ups inside the dashboard */
.gqd-ov { position: absolute; inset: 0; z-index: 20; background: rgba(20, 18, 16, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: grid; place-items: center; animation: gqd-fade .2s; }
@keyframes gqd-fade { from { opacity: 0; } }
.gqd-player { width: 820px; background: #0c0e12; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.gqd-player.portrait { width: auto; height: 640px; display: flex; flex-direction: column; }
.gqd-player video { display: block; width: 100%; background: #0c0e12; }
.gqd-player.portrait video { height: 590px; width: auto; }
.gqd-player .cap { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: #e9e6dc; font-size: 13px; }
.gqd .gqd-player .x { margin-left: auto; color: #fff; opacity: .7; font-size: 22px; line-height: 1; }
.gqd .gqd-player .x:hover { opacity: 1; }
.gqd-modal { width: 520px; background: #fff; border-radius: 14px; padding: 22px 24px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.gqd-modal h1 { margin-bottom: 4px; }
.gqd-modal p.d { color: var(--ink2); font-size: 13px; margin: 0 0 14px; }
.gqd-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 16px; }
.gqd .gqd-chips button { font-size: 12.5px; padding: 5px 11px; border-radius: 20px; background: #f3efe4; color: var(--ink); }
.gqd .gqd-chips button:hover { background: #ebe4d1; }
.gqd-modal .acts { display: flex; justify-content: flex-end; gap: 8px; }
.gqd-toast { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 30; background: #2d2c29; color: #fbf7eb; font-size: 13px; padding: 9px 16px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); animation: gqd-toast 2.8s forwards; white-space: nowrap; }
@keyframes gqd-toast { 0% { opacity: 0; transform: translate(-50%, 6px); } 10%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }
