:root {
  color-scheme: light;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --surface-soft: #f1f3f4;
  --ink: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --line-soft: #e8eaed;
  --accent: #0b57d0;
  --accent-hover: #0842a0;
  --accent-soft: #e8f0fe;
  --danger: #b3261e;
  --success: #137333;
  --shadow-1: 0 1px 2px rgba(60, 64, 67, .16), 0 1px 3px 1px rgba(60, 64, 67, .08);
  --shadow-2: 0 4px 8px 3px rgba(60, 64, 67, .15), 0 1px 3px rgba(60, 64, 67, .3);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
body.file-vault-open { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.button-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.app-shell { min-height: 100vh; }
.app-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto minmax(190px, 420px) 1fr;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 650;
  letter-spacing: -.02em;
}
.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  gap: 3px;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 8px;
  background: var(--accent);
}
.brand-mark span { display: block; border-radius: 999px; background: white; }
.brand-mark span:nth-child(1) { height: 8px; opacity: .76; }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 12px; opacity: .88; }
.brand-name { font-size: 16px; white-space: nowrap; }

.project-switcher {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 44px;
  padding: 0 6px 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.project-switcher:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.project-color-mini { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.project-switcher select {
  min-width: 0;
  width: 100%;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 560;
  text-overflow: ellipsis;
}

.app-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
.icon-button,
.sign-in-button,
.ai-button,
.primary-button,
.secondary-button,
.danger-button,
.round-add,
.dialog-close,
.auth-close,
.header-button {
  border: 0;
  outline: 0;
  user-select: none;
}
.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
}
.icon-button:hover { background: var(--surface-soft); color: var(--ink); }
.icon-button:active { background: #e4e7e9; }
.icon-button.compact { width: 34px; height: 34px; }
.icon-button:disabled { opacity: .38; cursor: default; }
.icon-button:disabled:hover { background: transparent; }
.count-badge {
  position: absolute;
  right: 1px;
  top: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border: 2px solid white;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 13px;
}
.sign-in-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 20px;
  color: var(--accent);
  background: transparent;
  font-weight: 620;
}
.sign-in-button:hover { background: var(--accent-soft); }
.ai-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 20px;
  color: white;
  background: var(--accent);
  font-weight: 620;
  box-shadow: none;
}
.ai-button:hover { background: var(--accent-hover); box-shadow: var(--shadow-1); }
.ai-button:active { box-shadow: none; }
.ai-button:disabled { opacity: .45; cursor: default; box-shadow: none; }
.user-button { display: inline-flex; align-items: center; min-width: 36px; min-height: 36px; }
.sync-status { max-width: 120px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sync-status[data-state="failed"] { color: var(--danger); }

.workspace {
  width: 100%;
  min-height: calc(100vh - 64px);
  padding: 32px 16px 96px;
}
.document {
  width: min(860px, 100%);
  min-height: 680px;
  margin: 0 auto;
  padding: 54px 64px 72px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.project-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 520px;
  gap: 18px;
  text-align: center;
}
.project-empty h1 { margin: 0; font-size: 26px; font-weight: 560; letter-spacing: -.02em; }
.empty-logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: var(--accent);
  background: var(--accent-soft);
}
.empty-logo .button-icon { width: 24px; height: 24px; }

.document-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.document-title-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.document-title-row h1 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 540;
  letter-spacing: -.035em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.material-count { flex: 0 0 auto; color: var(--muted); font-size: 13px; }

