/* ================= Sheets Academy: tema & tata letak materi ================= */
:root { --gs: #188038; --gs2: #0f9d58; --gsd: #0d652d; --ink: #1f2a24; --soft: #5f6b63; --line: #dadce0; }
body { background: #f6f8f6; color: var(--ink); }
.brand span { color: var(--gs); }
.mark.gsm { background: none; width: 30px; height: 34px; padding: 0; line-height: 0; }
.hero { background-color: #0d3b24; background-image: linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px); background-size: 28px 22px; }
.hero .eyebrow { color: #a8dab5; }
.hero .sub { color: #a8dab5; }
.eyebrow i { background: #34a853; }
.eyebrow { color: #3b6e4c; }
.sheet.gs-art { background: #fff; color: #202124; box-shadow: 9px 12px 0 #00000040; }
.gs-art .sheetbar { background: #e6f4ea; color: #0d652d; display: flex; align-items: center; gap: 6px; }
.gs-art .sheetgrid { grid-template-columns: 24px 1.4fr 1fr 1.2fr; }
.gs-art .sheetgrid > * { border-color: #e2e3e3; }
.gs-art .sheetgrid b { background: #f8f9fa; color: #5f6368; font-weight: 400; }
.gs-art .sheetgrid em { font-style: normal; }
.gs-art .sp { display: block; height: 24px; padding: 4px 6px; }
.gs-art .sp svg { width: 100%; height: 16px; }
.formula b { color: #188038; }
.lesson.active, .lesson:hover, .group:hover { background: #e6f4ea; }
.active { color: var(--gsd); }
.lesson.quizlink { color: var(--gsd); background: #eef7f0; }
.actions .cta, .qactions .primary, .authbox .primary, .gatebox .primary, .sb-act .primary, .dlg .primary { background: var(--gs); border-color: var(--gs); }
.actions .cta:hover { background: var(--gsd); }
.chip.go { background: var(--gs); border-color: var(--gs); }
.startbar { border-left-color: var(--gs); background: #e6f4ea; border-color: #b7dfc2; }
.qbar i { background: linear-gradient(90deg, #188038, #81c995); }
.custom button { background: var(--gs) !important; }

/* isi materi berformat */
.rich { color: #3c4a42; line-height: 1.75; }
.rich p { margin: 0 0 12px; }
.rich ul, .rich ol { margin: 0 0 12px; padding-left: 22px; }
.rich li { margin: 3px 0; }
.rich code { font: 13.5px Consolas, monospace; background: #f1f3f4; border: 1px solid #e3e5e8; border-radius: 4px; padding: 1px 5px; color: #0d652d; white-space: nowrap; }
.rich .tip, .rich .warnbox, .rich .info { border-radius: 10px; padding: 12px 14px; margin: 4px 0 14px; font-size: 14.5px; }
.rich .tip { background: #e6f4ea; border-left: 4px solid #34a853; }
.rich .warnbox { background: #fef7e0; border-left: 4px solid #f9ab00; }
.rich .info { background: #e8f0fe; border-left: 4px solid #4285f4; }
.rich h3 { font-size: 17px; margin: 18px 0 8px; color: #1f2a24; }
.rich table.cmp { margin: 4px 0 14px; border-collapse: collapse; font: 14px "Segoe UI", Arial, sans-serif; width: 100%; }
.rich table.cmp th { background: #f1f3f4; text-align: left; }
.rich table.cmp td, .rich table.cmp th { border: 1px solid #dadce0; padding: 7px 10px; vertical-align: top; }
.steps { margin: 6px 0 18px; padding: 14px 18px 14px 18px; background: #f8f9fa; border: 1px solid #e3e5e8; border-radius: 12px; }
.steps h3 { margin: 0 0 8px; font-size: 15px; color: #0d652d; display: flex; gap: 8px; align-items: center; }
.steps ol { margin: 0; padding-left: 22px; color: #3c4a42; font-size: 14.5px; line-height: 1.7; }
.steps b { color: #202124; }
.kbd { font: 12px Consolas, monospace; background: #fff; border: 1px solid #c8ccd0; border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; }

/* video modul */
.vid { margin: 2px 0 20px; border-radius: 14px; overflow: hidden; background: #0d3b24; border: 1px solid #cfe5d6; }
.vid video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0d3b24; }
.vid figcaption { padding: 8px 14px; font-size: 13px; color: #d7eadc; background: #0d3b24; display: flex; justify-content: space-between; gap: 10px; }
.vidbtn { border: 1px solid #b7dfc2; background: #e6f4ea; color: #0d652d; border-radius: 8px; padding: 6px 12px; font-weight: 650; font-size: 13px; }

/* panel latihan */
.lab.gslab { overflow: visible; }
.gslab .labhead { padding: 20px 24px 8px; flex-wrap: wrap; }
.gslab .labhead h2 { font-size: 22px; }
.gslab .labbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.gslab .labbtns button { border: 1px solid #ced8cf; background: #fff; border-radius: 8px; padding: 7px 12px; color: #0d652d; font-weight: 600; font-size: 13px; }
.tasks { margin: 0 24px 14px; padding: 12px 14px; border: 1px solid #e3e5e8; border-radius: 12px; background: #fbfcfb; }
.tasks h3 { margin: 0 0 6px; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.tasks h3 small { color: var(--soft); font-weight: 600; }
.tasks ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tasks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 14px; color: #3c4a42; align-items: start; }
.tasks li i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c4c7c5; display: grid; place-items: center; font-style: normal; font-size: 12px; margin-top: 1px; transition: .2s; }
.tasks li.ok i { background: #188038; border-color: #188038; color: #fff; }
.tasks li.ok span { color: #0d652d; }
.tasks .done { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #e6f4ea; color: #0d652d; font-weight: 650; font-size: 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tasks .done button { border: 0; background: #188038; color: #fff; border-radius: 8px; padding: 7px 12px; font-weight: 650; }
.tasks .hintline { margin-top: 8px; font-size: 13px; color: var(--soft); }
.tasks details { margin-top: 8px; font-size: 13.5px; color: #3c4a42; }
.tasks details summary { color: #0d652d; font-weight: 600; }
.simhost { padding: 0 24px 24px; }
.gslab.full { position: fixed; inset: 0; z-index: 40; border-radius: 0; overflow: auto; }
.gslab.full .gs-wrap { height: calc(100vh - 330px); max-height: none; }

/* ================= simulator Google Sheets ================= */
.gs { position: relative; font: 13px/1.3 Arial, "Segoe UI", sans-serif; color: #202124; background: #f9fbfd; border: 1px solid #c4c7c5; border-radius: 10px; overflow: hidden; outline: none; user-select: none; -webkit-user-select: none; }
.gs input, .gs select, .gs textarea, .gs button { font: inherit; }
.gs button { cursor: pointer; }
.gs svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.gs-top { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px 2px; background: #f9fbfd; }
.gs-logo { padding-top: 3px; }
.gs-logo svg { width: 22px; height: 30px; }
.gs-tb { flex: 1; min-width: 0; }
.gs-tline { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gs-title { font-size: 17px; border: 1px solid transparent; border-radius: 4px; padding: 1px 6px; background: transparent; min-width: 80px; width: 260px; max-width: 46vw; color: #1f1f1f; }
.gs-title:hover { border-color: #c4c7c5; }
.gs-title:focus { border-color: #1a73e8; outline: none; background: #fff; }
.gs-save { font-size: 12px; color: #5f6368; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-save::before { content: "☁ "; }
.gs-save.busy { color: #1a73e8; }
.gs-menus { display: flex; gap: 0; flex-wrap: wrap; margin-left: -2px; }
.gs-mb { background: none; border: 0; padding: 3px 7px; border-radius: 4px; font-size: 14px; color: #1f1f1f; }
.gs-mb:hover { background: #e9eef6; }
.gs-topr { display: flex; align-items: center; gap: 6px; padding-top: 4px; }
.gs-ib { background: none; border: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #444746; flex: none; }
.gs-ib:hover { background: #e9eef6; }
.gs-share { display: flex; align-items: center; gap: 6px; background: #c2e7ff; color: #001d35; border: 0; border-radius: 99px; padding: 8px 16px; font-weight: 600; font-size: 14px; }
.gs-share svg { width: 16px; height: 16px; }
.gs-share.pub { background: #d3e3fd; }
.gs-ava { width: 30px; height: 30px; border-radius: 50%; background: #1a73e8; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.gs-ava.peer { width: 26px; height: 26px; font-size: 12px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor; }
.gs-ava.sm { width: 26px; height: 26px; font-size: 12px; }
.gs-tool { display: flex; align-items: center; gap: 2px; margin: 4px 8px; padding: 3px 8px; background: #edf2fa; border-radius: 99px; overflow-x: auto; scrollbar-width: none; }
.gs-tool::-webkit-scrollbar { display: none; }
.gs-tool button { background: none; border: 0; height: 28px; min-width: 28px; border-radius: 4px; display: grid; place-items: center; color: #444746; padding: 0 5px; flex: none; }
.gs-tool button.txt { font-weight: 700; font-size: 13px; }
.gs-tool button:hover { background: #dde3ea; }
.gs-tool i { width: 1px; height: 20px; background: #c7c7c7; margin: 0 5px; flex: none; }
.gs-tool .sw { fill: #fbbc04; }
.gs-fbar { display: flex; align-items: center; border-top: 1px solid #e1e3e1; border-bottom: 1px solid #e1e3e1; background: #fff; height: 30px; }
.gs-name { width: 92px; border: 0; border-right: 1px solid #e1e3e1; height: 100%; padding: 0 8px; font-size: 13px; background: #fff; flex: none; }
.gs-name:focus, .gs-fx:focus { outline: 2px solid #1a73e8; outline-offset: -2px; }
.gs-fxl { padding: 0 10px; color: #5f6368; font-style: italic; font-family: Georgia, serif; border-right: 1px solid #e1e3e1; height: 100%; display: grid; place-items: center; }
.gs-fx { flex: 1; min-width: 0; border: 0; height: 100%; padding: 0 10px; font: 13px Consolas, "Roboto Mono", monospace; background: #fff; }
.gs-fv { display: flex; align-items: center; gap: 14px; padding: 6px 12px; background: #3c4043; color: #fff; font-size: 13px; flex-wrap: wrap; }
.gs-fv .gs-ib { color: #fff; width: 28px; height: 28px; margin-left: auto; }
.gs-fv .gs-ib:hover { background: #5f6368; }
.gs-fvname { background: #5f6368; border: 0; color: #fff; border-radius: 4px; padding: 3px 8px; width: 140px; }
.gs-fvr { color: #dadce0; font-size: 12px; }
.gs-body { display: flex; position: relative; background: #fff; }
.gs-wrap { position: relative; flex: 1; min-width: 0; overflow: auto; height: 380px; background: #fff; }
.gs-grid { border-collapse: separate; border-spacing: 0; table-layout: fixed; margin: 0; font: 13px Arial, sans-serif; }
.gs-grid th, .gs-grid td { border: 0; border-right: 1px solid #e2e3e3; border-bottom: 1px solid #e2e3e3; padding: 0 4px; height: 24px; white-space: nowrap; overflow: hidden; position: relative; }
.nogrid .gs-grid td { border-color: transparent; }
.gs-grid thead th { position: sticky; top: 0; z-index: 3; background: #f8f9fa; color: #5f6368; font-weight: 400; font-size: 11.5px; text-align: center; border-color: #c4c7c5; height: 23px; }
.gs-grid th.gs-rh { position: sticky; left: 0; z-index: 2; background: #f8f9fa; color: #5f6368; font-weight: 400; font-size: 11.5px; text-align: center; border-color: #c4c7c5; width: 46px; }
.gs-grid th.gs-corner { left: 0; z-index: 5; width: 46px; }
.gs-grid th.on { background: #d3e3fd; color: #041e49; font-weight: 700; }
.gs-grid th.gs-ch.fz { position: sticky; z-index: 4; }
.gs-grid td.fz { position: sticky; z-index: 1; background: #fff; }
.gs-grid tr.fz td, .gs-grid tr.fz th { position: sticky; top: var(--top); z-index: 2; background-color: #fff; }
.gs-grid tr.fz th { background: #f8f9fa; z-index: 3; }
.gs-grid tr.fz td.fz { z-index: 3; }
.gs-grid .fzl { border-right: 4px solid #c4c7c5 !important; }
.gs-grid tr .fzb, .gs-grid th.gs-rh.fzl { border-bottom: 4px solid #c4c7c5 !important; }
.gs-grid th.gs-rh.fzl { border-right-width: 1px !important; }
.gs-grid td { cursor: cell; background-clip: padding-box; }
.gs-grid td .t { display: block; overflow: hidden; text-overflow: clip; }
.gs-grid td.n { text-align: right; }
.gs-grid td.al-center { text-align: center; }
.gs-grid td.b { font-weight: 700; }
.gs-grid td.err .t { color: #c5221f; font-weight: 600; }
.gs-grid td.err::after { content: ""; position: absolute; right: 0; top: 0; border: 4px solid transparent; border-top-color: #d93025; border-right-color: #d93025; }
.gs-grid td.cm::before { content: ""; position: absolute; right: 0; top: 0; border: 5px solid transparent; border-top-color: #f9ab00; border-right-color: #f9ab00; }
.gs-grid td.spill .t { color: #202124; }
.gs-grid td.sel { background-image: linear-gradient(#1a73e81a, #1a73e81a); }
.gs-grid td.cur { background-image: none; }
.gs-grid td.rs-t { box-shadow: inset 0 2px 0 #1a73e8; }
.gs-grid td.rs-b { box-shadow: inset 0 -2px 0 #1a73e8; }
.gs-grid td.rs-l { box-shadow: inset 2px 0 0 #1a73e8; }
.gs-grid td.rs-r { box-shadow: inset -2px 0 0 #1a73e8; }
.gs-grid td.rs-t.rs-l { box-shadow: inset 0 2px 0 #1a73e8, inset 2px 0 0 #1a73e8; }
.gs-grid td.rs-t.rs-r { box-shadow: inset 0 2px 0 #1a73e8, inset -2px 0 0 #1a73e8; }
.gs-grid td.rs-b.rs-l { box-shadow: inset 0 -2px 0 #1a73e8, inset 2px 0 0 #1a73e8; }
.gs-grid td.rs-b.rs-r { box-shadow: inset 0 -2px 0 #1a73e8, inset -2px 0 0 #1a73e8; }
.gs-grid td.rs-t.rs-b { box-shadow: inset 0 2px 0 #1a73e8, inset 0 -2px 0 #1a73e8; }
.gs-grid td.rs-t.rs-b.rs-l { box-shadow: inset 0 2px 0 #1a73e8, inset 0 -2px 0 #1a73e8, inset 2px 0 0 #1a73e8; }
.gs-grid td.rs-t.rs-b.rs-r { box-shadow: inset 0 2px 0 #1a73e8, inset 0 -2px 0 #1a73e8, inset -2px 0 0 #1a73e8; }
.gs-grid td.rs-l.rs-r { box-shadow: inset 2px 0 0 #1a73e8, inset -2px 0 0 #1a73e8; }
.gs-grid td.rs-t.rs-l.rs-r { box-shadow: inset 0 2px 0 #1a73e8, inset 2px 0 0 #1a73e8, inset -2px 0 0 #1a73e8; }
.gs-grid td.rs-b.rs-l.rs-r { box-shadow: inset 0 -2px 0 #1a73e8, inset 2px 0 0 #1a73e8, inset -2px 0 0 #1a73e8; }
.gs-grid td.rs-t.rs-b.rs-l.rs-r { box-shadow: inset 0 0 0 2px #1a73e8; }
.gs-grid td.fillprev { background-image: linear-gradient(#1a73e80d, #1a73e80d); outline: 1px dashed #1a73e8; outline-offset: -1px; }
.gs-handle { position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; background: #1a73e8; border: 1.5px solid #fff; border-radius: 50%; cursor: crosshair; z-index: 2; }
.gs-edit { position: absolute; inset: 0; width: 100%; min-width: 160px; height: 100%; border: 2px solid #1a73e8; padding: 0 3px; font: 13px Arial, sans-serif; z-index: 6; background: #fff; outline: none; box-shadow: 0 2px 6px #0003; }
.gs-cbx { display: grid; place-items: center; width: 15px; height: 15px; margin: 0 auto; border: 2px solid #5f6368; border-radius: 2px; cursor: pointer; background: #fff; }
.gs-cbx.on { background: #1a73e8; border-color: #1a73e8; color: #fff; }
.gs-cbx svg { width: 13px; height: 13px; }
.gs-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; background: #e8eaed; border-radius: 99px; padding: 1px 6px 1px 9px; font-size: 12.5px; cursor: pointer; overflow: hidden; }
.gs-chip b { font-size: 10px; color: #444746; }
.gs-chip.bad { outline: 1.5px solid #d93025; }
.gs-ddv { display: block; text-align: right; color: #80868b; cursor: pointer; padding-right: 2px; }
.gs-ddv.empty::before { content: ""; }
td.dd { text-align: left !important; }
.gs-spark { display: block; height: 19px; }
.gs-spark svg { width: 100%; height: 19px; }
.gs-fbtn { position: absolute; right: 2px; top: 3px; width: 18px; height: 18px; border: 0; border-radius: 3px; background: #fff; display: grid; place-items: center; color: #188038; padding: 0; }
.gs-fbtn svg { width: 14px; height: 14px; }
.gs-fbtn.act { background: #188038; color: #fff; }
td.fh { padding-right: 24px; background: #e6f4ea !important; }
.viewing td.fh { background: #e8eaed !important; }
.viewing .gs-grid thead th { background: #5f6368; color: #fff; }
.viewing .gs-grid th.gs-rh { background: #5f6368; color: #fff; }
.gs-peer { position: absolute; right: 0; top: -1px; font-size: 10px; color: #fff; padding: 0 4px; border-radius: 0 0 0 3px; z-index: 4; line-height: 13px; }
.gs-charts { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.gs-chart { position: absolute; width: 380px; background: #fff; border: 1px solid #dadce0; border-radius: 6px; box-shadow: 0 2px 8px #0002; z-index: 7; }
.gs-chart svg { width: 100%; height: auto; display: block; border-radius: 0 0 6px 6px; }
.gs-chead { display: flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-bottom: 1px solid #eee; cursor: move; font-size: 12px; color: #5f6368; }
.gs-chead span { flex: 1; }
.gs-chead button { background: none; border: 0; width: 24px; height: 24px; border-radius: 4px; color: #5f6368; display: grid; place-items: center; }
.gs-chead button:hover { background: #f1f3f4; }
.gs-chead svg { width: 15px; height: 15px; }
.gs-tabs { display: flex; align-items: center; gap: 4px; padding: 4px 8px; background: #f9fbfd; border-top: 1px solid #e1e3e1; overflow-x: auto; }
.gs-tablist { display: flex; gap: 2px; }
.gs-tab { display: flex; align-items: center; gap: 6px; background: none; border: 0; border-radius: 4px; padding: 6px 10px; font-size: 13px; color: #444746; white-space: nowrap; }
.gs-tab b { font-size: 10px; color: #5f6368; padding: 0 2px; border-radius: 2px; }
.gs-tab b:hover { background: #dde3ea; }
.gs-tab:hover { background: #e9eef6; }
.gs-tab.on { background: #e1e9f7; color: #0b57d0; font-weight: 600; }
.gs-tabin { width: 120px; padding: 4px 8px; border: 2px solid #1a73e8; border-radius: 4px; font-size: 13px; }
.gs-pop { position: absolute; z-index: 30; }
.gs-menu { background: #fff; border-radius: 6px; box-shadow: 0 2px 6px 2px #3c404326, 0 1px 2px #3c40434d; padding: 6px 0; min-width: 230px; max-height: 340px; overflow: auto; }
.gs-menu hr { border: 0; border-top: 1px solid #e3e3e3; margin: 6px 0; }
.gs-mi { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: none; border: 0; padding: 6px 14px 6px 8px; font-size: 13.5px; color: #1f1f1f; }
.gs-mi:hover { background: #f1f3f4; }
.gs-mi .ck { width: 18px; flex: none; color: #1a73e8; }
.gs-mi .ck svg { width: 16px; height: 16px; }
.gs-mi span:nth-child(2) { flex: 1; }
.gs-mi small { color: #5f6368; font-size: 12px; }
.gs-sub .gs-subm { display: none; padding-left: 16px; border-left: 3px solid #e6f4ea; margin: 2px 0 4px 18px; }
.gs-sub.open .gs-subm { display: block; }
.gs-sub.open > .gs-mi { background: #f1f3f4; }
.gs-fmenu { width: 250px; padding: 6px 0 10px; }
.gs-fm-h { display: block; padding: 4px 14px; font-size: 12.5px; }
.gs-fm-q { padding: 0 14px 4px; font-size: 12px; }
.gs-fm-q button { background: none; border: 0; color: #1a73e8; padding: 0; }
.gs-fm-l { max-height: 160px; overflow: auto; padding: 4px 14px; display: grid; gap: 4px; }
.gs-fmenu .gs-prow { padding: 8px 14px 0; }
.gs-ddm .gs-mi { gap: 6px; }
.gs-ddm .gs-chip { cursor: pointer; }
.gs-acc { width: 270px; padding: 12px 14px; display: grid; gap: 8px; }
.gs-acc > b:first-child { color: #c5221f; }
.gs-acc p { margin: 0; font-size: 13px; color: #3c4043; }
.gs-sw { display: grid; grid-template-columns: repeat(6, 26px); gap: 6px; padding: 10px; min-width: 0; }
.gs-sw button { width: 26px; height: 26px; border: 1px solid #dadce0; border-radius: 50%; color: #5f6368; }
.gs-hint { position: absolute; z-index: 25; background: #fff; border-radius: 6px; box-shadow: 0 2px 6px 2px #3c404326; padding: 8px 12px; max-width: 300px; display: grid; gap: 3px; font-size: 12.5px; }
.gs-hint b { font-family: Consolas, monospace; color: #0d652d; }
.gs-hint span { color: #5f6368; }
.gs-hint button { background: none; border: 0; text-align: left; padding: 3px 0; display: grid; }
.gs-hint button:hover b { text-decoration: underline; }
.gs-hint small { color: #5f6368; }
.gs-panel { width: 300px; flex: none; border-left: 1px solid #dadce0; background: #fff; overflow: auto; height: 380px; padding: 0 14px 14px; display: grid; align-content: start; gap: 10px; font-size: 13px; user-select: text; }
.gs-ph { position: sticky; top: 0; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 10px 0 6px; border-bottom: 1px solid #eee; z-index: 2; }
.gs-ph b { font-size: 15px; font-weight: 500; }
.gs-panel label { display: grid; gap: 4px; color: #3c4043; font-weight: 600; font-size: 12.5px; }
.gs-panel input, .gs-panel select, .gs-dlg input, .gs-dlg select, .gs-dlg textarea { border: 1px solid #c4c7c5; border-radius: 4px; padding: 7px 8px; font-weight: 400; background: #fff; color: #202124; width: 100%; }
.gs-panel input:focus, .gs-panel select:focus, .gs-dlg input:focus, .gs-dlg textarea:focus, .gs-dlg select:focus { outline: 2px solid #1a73e8; outline-offset: -1px; border-color: transparent; }
.gs-panel h4 { margin: 8px 0 0; font-size: 13px; color: #5f6368; font-weight: 600; }
.gs-chk { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; cursor: pointer; }
.gs-chk input { width: auto !important; margin: 0; }
.gs-prow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gs-prow.sp { justify-content: flex-end; margin-top: 6px; }
.gs-prow input { flex: 1; min-width: 120px; }
.gs-btn { border: 1px solid #c4c7c5; background: #fff; color: #0b57d0; border-radius: 99px; padding: 7px 16px; font-weight: 600; font-size: 13px; }
.gs-btn:hover { background: #f1f5fe; }
.gs-btn.p { background: #0b57d0; border-color: #0b57d0; color: #fff; }
.gs-btn.p:hover { background: #0a4fbf; }
.gs-muted { color: #5f6368; margin: 0; font-size: 12.5px; line-height: 1.5; }
.gs-ok { color: #188038; margin: 0; font-weight: 600; }
.gs-rule { display: flex; gap: 10px; align-items: center; justify-content: space-between; border: 1px solid #e3e3e3; border-radius: 6px; padding: 8px 6px 8px 10px; }
.gs-rule span:nth-child(2), .gs-rule > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gs-rule small { color: #5f6368; }
.cf-prev { flex: none !important; width: 34px; height: 26px; border-radius: 4px; display: grid; place-items: center; font-weight: 700; }
.dv-list { display: grid; gap: 6px; }
.dv-it { display: flex; gap: 6px; align-items: center; }
.dv-it select { width: 42px !important; flex: none; padding: 6px 2px !important; }
.dv-it input { flex: 1; }
.dv-list .add { justify-self: start; }
.gs-seg { display: flex; border: 1px solid #c4c7c5; border-radius: 99px; overflow: hidden; }
.gs-seg button { flex: 1; border: 0; background: #fff; padding: 7px; font-weight: 600; color: #444746; }
.gs-seg button.on { background: #c2e7ff; color: #001d35; }
.cf-sw { display: flex; gap: 6px; flex-wrap: wrap; }
.cf-sw button { width: 38px; height: 30px; border-radius: 4px; border: 2px solid transparent; font-weight: 700; }
.cf-sw button.on { border-color: #1a73e8; }
.h-list { display: grid; gap: 2px; }
.h-it { display: grid; gap: 6px; padding: 10px; border-radius: 6px; }
.h-it:hover { background: #f1f3f4; }
.h-it.cur { background: #e8f0fe; }
.h-it div { display: grid; }
.h-it small { color: #5f6368; }
.h-it .gs-btn { justify-self: start; padding: 4px 12px; }
.cm-it { border: 1px solid #e3e3e3; border-radius: 8px; padding: 10px; display: grid; gap: 6px; box-shadow: 0 1px 2px #0001; }
.cm-it.done { opacity: .6; }
.cm-h { display: flex; gap: 8px; align-items: center; }
.cm-h small { margin-left: auto; color: #5f6368; }
.cm-it p { margin: 0; font-size: 13px; }
.cm-it mark { background: #e8f0fe; color: #0b57d0; border-radius: 3px; padding: 0 2px; }
.cm-as { color: #188038; font-weight: 600; }
.cm-rp { padding-left: 10px; border-left: 2px solid #e3e3e3; color: #3c4043; }
.gs-modal { position: absolute; inset: 0; background: #20212466; z-index: 40; display: grid; place-items: center; padding: 14px; }
.gs-dlg { background: #fff; border-radius: 10px; box-shadow: 0 4px 24px #0004; width: min(520px, 100%); max-height: calc(100% - 10px); overflow: auto; padding: 20px 22px; display: grid; gap: 10px; user-select: text; }
.gs-dlg.wide { width: min(780px, 100%); }
.gs-dlg h3 { margin: 0; font-size: 20px; font-weight: 400; color: #1f1f1f; }
.gs-dlg h4 { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #1f1f1f; }
.gs-dlg label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: #3c4043; }
.gs-dlg fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.gs-dlg legend { font-size: 12.5px; font-weight: 600; color: #3c4043; margin-bottom: 4px; }
.sh-add { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-add input { flex: 1 1 220px; }
.sh-add select { flex: 0 0 160px; width: 160px; }
.sh-list { display: grid; gap: 8px; }
.sh-row { display: flex; align-items: center; gap: 10px; }
.sh-row > span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
.sh-row small { color: #5f6368; overflow: hidden; text-overflow: ellipsis; }
.sh-row em { font-style: normal; color: #5f6368; }
.sh-row select { width: 170px; }
.sh-gen { display: flex; align-items: center; gap: 10px; }
.sh-gen > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.sh-gen small { color: #5f6368; }
.sh-gen select { width: auto; border: 0; padding: 4px; font-weight: 600; }
.sh-gen .sh-gr { width: 160px; border: 1px solid #c4c7c5; }
.sh-ic { width: 36px; height: 36px; border-radius: 50%; background: #e6f4ea; display: grid; place-items: center; color: #188038; flex: none; }
.sh-set { font-size: 13px; display: grid; gap: 6px; }
.sh-set summary { color: #0b57d0; font-weight: 600; margin-bottom: 6px; }
.pr { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.pr-prev { background: #e8eaed; border-radius: 6px; padding: 12px; display: grid; justify-items: center; gap: 8px; min-height: 260px; align-content: center; }
.pr-prev small { color: #5f6368; text-align: center; font-size: 12px; }
.pg { background: #fff; box-shadow: 0 1px 4px #0003; overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 4px; }
.pg-h, .pg-f { font-size: 7px; color: #5f6368; display: flex; justify-content: space-between; }
.pg-b { transform-origin: top left; }
.pg table { border-collapse: collapse; font: 7px Arial, sans-serif; }
.pg td { padding: 1px 3px; min-width: 58px; max-width: 58px; overflow: hidden; white-space: nowrap; border: 0; }
.pg.grid td { border: 0.5px solid #c4c7c5; }
.pg td.b { font-weight: 700; }
.pr-set { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; align-content: start; }
.pr-set > label:first-child, .pr-set > label:nth-child(2) { grid-column: 1 / -1; }
.pr-set fieldset { gap: 3px; }
.gs-toast { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); background: #303134; color: #fff; padding: 10px 16px; border-radius: 6px; font-size: 13px; z-index: 50; max-width: 90%; box-shadow: 0 2px 8px #0004; text-align: center; }

@media (max-width: 780px) {
  .gs-wrap, .gs-panel { height: 340px; }
  .gs-panel { position: absolute; right: 0; top: 0; width: min(300px, 92%); box-shadow: -4px 0 14px #0002; z-index: 20; }
  .gs-title { width: 160px; font-size: 15px; }
  .gs-save { display: none; }
  .gs-share span { display: none; }
  .gs-share { padding: 8px 10px; }
  .gs-topr .gs-ib { display: none; }
  .gs-mb { font-size: 13px; padding: 3px 5px; }
  .pr { grid-template-columns: 1fr; }
  .pr-prev { min-height: 220px; }
  .tasks { margin: 0 14px 12px; }
  .simhost { padding: 0 10px 14px; }
  .gslab .labhead { padding: 16px 16px 8px; }
  .gs-chart { width: 300px; }
}
