/* ═══ Shared components: modal · toast · dropdown · context menu · upgrade ═══ */

/* ── Modal ── */
.modal-veil {
  position: fixed; inset: 0; z-index: var(--z-modal); background: var(--scrim);
  display: flex; align-items: center; justify-content: center; padding: 22px;
  animation: veil-in var(--dur-med) ease;
}
@keyframes veil-in { from { opacity: 0; } }
.modal {
  background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius-l);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: var(--shadow-2); width: min(480px, 100%); max-height: 92vh;
  display: flex; flex-direction: column; animation: modal-in var(--dur-med) cubic-bezier(.2, 1.4, .5, 1);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.modal.md-lg { width: min(680px, 100%); }
.modal.md-xl { width: min(980px, 100%); height: 92vh; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 15px 18px 0; }
.modal-head h3 { font-size: 15.5px; flex: 1; }
.modal-body { padding: 14px 18px; overflow-y: auto; flex: 1; }
.modal-foot { display: flex; justify-content: flex-end; gap: 9px; padding: 0 18px 16px; flex-wrap: wrap; }

/* glass needs backdrop-filter; without it (disabled GPU acceleration,
   reduced-transparency OS settings) fall back to solid panels */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .modal, .ctx-menu, .cp-pop { background: var(--bg-1); }
}