.thought-composer {
  position: relative;
  margin: 0 0 24px;
  padding: 18px 18px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.thought-composer:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.thought-composer textarea {
  display: block;
  width: 100%;
  min-height: 92px;
  max-height: 320px;
  padding: 0 0 12px;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 18px;
  line-height: 1.62;
}
.thought-composer textarea::placeholder { color: #80868b; }
.composer-footer {
  display: flex;
  align-items: center;
  min-height: 38px;
  gap: 8px;
}
.format-picker {
  display: inline-grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  max-width: 240px;
  height: 34px;
  padding: 0 9px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-soft);
}
.format-picker .button-icon { width: 17px; height: 17px; }
.format-picker select {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  text-overflow: ellipsis;
}
.key-hint { color: #9aa0a6; font-size: 11px; letter-spacing: .01em; }
.round-add {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border-radius: 50%;
  color: white;
  background: var(--accent);
}
.round-add:hover { background: var(--accent-hover); }

.materials-section { min-height: 160px; }
.material-list { display: grid; }
.material-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border-bottom: 1px solid var(--line-soft);
}
.material-row:first-child { border-top: 1px solid var(--line-soft); }
.material-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--muted);
  font-size: 14px;
}
.material-title {
  min-width: 0;
  padding: 12px 0;
  overflow: hidden;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.material-title:not(:disabled):hover { color: var(--accent); }
.remove-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  font-size: 20px;
}
.remove-button:hover { color: var(--ink); background: var(--surface-soft); }
.project-callout {
  display: grid;
  place-items: center;
  min-height: 148px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.output-card {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.output-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.output-notice {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #8a4b00;
  background: #fef7e0;
  font-size: 13px;
}
#promptOutput {
  min-height: 120px;
  margin: 0;
  padding: 20px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  font: 14px/1.72 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Library side sheet */
.side-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(430px, 100vw);
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.side-dialog::backdrop,
.dialog::backdrop { background: rgba(32, 33, 36, .34); }
.side-sheet {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 16px;
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.side-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}
.side-sheet-head h2 { margin: 0; font-size: 20px; font-weight: 560; }
.search-control {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 8px 0 14px;
  padding: 0 12px;
  border-radius: 22px;
  color: var(--muted);
  background: var(--surface-soft);
}
.search-control input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}
.note-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.note-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line-soft);
}
.note-toggle {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 4px 4px;
  border: 0;
  outline: 0;
  background: transparent;
  text-align: left;
}
.note-toggle strong {
  min-width: 0;
  overflow: hidden;
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.note-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 13px;
}
.note-row.is-selected .note-check { border-color: var(--accent); color: white; background: var(--accent); }
.note-row.is-selected .note-toggle strong { color: var(--accent); }
.format-mark { color: var(--muted); }
.format-mark .button-icon { width: 17px; height: 17px; }
.row-more {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
}
.row-more:hover { background: var(--surface-soft); color: var(--ink); }
.empty-state {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 220px;
  padding: 32px;
  color: var(--muted);
  text-align: center;
}
.empty-state h2 { margin: 10px 0 4px; color: var(--ink); font-size: 17px; font-weight: 560; }
.empty-state p { margin: 0; font-size: 13px; }
.empty-state.compact { min-height: 120px; }
.empty-mark { font-size: 24px; }

