/* Barra de edição da planilha (como no Google Planilhas) — usada no painel e na página do link */
.gs-tb { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; padding: 4px 8px; background: #edf2fa; border-radius: 999px; margin: 6px 8px; font: 13px Arial, Helvetica, sans-serif; color: #444746; }
.gs-tb-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: 15px Arial, Helvetica, sans-serif; cursor: pointer; }
.gs-tb-btn:hover:not(:disabled):not(.is-off) { background: #dde3ea; }
.gs-tb-btn:disabled, .gs-tb-btn.is-off { opacity: .4; cursor: default; }
.gs-tb-btn.is-on { background: #d3e3fd; color: #041e49; }
.gs-tb-btn:focus-visible { outline: 2px solid #1a73e8; outline-offset: -2px; }
.gs-tb-sep { width: 1px; height: 20px; margin: 0 6px; background: #c7c7c7; }
.gs-tb-color { gap: 1px; }
.gs-tb-glyph { line-height: 1; }
.gs-tb-bar { width: 16px; height: 4px; border: 1px solid #c7c7c7; }
.gs-tb-colorwrap { position: relative; display: inline-block; }
.gs-tb-pop { position: absolute; top: 34px; left: 0; z-index: 30; width: 232px; padding: 8px; background: #fff; border: 1px solid #dadce0; border-radius: 8px; box-shadow: 0 4px 14px rgba(60, 64, 67, .3); }
.gs-tb-pop[hidden] { display: none; }
.gs-tb-grid { display: grid; grid-template-columns: repeat(10, 20px); gap: 2px; margin: 6px 0; }
.gs-tb-sw { width: 20px; height: 20px; padding: 0; border: 1px solid #dadce0; border-radius: 50%; cursor: pointer; }
.gs-tb-sw:hover { outline: 2px solid #1a73e8; outline-offset: 1px; }
.gs-tb-none { width: 100%; padding: 4px 6px; border: 0; border-radius: 4px; background: transparent; text-align: left; font: 13px Arial, Helvetica, sans-serif; color: #444746; cursor: pointer; }
.gs-tb-none:hover { background: #f1f3f4; }
.gs-tb-custom { display: flex; align-items: center; gap: 6px; font: 13px Arial, Helvetica, sans-serif; color: #444746; }
td.gs-colhead, td.colhead { background: #ffff00; font-weight: 700; }
td.is-saving { opacity: .6; }
td.is-editable { cursor: cell; }
td.is-editable:focus, td.is-editing { outline: 2px solid #1a73e8; outline-offset: -2px; }
td.is-editing { cursor: text; user-select: text; }