/* ── Media preview (lightbox) ── */
.modal.mv { width: min(1280px, 100%); height: min(94vh, 100%); }
.modal.mv .modal-head { padding: 12px 14px 0; }
.modal.mv .modal-body { padding: 12px 14px 14px; overflow: hidden; display: flex; min-height: 0; }
.mv-head { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.mv-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.mv-name { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv-meta { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.mv-stage {
  position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
  background: var(--bg-canvas); border: 1px solid var(--stroke-soft); border-radius: var(--radius-m); overflow: hidden;
}
.mv-media { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.mv-audio-face { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; max-width: 100%; }
.mv-audio-face svg { color: var(--track-audio); }
.mv-audio-face b { font-size: 13.5px; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv-audio { width: min(420px, 74vw); }
.mv-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 40px; height: 40px; border: 0; color: #fff; background: var(--scrim);
  opacity: .55; transition: opacity var(--dur-fast);
}
.mv-nav:hover { opacity: 1; }
.mv-prev { left: 10px; }
.mv-next { right: 10px; }

/* ── Toast ── */
.toast-rack { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: var(--z-toast); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: var(--bg-3); color: var(--text-1); border: 1px solid var(--stroke);
  border-radius: var(--radius-m); padding: 9px 16px; font-size: 13px; box-shadow: var(--shadow-2);
  animation: toast-in var(--dur-med) ease; max-width: 420px; text-align: center; pointer-events: auto;
}
.toast.err { border-color: var(--bad); }
.toast.ok { border-color: var(--good); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ── Context / dropdown menu ── */
.ctx-menu {
  position: fixed; z-index: calc(var(--z-modal) + 10); min-width: 168px;
  background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius-m);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--shadow-2); padding: 5px; animation: modal-in var(--dur-fast) ease;
}
.ctx-menu button {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  border: 0; background: transparent; color: var(--text-1); padding: 8px 10px;
  border-radius: var(--radius-s); cursor: pointer; font-size: 13px;
}
.ctx-menu button svg { width: 15px; height: 15px; color: var(--text-2); }
.ctx-menu button:hover { background: var(--bg-3); }
.ctx-menu button.danger, .ctx-menu button.danger svg { color: var(--bad); }
.ctx-menu hr { border: 0; border-top: 1px solid var(--stroke-soft); margin: 5px 3px; }

/* ── Color field (swatch + native picker + hex) ── */
.color-field { display: inline-flex; align-items: center; gap: 7px; }
.color-field .well {
  width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--stroke); cursor: pointer;
  position: relative; overflow: hidden; flex: none;
}
.color-field .well input[type="color"] { position: absolute; inset: -6px; width: 40px; height: 40px; border: 0; padding: 0; cursor: pointer; }
.color-field .hex { width: 74px; font-size: 12px; padding: 5px 7px; font-variant-numeric: tabular-nums; text-transform: uppercase; }

/* ── Color picker popover ── */
.cp-pop {
  position: fixed; z-index: calc(var(--z-modal) + 20); width: 272px;
  background: var(--glass); border: 1px solid var(--stroke); border-radius: 12px;
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--shadow-2); padding: 12px; display: flex; flex-direction: column; gap: 10px;
  animation: modal-in var(--dur-fast) ease;
}
.cp-pop .cp-cap { font-size: 9.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; margin: 2px 0 -4px; }
/* loupe eyedropper: full-screen catch veil + magnified pixel grid that follows
   the cursor over the editor canvas */
.cp-loupe-veil { position: fixed; inset: 0; z-index: calc(var(--z-modal) + 40); cursor: crosshair; }
.cp-loupe-wrap {
  position: fixed; pointer-events: none; border-radius: 16px; overflow: hidden;
  border: 2px solid #fff; box-shadow: var(--shadow-2); width: 132px;
}
.cp-loupe { display: block; }
.cp-loupe-hex {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  font-size: 11px; font-weight: 600; color: #fff; padding: 3px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8); background: rgba(0, 0, 0, .35);
}
.cp-pop .sw-add { display: grid; place-items: center; background: var(--bg-2); color: var(--text-2); font-size: 14px; line-height: 1; border: 1.5px dashed var(--stroke); }
.cp-pop .sw-add:hover { border-color: var(--accent); color: var(--text-1); }
.cp-sv { position: relative; height: 148px; border-radius: 9px; cursor: crosshair; touch-action: none; }
.cp-dot {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.45), 0 1px 4px rgba(0,0,0,.4);
  transform: translate(-50%, -50%); pointer-events: none;
}
.cp-hue {
  position: relative; height: 14px; border-radius: 7px; cursor: pointer; touch-action: none;
  background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
}
.cp-thumb {
  position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(0,0,0,.25); box-shadow: 0 1px 4px rgba(0,0,0,.4);
  transform: translate(-50%, -50%); pointer-events: none;
}
.cp-io { display: flex; align-items: center; gap: 8px; }
.cp-preview { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--stroke); flex: none; }
.cp-hex { flex: 1; font-size: 13px; padding: 6px 9px; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.cp-eye { flex: none; }
.cp-eye-ico { font-size: 14px; line-height: 1; }
.cp-rgb { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.cp-lab { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-3); }
.cp-num { width: 100%; padding: 5px 6px; font-size: 12.5px; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.cp-num::-webkit-inner-spin-button, .cp-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* swatch rows */
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatches .sw { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--stroke); cursor: pointer; transition: transform var(--dur-fast); }
.swatches .sw:hover { transform: scale(1.15); }
.swatches .sw.on { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ── Upgrade modal ── */
.upgrade-hero { text-align: center; padding: 8px 4px 2px; }
.upgrade-hero .ico { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 15px; background: var(--accent-grad); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 20px rgba(139, 92, 246, .4); }
.upgrade-hero .ico svg { width: 26px; height: 26px; }
.upgrade-hero h3 { font-size: 17px; }
.upgrade-hero p { color: var(--text-2); font-size: 13px; margin-top: 5px; }
.upgrade-list { margin: 15px 0 14px; display: flex; flex-direction: column; gap: 8px; }
.upgrade-list .it { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; padding: 5px 8px; border-radius: var(--radius-s); }
.upgrade-list .it svg { width: 16px; height: 16px; color: var(--good); flex: none; margin-top: 1px; }
/* the feature the user just bumped into: tinted so the modal answers "why am I
   seeing this" before it asks for money */
.upgrade-list .it.on { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.upgrade-list .it.on span { font-weight: 600; }

.up-plans { margin-bottom: 2px; }
.up-note { margin-top: 10px; font-size: 12px; text-align: center; }

/* ── Progress bar ── */
.prog { height: 7px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--accent-grad); transition: width .18s ease; }

/* ── Keyboard hint ── */
kbd { background: var(--bg-3); border: 1px solid var(--stroke); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; font-size: 11px; font-family: inherit; color: var(--text-2); }

/* ── AI Studio: dashboard tool cards + the studio modal ── */
.ai-tools-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px;
  margin-bottom: 26px;
}
.ai-tool-card {
  position: relative;
  border: 1px solid var(--stroke); border-radius: var(--radius-m); background: var(--bg-1);
  padding: 13px 12px; cursor: pointer; text-align: left; transition: all var(--dur-fast);
  display: flex; flex-direction: column; gap: 3px;
}
.ai-tool-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.ai-tool-card .em { font-size: 22px; margin-bottom: 3px; }
.ai-tool-card b { font-size: 13px; }
.ai-tool-card > span:last-child { font-size: 11px; color: var(--text-2); line-height: 1.35; }
.ai-tool-cost {
  position: absolute; top: 8px; right: 8px; font-size: 10px; font-weight: 600;
  color: var(--text-2); background: var(--bg-2); border: 1px solid var(--stroke-soft);
  border-radius: 999px; padding: 2px 7px; line-height: 1.4;
}

/* the studio takes the whole screen: form rail left, big result canvas right.
   SOLID background — a work surface this big must never be glass: machines
   without backdrop-filter (GPU off, reduced transparency) render glass as
   fully see-through */
.modal.md-xl:has(.ai-studio) {
  width: calc(100vw - 28px); max-width: 1500px; height: 96vh;
  background: var(--bg-1); backdrop-filter: none; -webkit-backdrop-filter: none;
}
.modal.md-xl:has(.ai-studio) .modal-body { display: flex; }
/* live generation jobs above the tool cards: skeleton while running, failure
   card with the reason and a retry */
.ai-jobs-strip { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ai-job-card {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid var(--stroke); border-radius: var(--radius-m); background: var(--bg-1);
}
.ai-job-card.failed { border-color: color-mix(in srgb, var(--bad) 45%, var(--stroke)); }
.ai-job-thumb {
  width: 46px; height: 46px; border-radius: var(--radius-s); flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 20px; background: var(--bg-2);
}
.shimmer {
  background: linear-gradient(100deg, var(--bg-2) 40%, var(--bg-3) 50%, var(--bg-2) 60%);
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.ai-job-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ai-job-meta b { font-size: 13px; }
.ai-job-meta > span { font-size: 11.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ai-studio { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 18px; flex: 1; min-height: 0; }
@media (max-width: 820px) { .ai-studio { grid-template-columns: 1fr; overflow-y: auto; } }
.ais-left { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow-y: auto; padding-right: 6px; }
.ais-form { display: flex; flex-direction: column; gap: 7px; }
.ais-label { font-size: 12px; color: var(--text-2); font-weight: 600; margin-top: 5px; }
.ais-label .opt { font-weight: 400; color: var(--text-3); }
.ais-pick-tools { display: flex; gap: 6px; }
.ais-pick-tools .ais-search { flex: 1; min-width: 0; font-size: 12px; padding: 6px 9px; }
.ais-pick-tools .select { width: auto; font-size: 12px; padding: 5px 26px 5px 8px; }
.ais-pick {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 7px;
  padding: 2px; max-height: 252px; overflow-y: auto;
}
.ais-cell {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden;
  border: 2px solid var(--stroke); background: var(--thumb-bg); cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; color: var(--text-3);
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.ais-cell:hover { transform: scale(1.04); }
.ais-cell img { width: 100%; height: 100%; object-fit: cover; }
.ais-cell.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.ais-cell.on::after {
  content: "✓"; position: absolute; top: 4px; right: 4px; width: 20px; height: 20px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.ais-cell.ais-up { border-style: dashed; }

/* logo brief: palette swatch chips + inspire dice */
.ais-palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; }
.ais-pal {
  display: flex; align-items: center; gap: 6px; padding: 6px 8px;
  border: 1.5px solid var(--stroke); border-radius: var(--radius-s); background: var(--bg-2);
  color: var(--text-2); font-size: 11.5px; cursor: pointer; transition: all var(--dur-fast);
}
.ais-pal:hover { border-color: var(--text-3); color: var(--text-1); }
.ais-pal.on { border-color: var(--accent); background: var(--accent-soft); color: var(--text-1); }
.ais-pal .dots { display: flex; gap: 3px; flex: none; }
.ais-pal .dots i { width: 14px; height: 14px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .18); }
.ais-pal .pname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ais-dice { align-self: flex-start; }
.ais-custom-colors { display: flex; gap: 8px; padding: 2px; }

/* device-code sign-in (ChatGPT / Grok): status line sits under a centered
   row of actions, so it reads as part of the same centered block */
.ai-signin-status { text-align: center; margin-top: 8px; }

/* account forms (sign in / register / reset) */
.acct-form { display: flex; flex-direction: column; gap: 9px; min-width: 300px; }
.acct-form .acct-err { color: #ff6b6b; min-height: 1em; margin: 0; }
.acct-form a { font-size: 12.5px; }

/* layout / brand-text picks: little schematic drawings instead of word chips */
.ais-diag-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.ais-diag-card {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 6px 7px; border: 1.5px solid var(--stroke); border-radius: var(--radius-s);
  background: var(--bg-2); cursor: pointer; transition: all var(--dur-fast); min-width: 0;
}
.ais-diag-card:hover { transform: translateY(-1px); border-color: var(--text-3); }
.ais-diag-card.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent-soft); }
.ais-diag-card .diag { width: 72px; height: 48px; display: block; }
.ais-diag-card .diag svg { width: 100%; height: 100%; display: block; }
.ais-diag-card .mk { fill: var(--accent); }
.ais-diag-card .tx { fill: var(--text-3); }
.ais-diag-card .tx.dim { opacity: .55; }
.ais-diag-card .sel { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 3; }
.ais-diag-card .hd { fill: var(--bg-1); stroke: var(--accent); stroke-width: 1.5; }
.ais-diag-card .ring { fill: none; stroke: var(--text-3); stroke-width: 2; }
.ais-diag-card .frame { fill: none; stroke: var(--text-3); stroke-width: 2; }
.ais-diag-card .dname { font-size: 10.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ais-diag-card.on .dname { color: var(--text-1); }

/* style cards: the brand name rendered in each style's real typography */
.ais-style-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ais-style-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 11px 8px 7px; border: 1.5px solid var(--stroke); border-radius: var(--radius-s);
  background: #ffffff; cursor: pointer; transition: all var(--dur-fast); min-width: 0;
}
.ais-style-card:hover { transform: translateY(-1px); border-color: var(--text-3); }
.ais-style-card.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.ais-style-card .sample {
  font-size: 17px; line-height: 1.15; color: #16181d; max-width: 100%;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.ais-style-card .sname { font-size: 10px; color: #6a7080; }
.sample.ss-auto { font-size: 20px; }
.sample.ss-minimal { font-family: "Montserrat", sans-serif; font-weight: 800; letter-spacing: -.02em; }
.sample.ss-geometric { font-family: "Poppins", sans-serif; font-weight: 800; }
.sample.ss-abstract {
  font-family: "Sora", sans-serif; font-weight: 800;
  background: linear-gradient(90deg, #5e5ce6, #0a84ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sample.ss-mascot { font-family: "Fredoka", sans-serif; font-weight: 600; color: #ff8a00; }
.sample.ss-emblem { font-family: "Playfair Display", serif; font-weight: 700; }
.sample.ss-handdrawn { font-family: "Pacifico", cursive; font-weight: 400; color: #d81b60; }
.sample.ss-tech {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  background: linear-gradient(90deg, #22d3ee, #5e5ce6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sample.ss-luxury { font-family: "Cormorant Garamond", serif; font-weight: 700; color: #b8912f; letter-spacing: .1em; }
.sample.ss-retro { font-family: "Abril Fatface", serif; font-weight: 400; color: #d7263d; }
.sample.ss-organic { font-family: "Quicksand", sans-serif; font-weight: 700; color: #2f855a; }

.ais-result {
  border: 1px solid var(--stroke-soft); border-radius: var(--radius-m); background: var(--bg-canvas);
  display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center;
  padding: 16px; min-height: 260px;
}
.ais-result .row { width: 100%; align-items: center; flex: none; }
.ais-hint { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-3); font-size: 12.5px; text-align: center; max-width: 280px; }
.ais-busy { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 13px; }
.ais-img { max-width: 100%; min-height: 0; flex: 1; object-fit: contain; border-radius: var(--radius-s); box-shadow: var(--shadow-2); }
.spinner {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 2.5px solid var(--stroke); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── AI Studio: per-tool prompt editor ── */
.ais-modal-head { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.ais-modal-head h3 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the dot is the only signal that results come from a custom prompt */
.ais-cog { position: relative; flex: none; }
.ais-cog.on { color: var(--accent); }
.ais-cog.on::after {
  content: ""; position: absolute; top: 4px; right: 4px; width: 7px; height: 7px;
  border-radius: 999px; background: var(--accent); border: 1.5px solid var(--bg-1);
}
.ais-prompt-ta { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.5; resize: vertical; }
.ais-prompt-status { color: var(--text-3); margin: 2px 0 6px; }
.ais-prompt-status.on { color: var(--accent); font-weight: 600; }
.ais-prompt-keys { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.ais-prompt-keys .chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; }
.ais-prompt-previewLabel { color: var(--text-3); margin: 12px 0 4px; }
.ais-prompt-preview {
  font-size: 12.5px; line-height: 1.55; color: var(--text-2); background: var(--bg-2);
  border: 1px solid var(--stroke-soft); border-radius: var(--radius-s);
  padding: 9px 11px; max-height: 150px; overflow-y: auto; white-space: pre-wrap;
}