/* Dialogs */
.dialog {
  width: min(520px, calc(100vw - 28px));
  max-width: none;
  max-height: min(88dvh, 820px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 16px;
  background: transparent;
}
.dialog.medium-dialog { width: min(720px, calc(100vw - 28px)); }
.dialog-card {
  display: flex;
  flex-direction: column;
  max-height: min(88dvh, 820px);
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px 16px 10px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.dialog-head h2 { margin: 0; font-size: 20px; font-weight: 560; }
.dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  font-size: 22px;
}
.dialog-close:hover { background: var(--surface-soft); }
.dialog-body { min-height: 0; padding: 18px 22px; overflow-y: auto; }
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 64px;
  padding: 10px 18px;
  border-top: 1px solid var(--line-soft);
}
.dialog-footer.split { justify-content: space-between; }
.dialog-footer > div { display: flex; gap: 8px; }
.form-stack { display: grid; gap: 16px; }
.form-stack label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; }
.form-stack input[type="text"],
.form-stack textarea,
.language-row select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: var(--surface);
  color: var(--ink);
}
.form-stack textarea { min-height: 180px; resize: vertical; line-height: 1.6; }
.form-stack input:focus,
.form-stack textarea:focus,
.language-row select:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.check-row { grid-template-columns: auto 1fr !important; align-items: center; justify-content: start; }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.color-input { width: 52px !important; min-height: 42px !important; padding: 3px !important; }
.primary-button,
.secondary-button,
.danger-button,
.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 19px;
  font-weight: 600;
}
.primary-button { color: white; background: var(--accent); }
.primary-button:hover { background: var(--accent-hover); }
.secondary-button { color: var(--accent); background: transparent; }
.secondary-button:hover { background: var(--accent-soft); }
.danger-button { color: var(--danger); background: transparent; }
.danger-button:hover { background: #fce8e6; }
.menu-list { display: grid; gap: 2px; }
.compact-list { margin: 4px -10px -4px; }
.menu-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
}
.menu-row:hover { background: var(--surface-soft); }
.menu-row strong { min-width: 0; font-weight: 520; }
.menu-row small { color: var(--muted); font-size: 11px; }
.menu-row .button-icon { width: 19px; height: 19px; color: var(--muted); }
.menu-divider { height: 1px; margin: 8px 0; background: var(--line-soft); }
.menu-inline-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 0 8px; }
.menu-inline-row .secondary-button { border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.file-action { cursor: pointer; }
.language-row {
  display: grid;
  grid-template-columns: 1fr minmax(130px, auto);
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 5px 10px;
}
.language-row select { min-height: 36px; padding: 6px 10px; }
.history-list, .kotonoma-list { display: grid; gap: 8px; }
.history-row, .kotonoma-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}
.history-row div, .kotonoma-row div { min-width: 0; }
.history-row strong, .kotonoma-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-row small, .kotonoma-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.dialog-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.subscription-body > p { margin: 0 0 16px; color: var(--muted); }
.subscription-status { margin-bottom: 12px; font-weight: 600; }
.pricing-table-mount { min-height: 0; }

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(32, 33, 36, .42);
}
.auth-modal.is-open { display: grid; }
.auth-card {
  position: relative;
  width: min(440px, 100%);
  max-height: 92dvh;
  overflow-y: auto;
  padding: 46px 12px 12px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.auth-close {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  color: var(--muted);
  background: var(--surface-soft);
}
.auth-loading { padding: 42px; color: var(--muted); text-align: center; }

.toast-region {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.toast {
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 8px;
  color: white;
  background: #303134;
  box-shadow: var(--shadow-2);
  font-size: 13px;
  animation: toast-in .16s ease-out;
}
.toast[data-tone="success"] { background: var(--success); }
.toast[data-tone="error"] { background: var(--danger); }
.toast.is-leaving { opacity: 0; transform: translateY(4px); transition: .18s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } }

button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 860px) {
  .app-bar {
    grid-template-columns: auto minmax(130px, 1fr) auto;
    gap: 8px;
    padding-inline: 10px;
  }
  .brand-name { display: none; }
  .project-switcher { grid-template-columns: 7px minmax(0, 1fr) 32px; height: 42px; }
  .app-actions { gap: 2px; }
  .sync-status { display: none !important; }
  .document { padding: 42px 42px 64px; }
}

@media (max-width: 640px) {
  .app-bar { min-height: 58px; grid-template-columns: 34px minmax(0, 1fr) auto; padding: 7px 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .project-switcher { height: 40px; padding-left: 10px; }
  .project-switcher select { height: 36px; font-size: 14px; }
  .project-switcher .icon-button { width: 30px; height: 30px; }
  .app-actions .sign-in-button { width: 36px; min-height: 36px; padding: 0; border-radius: 50%; }
  .app-actions .sign-in-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .app-actions .icon-button { width: 36px; height: 36px; }
  .ai-button { width: 38px; min-height: 38px; padding: 0; border-radius: 50%; }
  .ai-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .workspace { min-height: calc(100vh - 58px); padding: 0 0 80px; background: var(--surface); }
  .document {
    width: 100%;
    min-height: calc(100vh - 58px);
    margin: 0;
    padding: 28px 16px 60px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .document-head { margin-bottom: 22px; }
  .document-title-row { grid-template-columns: 9px minmax(0, 1fr) 32px; gap: 8px; }
  .document-title-row h1 { font-size: 24px; }
  .material-count { font-size: 12px; }
  .thought-composer { padding: 15px 14px 10px; border-radius: 10px; }
  .thought-composer textarea { min-height: 112px; font-size: 17px; overflow-y: visible; }
  .key-hint { display: none; }
  .format-picker { max-width: calc(100% - 44px); }
  .project-callout { min-height: 132px; }
  .side-dialog { width: 100vw; }
  .side-sheet { padding: 12px 12px 18px; }
  .dialog, .dialog.medium-dialog {
    width: 100vw;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: 18px 18px 0 0;
  }
  .dialog-card { max-height: 92dvh; border-radius: 18px 18px 0 0; }
  .toast-region { left: 16px; right: 16px; bottom: 14px; }
  .toast { width: 100%; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .app-bar, .thought-composer, .material-list, .project-callout, .material-count, .document-head .icon-button { display: none !important; }
  body, .workspace { background: white; }
  .workspace { padding: 0; }
  .document { width: 100%; min-height: 0; padding: 0; border: 0; box-shadow: none; }
  .output-card { margin: 0; padding: 0; border: 0; }
  #promptOutput { border: 0; padding: 0; }
}
