/* ==========================================================
   MULTI-THEME READER WORKSPACE DISGUISE SYSTEM
   Supports: Google Sheets (Primary), Excel 365, and VS Code IDE
   ========================================================== */

:root {
  /* Fonts */
  --font-gsheet: 'Google Sans', Roboto, RobotoDraft, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-excel: 'Segoe UI', Calibri, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-vscode: 'Consolas', 'Courier New', Menlo, Monaco, monospace;

  --story-font-family: 'Arial', sans-serif;
  --story-font-size: 10pt;
  --story-color: #202124;

  /* Google Sheets Colors */
  --gs-green: #0F9D58;
  --gs-blue: #1a73e8;
  --gs-toolbar-bg: #edf2fa;
  --gs-border: #e0e0e0;
  --gs-grid-header: #f8f9fa;
  --gs-active-cell: #1a73e8;

  /* Excel Colors */
  --excel-green: #107c41;
  --excel-ribbon-bg: #f3f2f1;
  --excel-border: #e1dfdd;
  --excel-active-cell: #107c41;

  /* VS Code Colors */
  --vsc-bg: #1e1e1e;
  --vsc-sidebar-bg: #252526;
  --vsc-act-bg: #333333;
  --vsc-header: #3c3c3c;
  --vsc-tab-active: #1e1e1e;
  --vsc-tab-inactive: #2d2d2d;
  --vsc-status: #007acc;
  --vsc-border: #333333;
  --vsc-text: #cccccc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

body {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 12px;
}

/* --------------------------------------------------
   THEME TOGGLING DISPLAY RULES (ALL 8 THEMES)
   -------------------------------------------------- */
.gsheet-only, .gdocs-only, .excel-only, .vscode-only, .photoshop-only, .blender-only, .linkedin-only, .autocad-only, .gsheet-excel-only {
  display: none !important;
}

body.theme-googlesheets .gsheet-only,
body.theme-googlesheets .gsheet-excel-only { display: flex !important; }

body.theme-googledocs .gdocs-only { display: flex !important; }

body.theme-excel .excel-only,
body.theme-excel .gsheet-excel-only { display: flex !important; }

body.theme-vscode .vscode-only { display: flex !important; }

body.theme-photoshop .photoshop-only { display: flex !important; }

body.theme-blender .blender-only { display: flex !important; }

body.theme-linkedin .linkedin-only { display: flex !important; }

body.theme-autocad .autocad-only { display: flex !important; }


#main-sheets-bar { display: none; }
body.theme-googlesheets #main-sheets-bar,
body.theme-excel #main-sheets-bar,
body.theme-vscode #main-sheets-bar { display: flex; }

.theme-header-container {
  display: none;
  flex-direction: column;
  width: 100%;
  flex-shrink: 0;
}


/* ==================================================
   THEME 1: GOOGLE SHEETS
   ================================================== */
body.theme-googlesheets {
  font-family: var(--font-gsheet);
  background-color: #ffffff;
  color: #202124;
}

.gsheet-top-bar {
  background-color: #ffffff;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 4px 14px;
  border-bottom: 1px solid #f1f3f4;
}
.gsheet-top-left { display: flex; align-items: center; gap: 12px; }
.gsheet-logo-btn { display: flex; align-items: center; cursor: pointer; }
.gsheet-title-and-menu { display: flex; flex-direction: column; gap: 2px; }
.gsheet-title-row { display: flex; align-items: center; gap: 8px; }

.gsheet-doc-title {
  font-size: 18px;
  color: #1f1f1f;
  font-weight: 400;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.gsheet-doc-title:hover { outline: 1px solid #dadce0; }
.gsheet-doc-icons { display: flex; align-items: center; gap: 4px; }
.gsheet-icon-btn {
  background: transparent;
  border: none;
  font-size: 15px;
  color: #5f6368;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 50%;
}
.gsheet-icon-btn:hover { background-color: #f1f3f4; }
.gsheet-cloud-status {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #5f6368;
  font-size: 12px;
  margin-left: 6px;
}

.gsheet-menu-bar { display: flex; align-items: center; gap: 2px; margin-left: 2px; }
.gsheet-menu-item {
  background: transparent;
  border: none;
  padding: 2px 7px;
  font-size: 14px;
  color: #202124;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-gsheet);
}
.gsheet-menu-item:hover { background-color: #f1f3f4; }

.gsheet-top-right { display: flex; align-items: center; gap: 8px; }

.theme-switch-pill {
  background-color: #edf2fa;
  color: #041e49;
  border: 1px solid #d3e3fd;
  border-radius: 18px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.15s;
}
.theme-switch-pill:hover { background-color: #d3e3fd; }

.boss-key-btn {
  background-color: #d93025;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: 0.15s;
}
.boss-key-btn:hover { background-color: #b31412; }
.boss-badge { background: rgba(0,0,0,0.25); padding: 1px 5px; border-radius: 10px; font-size: 10px; }

.gsheet-circle-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444746;
  font-size: 15px;
}
.gsheet-circle-btn:hover { background-color: #f1f3f4; }

.gsheet-share-btn {
  background-color: #c2e7ff;
  color: #001d35;
  border: none;
  border-radius: 20px;
  height: 36px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-left: 4px;
}
.gsheet-share-btn:hover { background-color: #b3ddfc; }

.gsheet-avatar {
  background-color: #0F9D58;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  margin-left: 4px;
}

/* Google Sheets Toolbar */
.gsheet-toolbar {
  background-color: var(--gs-toolbar-bg);
  height: 38px;
  border-radius: 20px;
  margin: 0 14px 4px 14px;
  padding: 2px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.gsheet-tools-group, .gsheet-reader-group { display: flex; align-items: center; gap: 2px; }
.gs-tool-btn {
  background: transparent;
  border: none;
  height: 28px;
  width: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444746;
  font-size: 13px;
}
.gs-tool-btn:hover { background-color: rgba(68, 71, 70, 0.08); }
.gs-tool-btn.active-toggle { background-color: #d3e3fd; color: #041e49; }
.gs-tool-divider { width: 1px; height: 18px; background-color: #c4c7c5; margin: 0 5px; }

.gs-select {
  background: transparent;
  border: none;
  height: 28px;
  padding: 0 6px;
  font-size: 12px;
  color: #444746;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-gsheet);
  outline: none;
}
.gs-select:hover { background-color: rgba(68, 71, 70, 0.08); }
.gs-font-select { width: 90px; }
.gs-size-select { width: 44px; }
.gs-zoom-select { width: 62px; }

.gs-reader-pill-btn {
  background: white;
  border: 1px solid #c4c7c5;
  border-radius: 14px;
  height: 26px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 11px;
  color: #0F9D58;
}
.gs-reader-pill-btn:hover { background-color: #e6f4ea; }
.gs-file-name {
  font-size: 10px;
  color: #5f6368;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-page-controls, .gs-autoscroll-controls { display: flex; align-items: center; gap: 3px; }
.gs-mini-btn {
  background: white;
  border: 1px solid #c4c7c5;
  border-radius: 3px;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  cursor: pointer;
  color: #444746;
}
.gs-mini-btn:hover { background-color: #f1f3f4; }
.gs-mini-btn.gs-play-btn { font-weight: 600; color: #0F9D58; border-color: #0F9D58; }
.gs-mini-btn.gs-play-btn.playing { color: #d93025; border-color: #d93025; }
.gs-page-text { font-size: 11px; font-weight: 600; color: #1f1f1f; min-width: 50px; text-align: center; }
#gs-input-jump {
  width: 44px;
  height: 24px;
  border: 1px solid #c4c7c5;
  border-radius: 3px;
  font-size: 11px;
  text-align: center;
  outline: none;
}
.gs-dim-control { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #5f6368; }
.gs-dim-control input { width: 65px; }


/* ==================================================
   THEME 2: MICROSOFT EXCEL 365
   ================================================== */
body.theme-excel {
  font-family: var(--font-excel);
  background-color: #ffffff;
  color: #323130;
}

.excel-title-bar {
  background-color: var(--excel-green);
  color: #ffffff;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  flex-shrink: 0;
  font-size: 12px;
}
.excel-title-bar .left-section { display: flex; align-items: center; gap: 10px; }
.quick-access { display: flex; align-items: center; gap: 2px; }
.qa-btn { background: transparent; border: none; color: white; padding: 4px 6px; border-radius: 2px; cursor: pointer; }
.autosave-container { display: flex; align-items: center; gap: 6px; font-size: 11px; border-left: 1px solid rgba(255, 255, 255, 0.3); padding-left: 8px; }
.document-name { font-weight: 600; font-size: 12px; margin-left: 10px; white-space: nowrap; }
.center-search { flex: 0 1 420px; margin: 0 16px; }
.search-box { background-color: rgba(255, 255, 255, 0.9); border-radius: 4px; height: 26px; display: flex; align-items: center; padding: 0 10px; gap: 8px; }
.search-box input { border: none; outline: none; background: transparent; width: 100%; font-size: 12px; }
.right-window-controls { display: flex; align-items: center; gap: 8px; }
.user-profile { display: flex; align-items: center; gap: 6px; font-size: 11px; padding: 0 8px; }
.user-avatar { background-color: #004b1c; color: white; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 10px; }
.win-btn { background: transparent; border: none; color: white; width: 28px; height: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.win-btn:hover { background-color: rgba(255, 255, 255, 0.15); }
.win-close:hover { background-color: #c42b1c; }

.excel-ribbon-tabs {
  background-color: #ffffff;
  display: flex;
  border-bottom: 1px solid var(--excel-border);
  height: 31px;
  align-items: flex-end;
  padding-left: 12px;
  gap: 4px;
  flex-shrink: 0;
}
.excel-ribbon-tabs .tab-item { background: transparent; border: none; padding: 6px 14px; font-size: 12px; color: #323130; cursor: pointer; border-bottom: 3px solid transparent; }
.excel-ribbon-tabs .tab-item.active { color: var(--excel-green); font-weight: 600; border-bottom: 3px solid var(--excel-green); }
.excel-ribbon-tabs .file-tab { background-color: var(--excel-green); color: white; border-radius: 2px 2px 0 0; font-weight: 600; }

.excel-ribbon-body {
  background-color: var(--excel-ribbon-bg);
  border-bottom: 1px solid var(--excel-border);
  padding: 6px 14px 4px 14px;
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  height: 86px;
}
.ribbon-group { display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--excel-border); padding-right: 14px; height: 100%; }
.ribbon-group:last-child { border-right: none; }
.ribbon-subgroup { display: flex; gap: 6px; }
.ribbon-subgroup.font-subgroup, .ribbon-subgroup.alignment-subgroup { flex-direction: column; gap: 4px; }
.row-sub { display: flex; align-items: center; gap: 4px; }
.group-label { font-size: 10px; color: #605e5c; text-align: center; margin-top: 4px; }
.ribbon-select { height: 24px; border: 1px solid var(--excel-border); background: white; padding: 0 4px; font-size: 11px; border-radius: 2px; outline: none; cursor: pointer; }
.tool-btn { background: white; border: 1px solid var(--excel-border); border-radius: 2px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12px; }
.tool-btn:hover { background-color: #edebe9; }
.tool-btn.active-toggle { width: auto; padding: 0 8px; font-size: 11px; }

.reader-tools-group .ribbon-subgroup { gap: 14px; align-items: center; }
.reader-opt { display: flex; flex-direction: column; gap: 2px; }
.reader-opt label { font-size: 10px; color: #605e5c; font-weight: 500; }
.page-controls, .auto-scroll-controls { display: flex; align-items: center; gap: 4px; }
.mini-btn { background: white; border: 1px solid var(--excel-border); border-radius: 2px; height: 22px; padding: 0 6px; font-size: 11px; cursor: pointer; }
.mini-btn.play-btn { font-weight: 600; color: var(--excel-green); border-color: var(--excel-green); }
.mini-btn.play-btn.playing { color: #d83b01; border-color: #d83b01; }
.page-text { font-size: 11px; font-weight: 600; color: #323130; min-width: 50px; text-align: center; }
.open-pdf-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; background: white; border: 1px dashed var(--excel-green); padding: 4px 10px; border-radius: 3px; cursor: pointer; font-weight: 600; font-size: 11px; color: var(--excel-green); }
.sub-caption { font-size: 9px; color: #666; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }


/* ==================================================
   THEME 3: TRUE VISUAL STUDIO CODE IDE
   ================================================== */
body.theme-vscode {
  font-family: var(--font-vscode);
  background-color: var(--vsc-bg);
  color: var(--vsc-text);
}

.vscode-title-bar {
  background-color: var(--vsc-header);
  color: #cccccc;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 12px;
  border-bottom: 1px solid var(--vsc-border);
}
.vscode-title-left { display: flex; align-items: center; gap: 12px; }
.vscode-menu-bar { display: flex; gap: 10px; font-size: 12px; color: #cccccc; }
.vscode-menu-bar span { cursor: pointer; padding: 2px 4px; }
.vscode-menu-bar span:hover { background: #505050; border-radius: 3px; }
.vscode-title-center { color: #999999; font-size: 12px; }
.vscode-title-right { display: flex; align-items: center; gap: 8px; }

.vscode-tabs-bar {
  background-color: var(--vsc-tab-inactive);
  display: flex;
  align-items: center;
  height: 35px;
  border-bottom: 1px solid var(--vsc-border);
}
.vscode-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 100%;
  font-size: 12px;
  color: #969696;
  background-color: var(--vsc-tab-inactive);
  border-right: 1px solid var(--vsc-border);
  cursor: pointer;
}
.vscode-tab.active {
  background-color: var(--vsc-bg);
  color: #ffffff;
  border-top: 2px solid #007acc;
}
.vscode-tab .tab-close { font-size: 14px; margin-left: 6px; }

.vscode-reader-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-right: 12px;
}
.vscode-pill-btn {
  background-color: #0e639c;
  color: white;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.vsc-btn {
  background: #3c3c3c;
  border: 1px solid #555;
  color: #eee;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
}
.vsc-btn:hover { background: #505050; }
.vscode-file-text { font-size: 11px; color: #888; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Real VS Code Layout Container */
.vscode-workspace {
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background-color: var(--vsc-bg);
}

/* Activity Bar (Left 48px) */
.vsc-activity-bar {
  width: 48px;
  background-color: var(--vsc-act-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  gap: 16px;
  flex-shrink: 0;
  border-right: 1px solid #252526;
}
.vsc-act-icon {
  font-size: 18px;
  color: #858585;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.vsc-act-icon:hover { color: #ffffff; }
.vsc-act-icon.active {
  color: #ffffff;
  border-left: 2px solid #ffffff;
}
.vsc-act-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Sidebar Explorer (Left 210px) */
.vsc-sidebar {
  width: 210px;
  background-color: var(--vsc-sidebar-bg);
  border-right: 1px solid #1e1e1e;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.vsc-sidebar-title {
  padding: 10px 14px 6px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #bbbbbb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.5px;
}
.vsc-folder-header {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #cccccc;
}
.vsc-tree-section {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}
.vsc-tree-item {
  padding: 4px 14px;
  font-size: 12px;
  color: #cccccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.vsc-tree-item:hover { background-color: #2a2d2e; }
.vsc-tree-item.active { background-color: #37373d; color: #ffffff; }
.vsc-tree-file { padding-left: 28px; }

/* Editor Area */
.vsc-editor-wrapper {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--vsc-bg);
}

.vsc-breadcrumbs {
  height: 24px;
  background-color: var(--vsc-bg);
  border-bottom: 1px solid #252526;
  padding: 3px 16px;
  font-size: 11px;
  color: #a9a9a9;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  flex-shrink: 0;
}
.vsc-func-sym { color: #dcdcaa; font-weight: bold; }

/* Code area with gutter */
.vsc-code-editor {
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  overflow: auto;
  background-color: var(--vsc-bg);
  font-family: var(--font-vscode);
  font-size: 13px;
  line-height: 1.6;
}

.vsc-editor-gutter {
  width: 50px;
  background-color: var(--vsc-bg);
  color: #858585;
  text-align: right;
  padding: 10px 14px 10px 0;
  user-select: none;
  flex-shrink: 0;
  border-right: 1px solid #2b2b2b;
}
.vsc-gutter-num {
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.vsc-editor-lines {
  flex: 1;
  padding: 10px 18px;
  user-select: text;
  background-color: var(--vsc-bg);
}

.vsc-code-line {
  height: 21px;
  display: flex;
  align-items: center;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 0 4px;
  border-radius: 2px;
  cursor: pointer;
}
.vsc-code-line:hover { background-color: #262626; }
.vsc-code-line.active-line {
  background-color: #282828;
  outline: 1px solid #3c3c3c;
}

/* Syntax Coloring */
.kw { color: #569cd6; font-weight: 500; }
.kw-flow { color: #c586c0; font-weight: 500; }
.fn { color: #dcdcaa; }
.cls { color: #4ec9b0; }
.cm { color: #6a9955; font-style: italic; }
.str { color: #ce9178; }
.var { color: #9cdcfe; }
.num { color: #b5cea8; }

/* VS Code Terminal Panel */
.vsc-terminal-panel {
  height: 130px;
  border-top: 1px solid #333333;
  background-color: var(--vsc-bg);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.vsc-terminal-header {
  height: 28px;
  border-bottom: 1px solid #2d2d2d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 11px;
  color: #858585;
}
.vsc-term-tabs {
  display: flex;
  gap: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.vsc-term-tabs span { cursor: pointer; }
.vsc-term-tabs span.active { color: #ffffff; border-bottom: 1px solid #ffffff; padding-bottom: 2px; font-weight: 600; }
.vsc-term-actions { display: flex; gap: 10px; cursor: pointer; }

.vsc-terminal-body {
  flex: 1;
  padding: 6px 16px;
  font-family: var(--font-vscode);
  font-size: 11px;
  line-height: 1.5;
  overflow-y: auto;
  color: #cccccc;
}
.term-line.prompt { color: #4ec9b0; }
.term-line.prompt .cmd { color: #dcdcaa; }
.term-line.info { color: #858585; }
.term-line.success { color: #6a9955; }
.term-line .url { color: #569cd6; text-decoration: underline; }

/* VS Code Status Bar Content */
.vscode-statusbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 24px;
  background-color: var(--vsc-status);
  color: #ffffff;
  padding: 0 8px;
  font-size: 11px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.vsc-stat-left, .vsc-stat-right { display: flex; align-items: center; gap: 12px; }
.vsc-stat-item { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.vsc-stat-item.remote { background: #16825d; padding: 2px 8px; border-radius: 2px; }


/* ==================================================
   SHARED: FORMULA BAR (GSHEET & EXCEL ONLY)
   ================================================== */
.excel-formula-bar-container {
  height: 28px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 12px;
}

.name-box {
  width: 70px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e0e0e0;
  font-weight: 600;
  color: #323130;
  background: #fbfbfb;
}
.formula-actions {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 6px;
  border-right: 1px solid #e0e0e0;
  height: 100%;
}
.formula-btn {
  background: transparent;
  border: none;
  font-size: 10px;
  color: #8a8886;
  cursor: pointer;
  padding: 2px 4px;
}
.fx-symbol {
  font-size: 13px;
  color: #5f6368;
  font-weight: bold;
  padding-left: 2px;
}
.formula-input-wrapper { flex: 1; height: 100%; }
.formula-input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 12px;
  font-family: inherit;
  color: #201f1e;
  background: transparent;
  text-overflow: ellipsis;
}

/* Status banner */
.status-banner {
  background-color: #e6f4ea;
  color: #137333;
  padding: 5px 14px;
  font-size: 12px;
  border-bottom: 1px solid #ceead6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.banner-close { background: transparent; border: none; cursor: pointer; font-weight: bold; font-size: 13px; color: inherit; }


/* ==================================================
   WORKSPACE: SPREADSHEET (GSHEET & EXCEL)
   ================================================== */
.excel-workspace {
  flex: 1 1 0%;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.sheet-content {
  display: none;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.sheet-content.active { display: block; }
.table-container { height: 100%; width: 100%; overflow: auto; position: relative; }

.excel-grid-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  min-width: 1100px;
  background-color: white;
}

.excel-grid-table th {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  color: #5f6368;
  font-weight: 500;
  font-size: 11px;
  height: 24px;
  text-align: center;
  user-select: none;
  position: sticky;
  top: 0;
  z-index: 2;
}
body.theme-excel .excel-grid-table th {
  background-color: #f3f2f1;
  border-color: #e1dfdd;
  font-weight: 600;
}

.corner-header { width: 45px; background-color: #f1f3f4; }
.row-header {
  width: 45px;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  color: #5f6368;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
}
.header-titles-row th {
  background-color: #edf2fa;
  color: #041e49;
  font-weight: 600;
  height: 26px;
  border: 1px solid #d3e3fd;
  position: sticky;
  top: 24px;
  z-index: 2;
}
body.theme-excel .header-titles-row th {
  background-color: #e7f2eb;
  color: var(--excel-green-dark);
  border-color: #c3decb;
}

.excel-grid-table td {
  border: 1px solid #e0e0e0;
  padding: 5px 8px;
  font-size: 11px;
  line-height: 1.5;
  color: #202124;
  vertical-align: top;
  word-break: break-word;
  white-space: normal;
  user-select: text;
}
.story-cell {
  font-family: var(--story-font-family);
  font-size: var(--story-font-size);
  color: var(--story-color);
  line-height: 1.6;
  cursor: pointer;
  background-color: #ffffff;
}

tr.selected-story-row td { background-color: #e8f0fe !important; }
body.theme-excel tr.selected-story-row td { background-color: #e8f4ec !important; }

.story-cell.cell-focused {
  outline: 2px solid var(--gs-blue);
  outline-offset: -2px;
  position: relative;
}
body.theme-excel .story-cell.cell-focused { outline-color: var(--excel-green); }

.story-cell.cell-focused::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 6px;
  height: 6px;
  background-color: var(--gs-blue);
}
body.theme-excel .story-cell.cell-focused::after { background-color: var(--excel-green); }

.dummy-financial-table td { text-align: right; }
.dummy-financial-table td:nth-child(2) { text-align: center; }
.dummy-financial-table td:nth-child(3) { text-align: left; }
.bold-text { font-weight: 600; }
.positive { color: #0F9D58; font-weight: 600; }
.negative { color: #d93025; }
.highlight-yellow { background-color: #fff9e6; }
.highlight-green { background-color: #e6f4ea; }

.badge-status { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 500; }
.badge-status.verified { background-color: #e6f4ea; color: #137333; }
.badge-status.review { background-color: #fef7e0; color: #b06000; }
.badge-status.audit { background-color: #f1f3f4; color: #5f6368; }


/* ==================================================
   BOTTOM SHEETS BAR (GSHEET & EXCEL)
   ================================================== */
.excel-sheets-bar {
  height: 36px;
  background-color: #f8fafd;
  border-top: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  flex-shrink: 0;
  font-size: 11px;
}
body.theme-excel .excel-sheets-bar {
  height: 32px;
  background-color: #f3f2f1;
  border-top-color: var(--excel-border);
}
body.theme-vscode .excel-sheets-bar {
  height: 24px;
  background-color: var(--vsc-status);
  padding: 0 4px;
  border-top: none;
}

.gs-bottom-left { display: flex; align-items: center; gap: 4px; margin-right: 8px; }
.gs-plus-sheet-btn, .gs-all-sheets-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #444746;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gs-plus-sheet-btn:hover, .gs-all-sheets-btn:hover { background-color: #e0e5eb; }

.sheet-tabs-list { display: flex; align-items: center; height: 100%; gap: 4px; }
.sheet-tab {
  background: transparent;
  border: 1px solid transparent;
  height: 28px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 12px;
  color: #444746;
  border-radius: 6px 6px 0 0;
  transition: 0.1s;
}
.sheet-tab:hover { background-color: #e8ecf1; }
.sheet-tab.active {
  background-color: #ffffff;
  font-weight: 600;
  color: #0F9D58;
  border-color: #e0e0e0;
  border-bottom: 2px solid #0F9D58;
}
body.theme-excel .sheet-tab {
  border-radius: 2px 2px 0 0;
  height: 26px;
  border-color: #e1dfdd;
  border-bottom: none;
  background: #f8f9fa;
}
body.theme-excel .sheet-tab.active {
  background: #ffffff;
  color: var(--excel-green);
  border-bottom: 2px solid var(--excel-green);
}

.excel-status-bar { display: flex; align-items: center; gap: 12px; color: #5f6368; font-size: 11px; }
.status-item.ready { font-weight: 600; color: #0F9D58; }
body.theme-excel .status-item.ready { color: var(--excel-green-dark); }
.formula-calc { background-color: #e8eaed; padding: 2px 8px; border-radius: 10px; font-weight: 500; }
.gs-explore-btn {
  background: transparent;
  border: 1px solid #dadce0;
  border-radius: 14px;
  padding: 2px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 11px;
  color: #1a73e8;
  font-weight: 600;
}
.gs-explore-btn:hover { background-color: #f1f3f4; }


/* ==================================================
   THEME PICKER MODAL
   ================================================== */
.theme-picker-content { width: 740px; max-width: 95vw; }
.theme-selection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.theme-card {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  background: #fbfbfb;
  position: relative;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.theme-card:hover { border-color: #1a73e8; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.theme-card.active { border-color: #0F9D58; background-color: #f4fbf7; box-shadow: 0 0 0 1px #0F9D58; }
.theme-card-badge { position: absolute; top: -9px; right: 10px; background-color: #0F9D58; color: white; font-size: 9px; font-weight: bold; padding: 2px 6px; border-radius: 10px; }

.theme-preview-img { height: 95px; border-radius: 4px; overflow: hidden; border: 1px solid #e0e0e0; margin-bottom: 10px; display: flex; flex-direction: column; font-size: 10px; }
.prev-top-bar { height: 22px; padding: 0 6px; display: flex; align-items: center; justify-content: space-between; }
.prev-grid { flex: 1; display: flex; flex-direction: column; padding: 2px; gap: 2px; }
.prev-row { display: flex; gap: 4px; font-size: 8px; color: #666; padding: 2px 4px; }
.prev-row.header { font-weight: bold; }
.theme-card h4 { font-size: 13px; margin-bottom: 4px; color: #1f1f1f; }
.theme-card p { font-size: 11px; color: #5f6368; line-height: 1.35; }


/* ==================================================
   SHARED MODALS & OVERLAYS
   ================================================== */
.reader-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.reader-modal-overlay.show { display: flex; }
.reader-modal-content {
  background: white;
  width: 580px;
  max-width: 95vw;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #e0e0e0; }
.modal-header h3 { font-size: 15px; color: #1f1f1f; }
.modal-close-btn { background: transparent; border: none; font-size: 16px; color: #5f6368; cursor: pointer; }

.modal-body { padding: 18px 20px; overflow-y: auto; max-height: 70vh; display: flex; flex-direction: column; gap: 16px; }
.settings-group h4 { font-size: 13px; color: #0F9D58; margin-bottom: 6px; }
.guide-text { font-size: 12px; color: #5f6368; margin-bottom: 8px; line-height: 1.4; }

.file-drop-area { border: 2px dashed #a8dab5; background-color: #f7faf8; border-radius: 6px; padding: 22px; text-align: center; cursor: pointer; position: relative; }
.file-drop-area:hover, .file-drop-area.dragover { border-color: #0F9D58; background-color: #edf7f0; }
.file-drop-area input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.browse-link { color: #0F9D58; font-weight: 600; text-decoration: underline; }

.hotkey-list { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
kbd { background-color: #edebe9; border: 1px solid #c8c6c4; border-radius: 3px; padding: 2px 6px; font-family: monospace; font-weight: 600; }

.modal-footer { padding: 12px 20px; border-top: 1px solid #e0e0e0; display: flex; justify-content: flex-end; background: #f8fafd; }
.primary-btn { background-color: #0F9D58; color: white; border: none; padding: 8px 18px; border-radius: 4px; font-weight: 600; cursor: pointer; }
.primary-btn:hover { background-color: #0c8046; }

.loading-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading-box { background: white; padding: 24px 32px; border-radius: 6px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.spinner { width: 32px; height: 32px; border: 3px solid #e0e0e0; border-top-color: #0F9D58; border-radius: 50%; animation: spin 0.8s linear infinite; }
.loading-status-detail { max-width: 460px; margin: -4px 0 0; color: #5f6368; font-size: 12px; line-height: 1.45; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Seamless Page Flip Toast */
.page-flip-toast {
  position: fixed;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(30, 30, 30, 0.92);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.page-flip-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==================================================
   CONTINUOUS / INFINITE READING STYLES
   ================================================== */
tr.section-break-row td {
  background-color: #f1f3f4 !important;
  color: #5f6368 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  border-top: 1px dashed #c0c4c9 !important;
  border-bottom: 1px dashed #c0c4c9 !important;
  user-select: none;
  letter-spacing: 0.3px;
}
body.theme-excel tr.section-break-row td {
  background-color: #edebe9 !important;
  color: #323130 !important;
  border-top: 1px dashed #a19f9d !important;
  border-bottom: 1px dashed #a19f9d !important;
}
.section-break-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-break-badge {
  background-color: #0F9D58;
  color: #ffffff;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
}
body.theme-googlesheets .section-break-badge {
  background-color: #0F9D58;
}
body.theme-excel .section-break-badge {
  background-color: #107c41;
}

.vsc-section-divider {
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0 4px;
  user-select: none;
  color: #6a9955;
  font-style: italic;
  font-size: 11px;
  border-top: 1px dashed #383838;
  border-bottom: 1px dashed #383838;
  margin: 6px 0;
  background-color: rgba(255, 255, 255, 0.02);
}

/* ==================================================
   WORKSPACE LAUNCHER AND SHARED CONTROLS
   ================================================== */
/* ==========================================================
   LANDING PORTAL - CLEAN & MODERN DESIGN
   ========================================================== */
:root {
  --portal-bg: #f8fafc;
  --portal-card-bg: #ffffff;
  --portal-border: #e2e8f0;
  --portal-border-hover: #cbd5e1;
  --portal-text-primary: #0f172a;
  --portal-text-secondary: #64748b;
  --portal-primary: #2563eb;
  --portal-primary-hover: #1d4ed8;
  --portal-primary-light: #eff6ff;
  --portal-green: #10b981;
  --portal-green-light: #ecfdf5;
  --portal-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Portal Overlay */
.landing-portal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background-color: var(--portal-bg);
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 36px 16px 60px 16px;
  font-family: var(--portal-font);
  color: var(--portal-text-primary);
}

.landing-portal-overlay.hidden {
  display: none !important;
}

.portal-container {
  max-width: 1420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Primary Action Buttons */
.ui-btn-primary {
  background-color: var(--portal-primary);
  color: #ffffff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.ui-btn-primary:hover {
  background-color: var(--portal-primary-hover);
}

.ui-btn-orange {
  background-color: #0f172a;
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.ui-btn-orange:hover {
  background-color: #1e293b;
}

.ui-chk-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--portal-text-secondary);
  cursor: pointer;
  user-select: none;
}
.ui-chk-label input {
  accent-color: var(--portal-primary);
  width: 15px;
  height: 15px;
}

/* Portal Nav Button in Themes Header */
.portal-nav-btn {
  background-color: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  user-select: none;
}
.portal-nav-btn:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.portal-nav-btn:active {
  transform: translateY(1px);
}

body.theme-googlesheets .portal-nav-btn {
  border-color: #dadce0;
  color: #3c4043;
}
body.theme-excel .portal-nav-btn {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: transparent;
  color: #ffffff;
}
body.theme-excel .portal-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
}
body.theme-vscode .portal-nav-btn {
  background: #252526;
  border-color: #3c3c3c;
  color: #cccccc;
}
body.theme-vscode .portal-nav-btn:hover {
  background: #2d2d30;
  border-color: #007acc;
  color: #ffffff;
}

/* ==========================================================
   EDITABLE READER DOCUMENT TITLES (CLICK-TO-RENAME)
   ========================================================== */
.gsheet-doc-title[contenteditable="true"] {
  cursor: text;
  transition: all 0.15s ease;
  min-width: 60px;
}
.gsheet-doc-title[contenteditable="true"]:hover {
  outline: 1px solid #1a73e8;
  background-color: rgba(26, 115, 232, 0.05);
}
.gsheet-doc-title[contenteditable="true"]:focus {
  outline: 2px solid #1a73e8;
  background-color: #ffffff;
  color: #202124;
}

.document-name[contenteditable="true"] {
  cursor: text;
  padding: 2px 6px;
  border-radius: 3px;
  transition: all 0.15s ease;
  min-width: 60px;
}
.document-name[contenteditable="true"]:hover {
  background: rgba(255, 255, 255, 0.18);
  outline: 1px dashed rgba(255, 255, 255, 0.6);
}
.document-name[contenteditable="true"]:focus {
  background: #ffffff;
  color: #107c41;
  outline: 2px solid #ffffff;
}

#vsc-tab-filename[contenteditable="true"] {
  cursor: text;
  padding: 1px 4px;
  border-radius: 2px;
  transition: all 0.15s ease;
  min-width: 50px;
}
#vsc-tab-filename[contenteditable="true"]:hover {
  background: rgba(255, 255, 255, 0.12);
  outline: 1px dashed #666;
}
#vsc-tab-filename[contenteditable="true"]:focus {
  background: #1e1e1e;
  outline: 1px solid #007acc;
  color: #ffffff;
}

/* ==========================================================
   THEME 4: ADOBE PHOTOSHOP 2026 STYLES
   ========================================================== */
body.theme-photoshop {
  background-color: #282828;
  color: #eeeeee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.ps-title-bar {
  background-color: #323232;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #242424;
}
.ps-title-left { display: flex; align-items: center; gap: 14px; }
.ps-app-icon {
  background-color: #001e36;
  color: #31a8ff;
  font-weight: 800;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
}
.ps-menu-bar { display: flex; gap: 10px; font-size: 12px; color: #cccccc; }
.ps-menu-bar span { cursor: pointer; padding: 2px 4px; border-radius: 2px; }
.ps-menu-bar span:hover { background: #444; color: #fff; }
.ps-title-center { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #bbb; }
#ps-doc-title { color: #fff; font-weight: 500; cursor: text; padding: 1px 6px; border-radius: 2px; }
#ps-doc-title:hover { outline: 1px solid #31a8ff; }
.ps-zoom-label { color: #888; font-size: 11px; }
.ps-title-right { display: flex; align-items: center; gap: 6px; }
.ps-theme-btn { background: #444; color: #fff; border-color: #555; }

.ps-options-bar {
  background-color: #383838;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #222;
  font-size: 11px;
}
.ps-opt-group { display: flex; align-items: center; gap: 10px; }
.ps-tool-icon { font-weight: bold; font-size: 13px; color: #31a8ff; }
.ps-opt-select { background: #262626; color: #eee; border: 1px solid #444; border-radius: 2px; padding: 2px 6px; font-size: 11px; }
.ps-opt-label { color: #bbb; }
.ps-opt-aa { color: #aaa; }
.ps-reader-tools { display: flex; align-items: center; gap: 8px; }
.ps-pill-btn { background: #005fb8; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 11px; cursor: pointer; }
.ps-page-ctrl { display: flex; align-items: center; gap: 4px; }
.ps-btn { background: #484848; color: #eee; border: 1px solid #555; padding: 2px 6px; border-radius: 2px; font-size: 11px; cursor: pointer; }
.ps-btn:hover { background: #5a5a5a; }

.photoshop-workspace {
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background-color: #1e1e1e;
}
.ps-tools-panel {
  width: 40px;
  background-color: #333333;
  border-right: 1px solid #242424;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
  gap: 4px;
  flex-shrink: 0;
}
.ps-t-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 14px;
  cursor: pointer;
  border-radius: 3px;
}
.ps-t-btn:hover { background: #444; color: #fff; }
.ps-t-btn.active { background: #222; color: #31a8ff; outline: 1px solid #444; }
.ps-color-swatches { margin-top: auto; position: relative; width: 26px; height: 26px; }
.ps-swatch-fg { width: 16px; height: 16px; background: #000; border: 1px solid #888; position: absolute; top: 0; left: 0; z-index: 2; }
.ps-swatch-bg { width: 16px; height: 16px; background: #fff; border: 1px solid #888; position: absolute; bottom: 0; right: 0; z-index: 1; }

.ps-canvas-wrapper {
  flex: 1 1 0%;
  min-height: 0;
  overflow: auto;
  background-color: #282828;
  display: flex;
  justify-content: center;
  padding: 30px 20px;
}
.ps-canvas-container { max-width: 900px; width: 100%; margin: 0 auto; }
.ps-artboard {
  background-color: #ffffff;
  color: #1a1a1a;
  border-radius: 1px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  min-height: 900px;
  padding: 48px 56px;
  margin-bottom: 40px;
}
.ps-artboard-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #111;
  padding-bottom: 8px;
  margin-bottom: 24px;
  font-family: monospace;
  font-size: 11px;
  color: #555;
}
.ps-sheet-title-block h2 {
  font-size: 22px;
  color: #111;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  font-weight: 700;
}
.ps-spec-line { font-size: 11px; color: #777; margin-bottom: 28px; font-family: monospace; }
.ps-story-stream { display: flex; flex-direction: column; gap: 14px; }
.ps-story-paragraph {
  font-size: 15px;
  line-height: 1.8;
  color: #222;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: text;
  border-left: 3px solid transparent;
}
.ps-story-paragraph:hover { background-color: #f7f9fc; }
.ps-story-paragraph.active-paragraph {
  background-color: #eef5ff;
  border-left: 3px solid #31a8ff;
}
.ps-chunk-meta {
  font-size: 10px;
  color: #888;
  font-family: monospace;
  margin-bottom: 2px;
  display: block;
}

.ps-right-sidebar {
  width: 250px;
  background-color: #323232;
  border-left: 1px solid #242424;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.ps-panel-header { display: flex; background: #2a2a2a; border-bottom: 1px solid #222; }
.ps-panel-header span { padding: 6px 12px; font-size: 11px; color: #888; cursor: pointer; }
.ps-panel-header span.active { color: #fff; border-bottom: 2px solid #31a8ff; background: #323232; }
.ps-layers-list { flex: 1; overflow-y: auto; padding: 4px 0; }
.ps-layer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 11px;
  color: #ccc;
  border-bottom: 1px solid #2d2d2d;
  cursor: pointer;
}
.ps-layer-item:hover { background: #3a3a3a; }
.ps-layer-item.active { background: #264a66; color: #fff; }
.ps-layer-type { font-weight: bold; color: #31a8ff; font-family: monospace; }
.ps-layer-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-properties-box { border-top: 1px solid #242424; padding: 10px; background: #2d2d2d; }
.ps-props-title { font-size: 11px; font-weight: 600; color: #aaa; margin-bottom: 6px; }
.ps-props-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 11px; }
.ps-props-grid div { display: flex; flex-direction: column; gap: 2px; }
.ps-props-grid label { color: #777; font-size: 10px; }
.ps-props-grid span { color: #ddd; }

.ps-boss-view { background: #ffffff; border-radius: 4px; padding: 40px; text-align: center; color: #111; }
.ps-ad-hero h3 { font-size: 28px; font-weight: 800; letter-spacing: 1px; color: #001e36; margin: 16px 0 8px 0; }
.ps-ad-metrics-bar { display: flex; justify-content: center; gap: 16px; font-family: monospace; font-size: 11px; color: #666; margin-top: 20px; }
.ps-shape-gradient { height: 180px; background: linear-gradient(135deg, #31a8ff, #001e36); border-radius: 8px; margin-bottom: 16px; }


/* ==========================================================
   THEME 5: BLENDER 4.2 STYLES
   ========================================================== */
body.theme-blender {
  background-color: #232323;
  color: #dedede;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.blender-top-bar {
  background-color: #303030;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-bottom: 1px solid #1a1a1a;
  font-size: 12px;
}
.blender-top-left { display: flex; align-items: center; gap: 12px; }
.blender-menu-bar { display: flex; gap: 8px; color: #ccc; }
.blender-workspaces { display: flex; gap: 2px; margin-left: 10px; }
.blender-workspaces span { padding: 3px 8px; font-size: 11px; color: #aaa; border-radius: 3px; cursor: pointer; }
.blender-workspaces span.active { background: #444; color: #fff; }
.blender-workspaces span:hover { color: #fff; }
#blender-doc-title { color: #fff; font-weight: 500; cursor: text; padding: 1px 6px; border-radius: 2px; }
#blender-doc-title:hover { outline: 1px solid #ea7600; }
.blender-top-right { display: flex; align-items: center; gap: 6px; }
.blender-theme-btn { background: #ea7600; color: #fff; border: none; }

.blender-sub-bar {
  background-color: #2c2c2c;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #1f1f1f;
  font-size: 11px;
}
.blender-sub-left { display: flex; align-items: center; gap: 8px; color: #999; }
.blender-badge { background: #3d3d3d; color: #eee; padding: 2px 6px; border-radius: 3px; }
.blender-reader-tools { display: flex; align-items: center; gap: 8px; }
.blender-pill-btn { background: #ea7600; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 11px; cursor: pointer; }
.blender-page-ctrl { display: flex; align-items: center; gap: 4px; }
.blender-btn { background: #3a3a3a; color: #ddd; border: 1px solid #4a4a4a; padding: 2px 6px; border-radius: 2px; font-size: 11px; cursor: pointer; }

.blender-workspace {
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background-color: #181818;
}
.blender-main-view {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  background-color: #1e1e1e;
  padding: 16px 20px;
}
.blender-console-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #2b2b2b;
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.b-tab { padding: 4px 10px; font-size: 11px; color: #888; border-radius: 3px; cursor: pointer; }
.b-tab.active { background: #2f2f2f; color: #ea7600; font-weight: 600; }
.b-console-status { margin-left: auto; font-family: monospace; font-size: 10px; color: #666; }
.blender-code-lines { display: flex; flex-direction: column; gap: 8px; font-family: 'Consolas', monospace; font-size: 13px; }
.blender-code-line {
  padding: 6px 12px;
  background: #242424;
  border-radius: 4px;
  border-left: 3px solid transparent;
  cursor: pointer;
  user-select: text;
  line-height: 1.6;
}
.blender-code-line:hover { background: #2a2a2a; }
.blender-code-line.active-line {
  background: #2b2f38;
  border-left: 3px solid #ea7600;
}
.b-cmd-prefix { color: #e5c07b; margin-right: 8px; }
.b-story-text { color: #98c379; }

.blender-right-sidebar {
  width: 260px;
  background-color: #2b2b2b;
  border-left: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.blender-outliner { flex: 1; padding: 10px; font-size: 11px; border-bottom: 1px solid #222; }
.b-outliner-title { font-weight: 600; color: #ea7600; margin-bottom: 8px; }
.b-tree-node { padding: 3px 6px; color: #ccc; cursor: pointer; }
.b-tree-node:hover { background: #383838; }
.b-tree-node.ind { padding-left: 16px; }
.b-tree-node.ind2 { padding-left: 28px; }
.blender-props-panel { padding: 12px; font-size: 11px; }
.b-prop-tab { font-weight: 600; color: #ddd; margin-bottom: 8px; }
.b-prop-row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #333; }
.b-prop-row span { color: #888; }

.blender-boss-view {
  position: relative;
  height: 500px;
  background: #191919;
  border: 1px solid #333;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blender-3d-gizmo { position: absolute; top: 16px; right: 20px; font-weight: bold; font-family: monospace; font-size: 16px; display: flex; gap: 8px; }
.blender-stats-overlay {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.8;
  color: #aaa;
  background: rgba(0,0,0,0.6);
  padding: 12px 18px;
  border-radius: 4px;
}
.blender-stats-overlay b { color: #ea7600; }


/* ==========================================================
   THEME 6: LINKEDIN FEED STYLES
   ========================================================== */
body.theme-linkedin {
  background-color: #f3f2ef;
  color: #191919;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.linkedin-navbar {
  background-color: #ffffff;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid #e0e0e0;
}
.linkedin-nav-left { display: flex; align-items: center; gap: 10px; }
.linkedin-logo {
  background-color: #0a66c2;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  padding: 1px 7px;
  border-radius: 4px;
}
.linkedin-search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #edf3f8;
  padding: 6px 12px;
  border-radius: 4px;
  width: 240px;
}
.linkedin-search-box input { background: transparent; border: none; outline: none; font-size: 12px; width: 100%; color: #333; }
.linkedin-nav-center { display: flex; gap: 24px; }
.linkedin-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  color: #666;
  cursor: pointer;
  padding: 4px 6px;
}
.linkedin-nav-item:hover, .linkedin-nav-item.active { color: #191919; border-bottom: 2px solid #191919; }
.ln-icon { font-size: 16px; }
.linkedin-nav-right { display: flex; align-items: center; gap: 8px; }
.linkedin-nav-btn { background: #0a66c2; color: #fff; padding: 4px 10px; border-radius: 16px; font-weight: 600; font-size: 12px; cursor: pointer; }
.linkedin-page-ctrl { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #666; }
.ln-btn { background: #fff; border: 1px solid #ccc; padding: 3px 8px; border-radius: 12px; font-size: 11px; cursor: pointer; }
.ln-btn:hover { background: #f0f0f0; }

.linkedin-workspace {
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background-color: #f3f2ef;
}
.linkedin-layout-container {
  display: flex;
  max-width: 1180px;
  width: 100%;
  padding: 20px 10px;
  gap: 20px;
  height: 100%;
}
.linkedin-col-left { width: 230px; flex-shrink: 0; }
.ln-profile-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}
.ln-cover-banner { height: 55px; background: linear-gradient(120deg, #a0b4b7, #dbe7e4); }
.ln-avatar-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0a66c2;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -30px auto 8px auto;
  border: 2px solid #fff;
}
.ln-profile-details { padding: 0 12px 12px 12px; border-bottom: 1px solid #eee; }
.ln-profile-details h4 { font-size: 14px; font-weight: 600; color: #191919; }
.ln-profile-details p { font-size: 11px; color: #666; margin-top: 4px; }
.ln-profile-stats { padding: 10px 14px; text-align: left; font-size: 11px; border-bottom: 1px solid #eee; }
.stat-row { display: flex; justify-content: space-between; margin-bottom: 6px; color: #666; }
.stat-row b { color: #0a66c2; }
.ln-profile-footer { padding: 10px; font-size: 11px; font-weight: 600; color: #555; text-align: left; }

.linkedin-col-center {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ln-start-post-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
}
.ln-start-input-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ln-avatar-mini {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0a66c2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.ln-fake-input {
  flex: 1;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 12px;
  color: #666;
}
.ln-post-types { display: flex; justify-content: space-around; font-size: 12px; font-weight: 600; color: #666; }

.linkedin-story-stream { display: flex; flex-direction: column; gap: 12px; }
.linkedin-post-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
  user-select: text;
}
.linkedin-post-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.linkedin-post-card.active-post {
  border: 1.5px solid #0a66c2;
  box-shadow: 0 2px 12px rgba(10, 102, 194, 0.15);
}
.ln-post-author { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ln-post-author h5 { font-size: 13px; font-weight: 600; color: #191919; }
.ln-post-author span { font-size: 11px; color: #777; display: block; }
.ln-post-text { font-size: 14px; line-height: 1.6; color: #222; margin-bottom: 12px; }
.ln-hashtags { font-size: 12px; color: #0a66c2; font-weight: 500; margin-bottom: 12px; }
.ln-reaction-bar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 8px;
  font-size: 11px;
  color: #666;
  font-weight: 600;
}

.linkedin-col-right { width: 280px; flex-shrink: 0; }
.ln-news-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px;
}
.ln-news-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.ln-news-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ln-news-list li b { font-size: 12px; color: #191919; display: block; }
.ln-news-list li span { font-size: 11px; color: #777; }

.ln-kpi-highlight-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  background: #f7fafc;
  padding: 16px;
  border-radius: 6px;
  margin-top: 12px;
  text-align: center;
}
.kpi-box h3 { color: #0a66c2; font-size: 20px; font-weight: 700; }
.kpi-box span { font-size: 11px; color: #666; }


/* ==========================================================
   THEME 7: AUTODESK AUTOCAD 2026 STYLES
   ========================================================= */
body.theme-autocad {
  background-color: #212830;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.cad-title-bar {
  background-color: #2d333b;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-bottom: 1px solid #1c2128;
}
.cad-title-left { display: flex; align-items: center; gap: 12px; }
.cad-logo {
  background-color: #c41527;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 1px 6px;
  border-radius: 3px;
}
.cad-quick-access { display: flex; gap: 8px; font-size: 13px; color: #bbb; }
.cad-title-center { display: flex; align-items: center; gap: 6px; font-size: 12px; }
#autocad-doc-title { color: #fff; font-weight: 600; cursor: text; padding: 1px 6px; }
#autocad-doc-title:hover { outline: 1px solid #c41527; }
.cad-version { color: #888; font-size: 11px; }
.cad-title-right { display: flex; align-items: center; gap: 6px; }
.cad-theme-btn { background: #c41527; color: #fff; border: none; }

.cad-ribbon-bar {
  background-color: #282f38;
  border-bottom: 1px solid #1c2128;
}
.cad-ribbon-tabs { display: flex; gap: 4px; padding: 2px 10px 0 10px; }
.cad-ribbon-tabs span { padding: 4px 12px; font-size: 11px; color: #aaa; cursor: pointer; border-radius: 3px 3px 0 0; }
.cad-ribbon-tabs span.active { background: #22272e; color: #fff; font-weight: 600; }
.cad-ribbon-panels {
  background-color: #22272e;
  height: 62px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 16px;
  border-top: 1px solid #1c2128;
}
.cad-ribbon-group { display: flex; flex-direction: column; align-items: center; border-right: 1px solid #333; padding-right: 14px; }
.cad-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; font-size: 10px; }
.cad-tool { background: #2d333b; padding: 2px 6px; border-radius: 2px; color: #ddd; cursor: pointer; }
.cad-group-label { font-size: 9px; color: #777; margin-top: 3px; text-transform: uppercase; }
.cad-layer-box { display: flex; align-items: center; gap: 6px; background: #2d333b; padding: 6px 12px; border-radius: 3px; font-size: 11px; }
.cad-layer-color { width: 10px; height: 10px; background: #00ffff; border-radius: 2px; }
.cad-reader-group { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cad-pill-btn { background: #c41527; color: #fff; padding: 3px 10px; border-radius: 3px; font-size: 11px; cursor: pointer; }
.cad-page-ctrl { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.cad-btn { background: #373e47; color: #eee; border: 1px solid #444c56; padding: 3px 8px; border-radius: 2px; font-size: 11px; cursor: pointer; }

.autocad-workspace {
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #212830;
}
.cad-viewport-wrapper {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  position: relative;
  padding: 30px;
  background-color: #1e242b;
  background-image: radial-gradient(#2d3744 1px, transparent 1px);
  background-size: 24px 24px;
}
.cad-ucs-icon {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-left: 2px solid #00ff00;
  border-bottom: 2px solid #ff0000;
  font-size: 10px;
  font-family: monospace;
}
.cad-axis-y { position: absolute; top: -14px; left: -2px; color: #00ff00; font-weight: bold; }
.cad-axis-x { position: absolute; bottom: -14px; right: -8px; color: #ff0000; font-weight: bold; }

.cad-drawing-sheet { max-width: 960px; margin: 0 auto; }
.cad-drawing-border {
  border: 2px solid #00ffff;
  padding: 24px;
  background: rgba(33, 40, 48, 0.95);
  box-shadow: 0 0 20px rgba(0,255,255,0.1);
}
.cad-title-block-header {
  border-bottom: 1.5px solid #00ffff;
  padding-bottom: 12px;
  margin-bottom: 20px;
  font-family: monospace;
  font-size: 11px;
  color: #ffff00;
  display: flex;
  justify-content: space-between;
}
.cad-notes-container { display: flex; flex-direction: column; gap: 10px; font-family: monospace; font-size: 13px; }
.cad-note-item {
  padding: 8px 12px;
  background: rgba(45, 51, 59, 0.6);
  border-left: 3px solid #ffff00;
  line-height: 1.7;
  cursor: pointer;
  user-select: text;
}
.cad-note-item:hover { background: rgba(55, 62, 71, 0.9); }
.cad-note-item.active-note {
  border-left: 3px solid #00ffff;
  background: rgba(0, 255, 255, 0.12);
}
.cad-note-tag { color: #00ffff; font-weight: bold; margin-right: 8px; }
.cad-note-text { color: #ffffff; }

.cad-command-line {
  background-color: #1c2128;
  border-top: 1px solid #30363d;
  padding: 6px 14px;
  font-family: monospace;
  font-size: 12px;
  color: #c9d1d9;
}
.cad-cmd-history { color: #8b949e; font-size: 11px; margin-bottom: 2px; }
.cad-cmd-input-row { display: flex; align-items: center; gap: 8px; }
.cad-cmd-prompt { color: #58a6ff; font-weight: bold; }
.cad-cmd-input { background: transparent; border: none; outline: none; color: #fff; font-family: monospace; font-size: 12px; flex: 1; }

.cad-boss-view { background: #161b22; border: 2px solid #58a6ff; padding: 20px; border-radius: 4px; }
.cad-plan-title { font-family: monospace; font-size: 13px; color: #58a6ff; margin-bottom: 12px; font-weight: bold; }
.cad-plan-svg { width: 100%; height: 420px; background: #0d1117; }


/* ==========================================================
/* ==========================================================
   ADVANCED SPLIT WORKSPACES & ACTIVE WORK IN PROGRESS STYLING
   ========================================================== */

/* 1. PHOTOSHOP MULTI-ARTBOARD STYLING */
.ps-artboards-row {
  display: flex;
  gap: 36px;
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
}
.ps-canvas-container {
  max-width: 1600px;
  width: 100%;
}
.ps-visual-artboard, .ps-text-artboard {
  flex: 1 1 50%;
  min-width: 480px;
}
.ps-visual-artboard {
  background-color: #1f2329;
  border: 1px solid #333a42;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  padding: 24px;
  position: sticky !important;
  top: 16px !important;
  align-self: flex-start !important;
  max-height: calc(100vh - 110px) !important;
  overflow: hidden !important;
  z-index: 10;
}
.ps-visual-artboard .ps-artboard-header {
  border-bottom: 1px solid #3a424d;
  color: #31a8ff;
}
.ps-visual-canvas {
  position: relative;
  height: 580px;
  background: radial-gradient(#2b323c 1px, #16191d 1px);
  background-size: 20px 20px;
  border: 1px solid #2d333b;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ps-guide-line-h {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 255, 255, 0.5);
  pointer-events: none;
  z-index: 5;
}
.ps-guide-line-v {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 255, 255, 0.5);
  pointer-events: none;
  z-index: 5;
}
.ps-composition-body {
  position: relative;
  width: 86%;
  height: 80%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ps-comp-bg-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #09203f 0%, #537895 100%);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  opacity: 0.9;
}
.ps-comp-abstract-shape {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49,168,255,0.7) 0%, rgba(255,0,128,0.3) 100%);
  filter: blur(24px);
  top: 15%;
  right: 15%;
}
.ps-transform-bounding-box {
  position: relative;
  z-index: 6;
  border: 1.5px solid #31a8ff;
  padding: 30px 24px;
  background: rgba(10, 25, 45, 0.75);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  max-width: 380px;
  box-shadow: 0 0 15px rgba(49, 168, 255, 0.3);
}
.ps-brand-tag {
  font-size: 10px;
  letter-spacing: 2px;
  color: #31a8ff;
  font-weight: 700;
  font-family: monospace;
}
.ps-transform-content h3 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0;
  line-height: 1.3;
}
.ps-transform-content p {
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.5;
}
.ps-handle {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #ffffff;
  border: 1.5px solid #31a8ff;
}
.ps-handle.tl { top: -4px; left: -4px; cursor: nwse-resize; }
.ps-handle.tc { top: -4px; left: calc(50% - 3.5px); cursor: ns-resize; }
.ps-handle.tr { top: -4px; right: -4px; cursor: nesw-resize; }
.ps-handle.ml { top: calc(50% - 3.5px); left: -4px; cursor: ew-resize; }
.ps-handle.mr { top: calc(50% - 3.5px); right: -4px; cursor: ew-resize; }
.ps-handle.bl { bottom: -4px; left: -4px; cursor: nesw-resize; }
.ps-handle.bc { bottom: -4px; left: calc(50% - 3.5px); cursor: ns-resize; }
.ps-handle.br { bottom: -4px; right: -4px; cursor: nwse-resize; }
.ps-hud-info {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #334155;
  border-radius: 4px;
  padding: 4px 10px;
  display: flex;
  gap: 12px;
  font-family: monospace;
  font-size: 10px;
  color: #38bdf8;
  z-index: 8;
}

/* 2. BLENDER DUAL VIEWPORT SPLIT STYLING */
.blender-split-container {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.blender-3d-pane {
  flex: 0 0 46%;
  background-color: #191919;
  border-right: 2px solid #111111;
  display: flex;
  flex-direction: column;
  position: relative;
}
.blender-script-pane {
  flex: 1 1 54%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #1e1e1e;
}
.b-viewport-header {
  height: 28px;
  background-color: #262626;
  border-bottom: 1px solid #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 11px;
}
.b-view-title { font-weight: 600; color: #ea7600; }
.b-view-stats { color: #888; font-family: monospace; font-size: 10px; }
.b-3d-canvas-area {
  flex: 1;
  position: relative;
  background: radial-gradient(circle at center, #2c2c2c 0%, #151515 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.b-mesh-svg {
  width: 95%;
  height: 90%;
}
.b-viewport-hud {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: monospace;
  font-size: 10px;
  line-height: 1.6;
  color: #888888;
  background: rgba(15, 15, 15, 0.7);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #292929;
  pointer-events: none;
}
.b-viewport-hud b { color: #ea7600; }

/* 3. AUTOCAD DUAL MODEL SPACE STYLING */
.cad-dual-model-space {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 12px 14px;
  gap: 14px;
  box-sizing: border-box;
}
.cad-blueprint-live-pane {
  flex: 0 0 52%;
  display: flex;
  flex-direction: column;
  background: #181d22;
  border: 1.5px solid #2d3744;
  border-radius: 2px;
  overflow: hidden;
}
.cad-notes-live-pane {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cad-pane-title-tag {
  background: #232931;
  padding: 6px 12px;
  font-family: monospace;
  font-size: 11px;
  color: #00ffff;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #2d3744;
}
.cad-scale-tag { color: #ffff00; font-weight: bold; }
.cad-canvas-vector-box {
  flex: 1;
  position: relative;
  background-color: #1e242b;
  background-image: radial-gradient(#2c3746 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cad-blueprint-svg {
  width: 96%;
  height: 94%;
}
.cad-crosshair-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}
.cad-crosshair-cursor::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  width: 1px;
  height: 48px;
  background: #ffffff;
}
.cad-crosshair-cursor::after {
  content: "";
  position: absolute;
  left: -24px;
  top: 0;
  height: 1px;
  width: 48px;
  background: #ffffff;
}
.cad-crosshair-pickbox {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  border: 1px solid #ffffff;
}
.cad-notes-live-pane .cad-drawing-border {
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 16px;
}
.cad-notes-scroll-container {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
}

/* 5. LINKEDIN GROUPED PARAGRAPHS STYLING */
.ln-post-paragraphs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.ln-post-paragraph {
  font-size: 14px;
  line-height: 1.65;
  color: #222222;
  padding: 6px 10px;
  border-radius: 4px;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-left 0.15s ease;
  user-select: text;
}
.ln-post-paragraph:hover {
  background-color: #f3f6f9;
}
.ln-post-paragraph.active-paragraph {
  background-color: #e8f3fc;
  border-left: 3px solid #0a66c2;
  color: #053b70;
  font-weight: 500;
}
.ln-paragraph-seq {
  font-size: 10px;
  font-family: monospace;
  color: #0a66c2;
  margin-right: 6px;
  font-weight: bold;
}

/* 6. AUTOCAD 3D MODEL VIEWPORT & REALISTIC ASSET RENDERING */
.cad-3d-model-viewport {
  position: relative;
  background-color: #1a1e24 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cad-house-img-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cad-live-3d-model-img {
  max-width: 96%;
  max-height: 94%;
  object-fit: contain;
  filter: contrast(1.05) brightness(0.98);
  pointer-events: none;
}
.cad-viewcube-overlay {
  position: absolute;
  top: 14px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 12;
  pointer-events: none;
}
.cad-viewcube-box {
  width: 48px;
  height: 48px;
  background: #3a424d;
  border: 1px solid #586575;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-family: monospace;
  font-weight: bold;
  color: #c9d1d9;
}
.cad-viewcube-box span { line-height: 1.1; }
.vc-top { color: #58a6ff; }
.vc-front { color: #f0883e; }
.vc-right { color: #3fb950; }
.cad-wcs-label {
  font-size: 9px;
  font-family: monospace;
  color: #8b949e;
  margin-top: 3px;
  font-weight: bold;
}
.cad-viewport-stats-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(15, 20, 26, 0.82);
  border: 1px solid #30363d;
  border-radius: 3px;
  padding: 6px 12px;
  font-family: monospace;
  font-size: 10px;
  color: #8b949e;
  line-height: 1.6;
  z-index: 10;
  pointer-events: none;
}
.cad-viewport-stats-tag b { color: #58a6ff; }

/* Fullscreen Boss AutoCAD 3D Mode */
.cad-fullscreen-3d-box {
  position: relative;
  background: #11151b;
  border: 1.5px solid #30363d;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}
.cad-boss-full-img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 2px;
}
.cad-boss-telemetry-hud {
  width: 100%;
  margin-top: 14px;
  background: rgba(22, 27, 34, 0.9);
  border: 1px solid #30363d;
  border-radius: 4px;
  padding: 10px 16px;
  font-family: monospace;
  font-size: 11px;
  color: #8b949e;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cad-boss-telemetry-hud b { color: #58a6ff; }

/* Photoshop Boss Mode Artwork Enhancements */
.ps-boss-hero-svg {
  width: 100%;
  height: 100%;
}
.ps-comp-mesh-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ps-comp-vector-mesh {
  width: 90%;
  height: 90%;
}

/* Blender Boss Mode Artwork Enhancements */
.blender-3d-boss-canvas {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blender-boss-svg {
  width: 95%;
  height: 95%;
}

/* ==========================================================
   GLOBAL READER READING CONTROLS & SHOW/HIDE SYSTEM
   ========================================================== */
.reader-reading-ctrls {
  display: flex !important;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

body.controls-hidden .reader-reading-ctrls {
  display: none !important;
}

/* Control Buttons Standard Polish */
.portal-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #1d4ed8;
  transition: all 0.15s ease;
}
.portal-nav-btn:hover {
  background: #1d4ed8;
}

.theme-switch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  background: #374151;
  color: #f3f4f6;
  border: 1px solid #4b5563;
  transition: all 0.15s ease;
}
.theme-switch-pill:hover {
  background: #4b5563;
  color: #fff;
}

.boss-key-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  background: #d93025;
  color: #ffffff;
  border: 1px solid #b3261e;
  transition: all 0.15s ease;
}
.boss-key-btn:hover {
  background: #b3261e;
}
.boss-key-btn .boss-badge {
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 9px;
  font-weight: bold;
}

.reader-toggle-btn {
  padding: 3px 9px;
  border-radius: 4px;
  background: #2b313a;
  color: #c9d1d9;
  border: 1px solid #444c56;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  user-select: none;
  transition: all 0.15s ease;
}
.reader-toggle-btn:hover {
  background: #3b434e;
  color: #ffffff;
  border-color: #58a6ff;
}

.floating-reader-toggle {
  position: fixed;
  bottom: 14px;
  right: 14px;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(26, 32, 44, 0.92);
  color: #edf2f7;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  user-select: none;
}
.floating-reader-toggle:hover {
  background: rgba(45, 55, 72, 0.98);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}
body.controls-hidden .floating-reader-toggle {
  opacity: 0.35;
  background: rgba(18, 20, 24, 0.75);
}
body.controls-hidden .floating-reader-toggle:hover {
  opacity: 1.0;
  background: rgba(26, 32, 44, 0.95);
}

/* Photoshop */
body.theme-photoshop {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #535353;
}

.ps-title-bar {
  height: 32px;
  padding: 0 8px;
  background: #252525;
  border-bottom: 1px solid #161616;
}

.ps-menu-bar { gap: 0; }
.ps-menu-bar span {
  padding: 8px 9px;
  color: #dedede;
  font-size: 12px;
}

.ps-title-center {
  font-size: 11px;
  color: #c8c8c8;
}

.ps-title-right { gap: 3px; }
.ps-title-right .app-icon-action {
  color: #d8d8d8;
  background: transparent;
  border: 1px solid transparent;
}
.ps-title-right .app-icon-action:hover {
  background: #414141;
  border-color: #525252;
}

.ps-options-bar {
  height: 35px;
  padding: 0 8px;
  background: #323232;
  border-bottom: 1px solid #181818;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ps-opt-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-opt-btn, .ps-align-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  font-size: 11px;
  color: #c0c0c0;
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid transparent;
  user-select: none;
}
.ps-opt-btn:hover, .ps-align-btn:hover {
  background: #3e3e3e;
  color: #fff;
  border-color: #555;
}
.ps-align-btn.active {
  background: #222;
  border-color: #555;
  color: #38bdf8;
}
.ps-align-group {
  display: inline-flex;
  gap: 1px;
  background: #272727;
  padding: 1px;
  border-radius: 2px;
}
.ps-color-chip {
  width: 20px;
  height: 16px;
  border: 1px solid #888;
  border-radius: 2px;
  display: inline-block;
  cursor: pointer;
}

.ps-pill-btn,
.ps-btn {
  color: #e2e8f0;
  background: #3c3c3c;
  border: 1px solid #525252;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.ps-pill-btn:hover,
.ps-btn:hover {
  background: #4a4a4a;
  border-color: #666;
  color: #fff;
}

.ps-document-tabs {
  display: flex;
  height: 31px;
  align-items: stretch;
  background: #252525;
  border-bottom: 1px solid #151515;
  padding-left: 39px;
}
.ps-document-tabs span {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #9b9b9b;
  font-size: 11px;
  border-right: 1px solid #161616;
}
.ps-document-tabs span.active {
  color: #f0f0f0;
  background: #424242;
  box-shadow: inset 0 2px #31a8ff;
}

.photoshop-workspace {
  height: calc(100vh - 98px);
  min-height: 0;
  background: #535353;
}

.ps-tools-panel {
  width: 40px;
  flex: 0 0 40px;
  padding: 5px 3px;
  background: #2b2b2b;
  border-right: 1px solid #191919;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ps-t-btn {
  width: 32px;
  height: 28px;
  margin: 1px 0;
  color: #d5d5d5;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: "Segoe UI Symbol", "Segoe UI", sans-serif;
  font-size: 13px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
.ps-t-btn .sub-arrow {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 0;
  height: 0;
  border-right: 3px solid #888;
  border-top: 3px solid transparent;
}
.ps-t-btn:hover { background: #3b3b3b; border-color: #4a4a4a; color: #fff; }
.ps-t-btn.active {
  background: #222 !important;
  border-color: #0078d4 !important;
  color: #38bdf8 !important;
  box-shadow: inset 0 0 2px #0078d4;
}
.ps-color-swatches {
  margin-top: auto;
  position: relative;
  width: 28px;
  height: 32px;
  margin-bottom: 4px;
}
.ps-default-colors-btn {
  position: absolute;
  top: -8px;
  left: 0;
  font-size: 8px;
  cursor: pointer;
  color: #aaa;
  line-height: 1;
}
.ps-swap-colors-btn {
  position: absolute;
  top: -8px;
  right: 0;
  font-size: 9px;
  cursor: pointer;
  color: #aaa;
  line-height: 1;
}
.ps-swatch-fg {
  width: 15px;
  height: 15px;
  background: #000;
  border: 1px solid #888;
  position: absolute;
  top: 6px;
  left: 1px;
  z-index: 2;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.ps-swatch-bg {
  width: 15px;
  height: 15px;
  background: #fff;
  border: 1px solid #888;
  position: absolute;
  bottom: 0px;
  right: 1px;
  z-index: 1;
}

/* Layers Sidebar Controls */
.ps-layers-control-bar, .ps-layers-lock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  background: #2b2b2b;
  border-bottom: 1px solid #202020;
  font-size: 10px;
  color: #aaa;
}
.ps-blend-mode-select {
  background: #1e1e1e;
  color: #ccc;
  border: 1px solid #3c3c3c;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 2px;
  outline: none;
}
.ps-opacity-box, .ps-fill-box {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ps-opacity-box b, .ps-fill-box b {
  color: #fff;
}
.ps-lock-icon {
  font-size: 10px;
  cursor: pointer;
  padding: 1px 3px;
  border-radius: 2px;
}
.ps-lock-icon.active {
  background: #3a3a3a;
  color: #38bdf8;
}
.ps-layers-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 4px 6px;
  background: #2b2b2b;
  border-top: 1px solid #202020;
  color: #aaa;
  font-size: 11px;
}
.ps-layer-action-btn {
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 2px;
  user-select: none;
}
.ps-layer-action-btn:hover {
  background: #3c3c3c;
  color: #fff;
}

.ps-canvas-wrapper {
  padding: 24px 26px 50px;
  background: #535353;
}
.ps-artboards-row { gap: 30px; }
.ps-visual-artboard {
  flex-basis: 57%;
  min-width: 500px;
  padding: 12px;
  background: #303030;
  position: sticky !important;
  top: 16px !important;
  align-self: flex-start !important;
  max-height: calc(100vh - 110px) !important;
  overflow: hidden !important;
  z-index: 10;
}
.ps-text-artboard { flex-basis: 43%; min-width: 390px; }
.ps-visual-canvas {
  height: auto;
  min-height: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #203e34;
  border: 0;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.ps-comp-bg-layer,
.ps-comp-mesh-art { display: none; }
.ps-composition-body { width: 100%; height: 100%; }
.ps-transform-bounding-box {
  position: absolute;
  left: 7%;
  bottom: 8%;
  max-width: 370px;
  padding: 18px 20px;
  background: rgba(12,18,24,.62);
  border: 1px solid #31a8ff;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.ps-hud-info {
  right: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 1px;
  background: rgba(30,30,30,.88);
}
.ps-artboard-sheet { padding: 36px 44px; }
.ps-sheet-title-block { margin-bottom: 22px; }
.ps-sheet-title-block h2 { font-size: 20px; letter-spacing: 0; }
.ps-story-stream { gap: 0; }
.ps-story-paragraph {
  padding: 9px 10px 11px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ps-story-paragraph:hover { background: #f2f6fb; }
.ps-story-paragraph.active-paragraph {
  background: #eaf4ff;
  border-left-color: #168de2;
  box-shadow: none;
}
.ps-chunk-meta {
  margin-bottom: 4px;
  color: #8a8a8a;
  font-family: "Segoe UI", sans-serif;
  font-size: 8px;
  letter-spacing: 0;
}
.ps-chunk-body { font-size: 14px; line-height: 1.58; color: #202020; }
.ps-right-sidebar { width: 250px; flex: 0 0 250px; background: #292929; }
.ps-layer-item { height: 28px; font-size: 11px; }
.ps-layer-item.active { background: #454545; }

/* Blender */
body.theme-blender { font-family: "Segoe UI", Arial, sans-serif; }
.blender-top-bar { height: 29px; padding: 0 7px; background: #1d1d1d; }
.blender-menu-bar { gap: 0; }
.blender-menu-bar span,
.blender-workspaces span { padding: 6px 8px; border-radius: 0; font-size: 11px; }
.blender-workspaces span.active { background: #303030; box-shadow: inset 0 -2px #ea7600; }
.blender-top-right { gap: 2px; }
.blender-top-right .app-icon-action {
  color: #c8c8c8;
  background: transparent;
  border: 1px solid transparent;
}
.blender-top-right .app-icon-action:hover { background: #353535; border-color: #454545; }
.blender-sub-bar { height: 29px; padding: 0 7px; }
.blender-pill-btn,
.blender-btn { background: #393939; color: #d2d2d2; border-color: #4c4c4c; }
.blender-workspace { height: calc(100vh - 58px); min-height: 0; }
.blender-3d-pane { flex-basis: 58%; }
.blender-script-pane { flex-basis: 42%; min-width: 390px; }
.b-viewport-header { height: 28px; padding: 0 8px; }
.b-vp-menus { display: flex; gap: 9px; }
.b-vp-shading { display: flex; gap: 3px; color: #aaa; }
.b-vp-shading span { width: 18px; text-align: center; }
.b-3d-canvas-area { background: radial-gradient(circle at 50% 45%, #303030 0%, #191919 72%); }
.b-viewport-hud { background: transparent; border: 0; padding: 0; border-radius: 0; }
.blender-console-header { height: 29px; background: #252525; border-bottom: 1px solid #111; }
.b-tab { padding: 7px 12px; border-right: 1px solid #151515; color: #aaa; }
.b-tab.active { color: #ddd; background: #343434; box-shadow: inset 0 2px #ea7600; }
.blender-code-lines {
  gap: 0;
  padding: 8px 0 40px;
  background: #1b1b1b;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}
.blender-code-line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 23px;
  padding: 2px 12px 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 19px;
}
.blender-code-line:hover { background: #252525; }
.blender-code-line.active-line { background: #303238; box-shadow: inset 2px 0 #ea7600; }
.b-line-number {
  padding-right: 10px;
  color: #666;
  text-align: right;
  user-select: none;
}
.b-code-content { min-width: 0; color: #c8c8c8; white-space: pre-wrap; overflow-wrap: anywhere; }
.b-code-var { color: #79b8ff; }
.b-code-op { color: #d8d8d8; }
.b-story-text { color: #ce9178; }
.b-cmd-prefix { display: none; }
.blender-right-sidebar { width: 225px; flex-basis: 225px; }

/* AutoCAD */
body.theme-autocad { font-family: "Segoe UI", Arial, sans-serif; background: #20262d; }
.cad-title-bar { height: 31px; padding: 0 8px; background: #272e36; }
.cad-title-right { gap: 2px; }
.cad-title-right .app-icon-action {
  color: #d7dce2;
  background: transparent;
  border: 1px solid transparent;
}
.cad-title-right .app-icon-action:hover { background: #39424d; border-color: #4c5662; }
.cad-quick-access { gap: 1px; }
.cad-quick-access span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d5d9de;
  font-size: 13px;
}
.cad-ribbon-bar { background: #2d343d; }
.cad-ribbon-tabs { height: 26px; padding-top: 0; }
.cad-ribbon-tabs span { padding: 6px 12px 5px; border-radius: 0; }
.cad-ribbon-tabs span.active { background: #3a424c; box-shadow: inset 0 2px #d73b4a; }
.cad-ribbon-panels { height: 62px; padding: 5px 10px 3px; }
.cad-tools-grid { gap: 2px 8px; }
.cad-tool { min-width: 72px; color: #d2d6da; font-size: 10px; }
.cad-tool b { width: 16px; color: #53bde8; font-size: 14px; text-align: center; }
.cad-pill-btn,
.cad-btn { background: #3a424c; color: #dfe3e7; border-color: #505a66; }
.cad-file-tabs {
  display: flex;
  align-items: end;
  height: 31px;
  padding-left: 8px;
  background: #1f252c;
  border-top: 1px solid #171b20;
  border-bottom: 1px solid #11161b;
}
.cad-file-tabs span {
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #aeb5bd;
  font-size: 11px;
  border-right: 1px solid #11161b;
}
.cad-file-tabs span.active { color: #fff; background: #303842; box-shadow: inset 0 2px #d73b4a; }
.cad-file-tabs .cad-new-tab { width: 30px; padding: 0; justify-content: center; }
.autocad-workspace { height: calc(100vh - 181px); min-height: 0; }
.cad-viewport-wrapper { background-color: #191f25; }
.cad-dual-model-space { padding: 0; gap: 1px; }
.cad-blueprint-live-pane {
  flex-basis: 68%;
  border: 0;
  border-radius: 0;
  background: #1b2026;
}
.cad-notes-live-pane {
  flex-basis: 32%;
  min-width: 330px;
  border-left: 1px solid #0f1317;
  background: #252c34;
}
.cad-pane-title-tag { height: 26px; padding: 6px 10px; background: #242b33; }
.cad-canvas-vector-box { background-color: #1b2026; background-size: 18px 18px; }
.cad-house-img-container { width: 100%; height: 100%; }
.cad-live-3d-model-img { display: none !important; }
.cad-blueprint-svg { display: block !important; width: 96%; height: 96%; }
.cad-notes-live-pane .cad-drawing-border { padding: 0; border: 0; }
.cad-title-block-header {
  padding: 10px 12px;
  background: #303842;
  border-bottom: 1px solid #11161b;
  font-family: "Segoe UI", sans-serif;
}
.cad-tb-proj { color: #e5e9ed; font-size: 11px; }
.cad-tb-sheet,
.cad-tb-scale { color: #9ca6b0; font-size: 9px; }
.cad-notes-scroll-container { padding: 6px 4px 30px 0; }
.cad-notes-container { gap: 0; font-family: Consolas, monospace; font-size: 11px; }
.cad-note-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  line-height: 1.55;
}
.cad-note-item:hover { background: #2d3640; }
.cad-note-item.active-note { background: #313d47; border-left-color: #00c6d7; box-shadow: none; }
.cad-note-tag { color: #49c6d7; font-size: 10px; }
.cad-note-text { color: #e1e6eb; }
.cad-command-line { height: 45px; min-height: 45px; padding: 3px 10px; background: #20272e; }
.cad-status-strip {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
  padding: 0 8px;
  background: #1b5a80;
  color: #dbefff;
  font-size: 9px;
}
.cad-status-strip span { padding: 3px 6px; }
.cad-status-strip span.active { background: #2876a3; color: #fff; }
.cad-status-strip .cad-coordinates { margin-left: auto; font-family: Consolas, monospace; }

/* LinkedIn Navigation & Post Controls */
.linkedin-nav-right { gap: 6px; }
.ln-profile-item, .ln-apps-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #666;
  cursor: pointer;
  padding: 0 6px;
  user-select: none;
}
.ln-avatar-nav {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0a66c2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}
.ln-profile-item:hover, .ln-apps-item:hover { color: #000; }
.ln-btn, .linkedin-nav-btn {
  background: #edf3f8;
  color: #0a66c2;
  border: 1px solid #0a66c2;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.ln-btn:hover, .linkedin-nav-btn:hover { background: #d0e4f7; }
.linkedin-post-card.active-post { border-color: #d6d6d6; box-shadow: inset 3px 0 #0a66c2; }
.ln-paragraph-seq { display: none; }
.ln-post-paragraph { padding: 7px 0; border: 0; background: transparent; }
.ln-post-paragraph.active-paragraph { background: #eef6fc; box-shadow: inset 2px 0 #0a66c2; }



/* Left Column Layout with Updates & Guide */
.portal-col-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* New Updates (Changelog) Box */
.portal-card-updates {
  background: var(--portal-card-bg);
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  padding: 18px 18px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}

.portal-badge-new {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #86efac;
  letter-spacing: 0.2px;
}

.portal-updates-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
  margin-top: 6px;
}

.portal-updates-list::-webkit-scrollbar {
  width: 5px;
}
.portal-updates-list::-webkit-scrollbar-track {
  background: transparent;
}
.portal-updates-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.portal-updates-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.update-entry {
  background: #f8fafc;
  border: 1px solid var(--portal-border);
  border-radius: 8px;
  padding: 9px 12px;
  transition: all 0.15s ease;
}
.update-entry:hover {
  background: #f1f5f9;
  border-color: var(--portal-border-hover);
}
.update-entry.current-version {
  background: #f0fdf4;
  border-color: #86efac;
  box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.3);
}

.update-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.update-version-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.update-version-tag .v-num {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--portal-text-primary);
}
.update-version-tag .v-date {
  font-size: 10.5px;
  color: var(--portal-text-secondary);
}

.update-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.update-badge.purple {
  background: #ede9fe;
  color: #6d28d9;
}
.update-badge.blue {
  background: #dbeafe;
  color: #1d4ed8;
}
.update-badge.orange {
  background: #ffedd5;
  color: #c2410c;
}
.update-badge.cyan {
  background: #cffafe;
  color: #0e7490;
}
.update-badge.green {
  background: #dcfce7;
  color: #15803d;
}
.update-badge.gray {
  background: #f1f5f9;
  color: #475569;
}

.update-bullet-list {
  margin: 0;
  padding-left: 15px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #334155;
}
.update-bullet-list li {
  margin-bottom: 3px;
}
.update-bullet-list li:last-child {
  margin-bottom: 0;
}
.update-bullet-list li b {
  color: var(--portal-text-primary);
}

/* Guide scrollable container polish */
.portal-guide-stacked {
  max-height: 270px;
  overflow-y: auto;
  padding-right: 4px;
}
.portal-guide-stacked::-webkit-scrollbar {
  width: 5px;
}
.portal-guide-stacked::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}


/* Google Form Feedback Section & Buttons */
.ui-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-btn-feedback-nav {
  background: #ffffff;
  color: var(--portal-primary);
  border: 1px solid var(--portal-border);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ui-btn-feedback-nav:hover {
  background: var(--portal-primary-light);
  border-color: var(--portal-primary);
}

.ui-feedback-box {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px dashed var(--portal-border-hover);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.ui-feedback-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ui-feedback-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.ui-feedback-header h5 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--portal-text-primary);
}

.ui-feedback-header p {
  margin: 2px 0 0 0;
  font-size: 11px;
  color: var(--portal-text-secondary);
}

.ui-btn-feedback {
  background: #ffffff;
  color: var(--portal-primary);
  border: 1.5px solid var(--portal-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.ui-btn-feedback:hover {
  background: var(--portal-primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.portal-updates-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--portal-border);
  font-size: 11px;
  color: var(--portal-text-secondary);
}

.portal-link-feedback {
  background: none;
  border: none;
  color: var(--portal-primary);
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.portal-link-feedback:hover {
  text-decoration: underline;
  background: var(--portal-primary-light);
}

/* ==================================================
   THEME: GOOGLE DOCS (GOOGLE TÀI LIỆU)
   ================================================== */
body.theme-googledocs {
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  background-color: #f9fbfd;
  color: #202124;
}

/* --- GOOGLE DOCS TOP BAR --- */
.gdocs-top-bar {
  background-color: #ffffff;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 4px 14px;
  border-bottom: 1px solid #f1f3f4;
}

.gdocs-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gdocs-logo-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.gdocs-title-and-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gdocs-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gdocs-doc-title {
  font-size: 18px;
  color: #1f1f1f;
  font-weight: 400;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.gdocs-doc-title:hover {
  outline: 1px solid #dadce0;
}

.gdocs-doc-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gdocs-icon-btn {
  background: transparent;
  border: none;
  font-size: 15px;
  color: #5f6368;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gdocs-icon-btn:hover {
  background-color: #f1f3f4;
}

.gdocs-cloud-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #5f6368;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.gdocs-cloud-status:hover {
  background-color: #f1f3f4;
}

.gdocs-menu-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: -4px;
}

.gdocs-menu-item {
  background: transparent;
  border: none;
  font-size: 13px;
  color: #202124;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.gdocs-menu-item:hover {
  background-color: #f1f3f4;
}

.gdocs-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gdocs-reading-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gdocs-circle-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444746;
}

.gdocs-circle-btn:hover {
  background-color: #f1f3f4;
}

.gdocs-share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #c2e7ff;
  color: #001d35;
  border: none;
  height: 38px;
  padding: 0 20px 0 16px;
  border-radius: 19px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
}

.gdocs-share-btn:hover {
  background-color: #b3d7f5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.gdocs-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285F4, #1a73e8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

/* --- GOOGLE DOCS TOOLBAR --- */
.gdocs-toolbar {
  background-color: #edf2fa;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  margin: 4px 16px 6px 16px;
  border-radius: 20px;
  flex-shrink: 0;
}

.gdocs-tools-group {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gdocs-tools-group::-webkit-scrollbar {
  display: none;
}

.gd-tool-btn {
  background: transparent;
  border: none;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: #444746;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.1s ease;
}

.gd-tool-btn:hover {
  background-color: rgba(68, 71, 70, 0.08);
}

.gd-tool-divider {
  width: 1px;
  height: 18px;
  background-color: #c4c7c5;
  margin: 0 4px;
}

.gd-select {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 12px;
  color: #444746;
  cursor: pointer;
  outline: none;
}

.gd-select:hover {
  background-color: rgba(68, 71, 70, 0.08);
}

.gd-style-select {
  width: 125px;
}

.gd-font-select {
  width: 105px;
}

.gd-size-select {
  width: 46px;
}

.gd-zoom-select {
  width: 68px;
}

/* Reading Controls inside toolbar */
.gdocs-reader-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.gd-reader-pill-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #ffffff;
  border: 1px solid #c4c7c5;
  color: #1a73e8;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.gd-reader-pill-btn:hover {
  background-color: #f1f3f4;
  border-color: #1a73e8;
}

.gd-file-name {
  font-size: 11px;
  color: #444746;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gd-page-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #ffffff;
  padding: 2px 6px;
  border-radius: 12px;
  border: 1px solid #dadce0;
}

.gd-mini-btn {
  background: transparent;
  border: none;
  font-size: 11px;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 4px;
  color: #444746;
}

.gd-mini-btn:hover {
  background-color: #f1f3f4;
}

.gd-page-text {
  font-size: 11px;
  color: #444746;
  font-weight: 500;
  min-width: 38px;
  text-align: center;
}

#gd-input-jump {
  width: 38px;
  height: 20px;
  font-size: 11px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  text-align: center;
  outline: none;
}

/* --- GOOGLE DOCS WORKSPACE --- */
.gdocs-workspace {
  display: flex;
  flex: 1;
  overflow: hidden;
  background-color: #f9fbfd;
  position: relative;
}

.gdocs-layout-container {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Left Document Outline Sidebar */
.gdocs-outline-sidebar {
  width: 240px;
  background-color: #ffffff;
  border-right: 1px solid #e0e2ec;
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  overflow-y: auto;
  flex-shrink: 0;
}

.gdocs-outline-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #444746;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gdocs-outline-summary-card {
  background-color: #f0f4f9;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 18px;
}

.gdocs-outline-summary-card h5 {
  font-size: 12px;
  font-weight: 600;
  color: #1a73e8;
  margin-bottom: 4px;
}

.gdocs-outline-summary-card p {
  font-size: 11px;
  color: #444746;
  line-height: 1.4;
}

.gdocs-outline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gdocs-outline-item {
  font-size: 12px;
  color: #444746;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gdocs-outline-item:hover {
  background-color: #e8f0fe;
  color: #1a73e8;
}

.gdocs-outline-item.active {
  background-color: #d3e3fd;
  color: #041e49;
  font-weight: 600;
}

.gdocs-outline-item.level-2 {
  padding-left: 20px;
  font-size: 11px;
  color: #747775;
}

/* Center Canvas & Paper Container */
.gdocs-canvas-scroll-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
  background-color: #f9fbfd;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 80px;
}

/* Google Docs Ruler */
.gdocs-ruler-bar {
  width: 816px;
  height: 18px;
  flex-shrink: 0;
  background-color: #ffffff;
  border: 1px solid #dadce0;
  border-bottom: 1px solid #e8eaed;
  margin-top: 14px;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  user-select: none;
}

.gdocs-ruler-ticks {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
}

.gdocs-ruler-tick {
  font-size: 9px;
  color: #70757a;
  position: relative;
}

.gdocs-ruler-tick::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 1px;
  height: 4px;
  background-color: #dadce0;
}

/* Document Paper Sheet (A4 / US Letter representation) */
.gdocs-page-sheet {
  width: 816px;
  min-height: 1056px;
  height: auto;
  flex-shrink: 0;
  background-color: #ffffff;
  box-shadow: 0 1px 3px 1px rgba(60,64,67,.15), 0 1px 2px 0 rgba(60,64,67,.3);
  padding: 72px 72px 90px 72px;
  box-sizing: border-box;
  margin-top: 14px;
  margin-bottom: 60px;
  color: #202124;
  line-height: 1.65;
  font-size: 11pt;
  position: relative;
}

.gdocs-header-watermark {
  font-size: 9pt;
  color: #70757a;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #e8eaed;
  padding-bottom: 6px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gdocs-doc-heading {
  font-size: 20pt;
  font-weight: 700;
  color: #1f1f1f;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.gdocs-doc-subtitle {
  font-size: 11pt;
  color: #5f6368;
  text-align: center;
  margin-bottom: 24px;
}

.gdocs-doc-divider {
  border: none;
  height: 1px;
  background-color: #dadce0;
  margin: 20px 0 28px 0;
}

/* Story Stream inside Google Docs */
.gdocs-story-stream {
  display: flex;
  flex-direction: column;
}

.gdocs-story-paragraph {
  font-size: 11pt;
  line-height: 1.75;
  color: #202124;
  text-indent: 28px;
  margin-bottom: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-left 0.15s ease;
  text-align: justify;
}

.gdocs-story-paragraph:hover {
  background-color: #f8fafd;
}

.gdocs-story-paragraph.active-paragraph {
  background-color: #e8f0fe;
  border-left: 3px solid #1a73e8;
  padding-left: 10px;
}

/* Boss Mode View (Real High-Level Corporate Business Proposal) */
.gdocs-boss-view {
  display: none;
  font-size: 11pt;
  color: #202124;
  line-height: 1.6;
}

.gdocs-boss-view h2 {
  font-size: 15pt;
  color: #1a73e8;
  margin: 24px 0 10px 0;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 4px;
}

.gdocs-boss-view h3 {
  font-size: 12pt;
  color: #202124;
  margin: 16px 0 8px 0;
}

.gdocs-boss-view p {
  margin-bottom: 12px;
  text-align: justify;
}

.gdocs-boss-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px 0;
  font-size: 10.5pt;
}

.gdocs-boss-table th {
  background-color: #f1f3f4;
  border: 1px solid #dadce0;
  padding: 8px 10px;
  text-align: left;
  font-weight: 600;
  color: #202124;
}

.gdocs-boss-table td {
  border: 1px solid #dadce0;
  padding: 8px 10px;
}

.gdocs-boss-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 9.5pt;
  font-weight: 600;
}

.gdocs-badge-done {
  background-color: #ceead6;
  color: #0d652d;
}

.gdocs-badge-prog {
  background-color: #feefc3;
  color: #b06000;
}

.gdocs-boss-signoff {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px dashed #dadce0;
}

.gdocs-signoff-col {
  text-align: center;
  width: 40%;
}

.gdocs-signoff-title {
  font-weight: 600;
  margin-bottom: 50px;
}

.gdocs-signoff-name {
  font-weight: 700;
  color: #1f1f1f;
}
