/* Additive public-demo chrome; keep the original responsive checkpoints intact. */
.demo-realism .browser-frame { background: #f9fbfd; }
.demo-realism .sheets-toolbar { height: 52px; padding: 8px 18px; gap: 12px; color: #202124; background: #f9fbfd; font-family: Arial, sans-serif; }
.demo-realism .sheets-toolbar .doc-icon { width: 26px; height: 34px; border-radius: 0; background: transparent; flex-shrink: 0; }
.demo-realism .doc-icon svg { width: 26px; height: 34px; }
.demo-realism .sheets-toolbar .doc-name { font-size: 17px; font-weight: 400; }
.sheet-document-context { color: #5f6368; font-size: 11px; border: 1px solid #dadce0; border-radius: 16px; padding: 5px 10px; }
.sheet-menu-preview, .sheet-format-preview { display: flex; align-items: center; flex-shrink: 0; overflow: auto; white-space: nowrap; font-family: Arial, sans-serif; color: #3c4043; }
.sheet-menu-preview { min-height: 28px; gap: 20px; padding: 0 18px 5px 56px; background: #f9fbfd; font-size: 13px; }
.sheet-format-preview { min-height: 36px; gap: 18px; padding: 5px 16px; margin: 0 12px 7px; background: #edf2fa; border-radius: 18px; font-size: 12px; }
.sheet-tool-symbol { font-size: 20px; line-height: 20px; }
.sheet-tool-divider { width: 1px; height: 18px; background: #c7cdd6; flex-shrink: 0; }
.sheet-font-size { background: white; border: 1px solid #bdc1c6; border-radius: 3px; padding: 2px 8px; }
.sheet-text-color { border-bottom: 3px solid #185abc; font-weight: 600; }
.demo-simulation-label { flex-shrink: 0; padding: 6px 16px; background: #eef4fb; border-bottom: 1px solid #dce5ef; color: #485b70; font: 11px/1.4 Arial, sans-serif; letter-spacing: .08px; }
.demo-realism .formula-bar { min-height: 30px; font-family: Arial, sans-serif; font-size: 12px; border-top: 1px solid #e0e0e0; }
.demo-realism .formula-bar .cell-ref { background: white; border-right: 1px solid #dadce0; border-radius: 0; min-width: 64px; }
.demo-realism .grid-table { font-family: Arial, sans-serif; font-size: 12px; }
.demo-realism .grid-table td { height: 24px; padding: 3px 8px; border-color: #e2e6e9; }
.demo-realism .grid-table .row-header { min-width: 42px; width: 42px; color: #5f6368; font-size: 11px; font-weight: 400; }
.demo-realism .grid-table .col-header { height: 25px; min-width: 86px; font-size: 11px; }
.demo-realism .grid-table .demo-selected-cell { outline: 2px solid #1a73e8; outline-offset: -2px; }
.demo-realism .sheet-tabs { min-height: 36px; background: #f8fafd; padding-left: 44px; }
.demo-realism .sheet-tab.active { color: #137333; background: #e6f4ea; border: 0; border-radius: 3px; padding-top: 8px; padding-bottom: 8px; }
.demo-realism .grid-container { bottom: 36px; }
.demo-realism .discovery-pivot-preview { margin: 0 auto; max-width: 760px; background: #fff; border: 1px solid #dce3ec; border-radius: 12px; padding: 20px; }
.demo-realism .discovery-pivot-preview h3 { margin-bottom: 12px; color: #1f2937; font-size: 16px; }
.demo-realism .discovery-pivot-preview .preview-zone { margin: 9px 0; padding: 10px; background: #f8faff; border: 1px dashed #cbd5e1; border-radius: 8px; font-size: 12px; line-height: 1.7; }
.demo-realism .preview-linked-chip { display: inline-block; margin: 3px; padding: 4px 9px; border: 1px solid #6489c8; border-radius: 16px; color: #22529b; background: #eff5ff; font-weight: 600; }
.demo-realism .preview-native-chip { display: inline-block; margin: 3px; padding: 4px 9px; border: 1px solid #d98c32; border-radius: 16px; color: #97521c; background: #fff5e8; }
@media (max-width: 640px) {
  .sheet-document-context { display: none; }
  .sheet-menu-preview { padding-left: 16px; gap: 16px; }
  .sheet-format-preview { gap: 14px; }
  .demo-realism .sheets-toolbar .doc-name { font-size: 14px; }
}
body.embed-mode .sheet-menu-preview, body.embed-mode .sheet-format-preview { display: none; }
body.embed-mode .demo-simulation-label { font-size: 9px; padding: 4px 10px; }
