:root {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #293642;
  background: #f4f6f6;
  font-synthesis: none;
  --rail: 72px;
  --nav: calc(var(--rail) * 4);
  --toolbar: 48px;
  --ink: #293642;
  --muted: #667680;
  --line: #cbd4dc;
  --accent: #466a83;
  --chrome: linear-gradient(180deg, #fff 0%, #f8fafc 39%, #e4ebf1 70%, #edf1f4 100%);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button, input, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid #547f9f; outline-offset: 3px; }
input, textarea { min-width: 0; }
button { touch-action: manipulation; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.startup { height: 100dvh; display: grid; place-content: center; color: var(--muted); font-size: 14px; }
.auth-view { min-height: 100dvh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 24% 17%, #fff 0%, transparent 58%), linear-gradient(135deg, #eff3f5, #f9f6f2 63%, #e4edf1); }
.auth-brand { padding: 29px 38px; display: flex; align-items: center; gap: 12px; }
.brand-word { font-size: 23px; font-weight: 650; letter-spacing: -1.1px; }
.lab-label { display: inline-flex; align-items: center; border: 1px solid #c2cdd4; padding: 3px 7px 4px; border-radius: 5px; text-transform: uppercase; font-size: 9px; letter-spacing: .13em; color: #5f747f; background: #f3f7f9; }
.auth-main { flex: 1; width: min(424px, calc(100% - 40px)); margin: 28px auto 48px; }
.auth-card { border: 1px solid #cbd5dc; border-radius: 16px; padding: 23px; background: #fffffff2; box-shadow: 0 16px 40px #354b5c0a, 0 2px 4px #354b5c06, inset 0 1px #fff; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #eef2f5; border-radius: 9px; gap: 4px; margin-bottom: 24px; }
.auth-tabs button { border: 0; background: transparent; padding: 10px 8px; font-size: 13px; color: #667986; border-radius: 6px; }
.auth-tabs button[aria-selected="true"] { color: #263b49; background: #fff; box-shadow: 0 1px 4px #263b4921; font-weight: 600; }
label { font-size: 12px; font-weight: 600; display: block; margin: 16px 0 8px; }
input, textarea { border: 1px solid #c7d1d9; border-radius: 7px; background: #fff; }
.auth-card input { height: 44px; width: 100%; padding: 10px 12px; box-shadow: inset 0 1px 2px #233c4d05; }
.primary-button { width: 100%; padding: 12px 14px; background: #476c85; color: white; border: 1px solid #3b5f78; border-radius: 7px; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.primary-button:hover { background: #3d617a; }
.form-status { font-size: 12px; line-height: 1.5; min-height: 18px; color: #a64245; margin: 13px 0; overflow-wrap: anywhere; }
.invitation-status { color: #476553; border: 1px solid #d5e1d5; background: #f3f7f1; font-size: 12px; padding: 10px 12px; line-height: 1.5; border-radius: 6px; }
.invitation-status.is-invalid { color: #a64245; border-color: #e9d6d5; background: #fff5f4; }
.temporary-notice { display: flex; gap: 10px; margin: 20px 4px 0; }
.notice-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #beaa83; margin-top: 8px; }
.temporary-notice p { margin: 0; line-height: 1.65; font-size: 11px; color: #74818b; }
.application { height: 100dvh; overflow: hidden; display: grid; grid-template-rows: var(--toolbar) minmax(0, 1fr) var(--toolbar); }
.top-toolbar, .bottom-toolbar { display: grid; grid-template-columns: var(--rail) var(--nav) minmax(0, 1fr); background: var(--chrome); position: relative; z-index: 5; }
.top-toolbar { border-bottom: 1px solid #becbd3; box-shadow: 0 3px 8px #293a4921; }
.bottom-toolbar { border-top: 1px solid #c3cfd7; box-shadow: 0 -3px 8px #293a491b; }
.rail-toolbar { display: grid; place-items: center; }
.icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 6px; border: 0; background: transparent; border-radius: 7px; }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-button:hover { background: #b2c5d126; }
.world-button svg { width: 26px; height: 26px; stroke-width: 1.5; }
.nav-toolbar { display: flex; gap: 8px; align-items: center; padding: 0 20px; }
.nav-toolbar strong { letter-spacing: -.5px; font-size: 16px; font-weight: 600; }
.context-toolbar { padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.context-title, .context-actions { display: flex; align-items: center; gap: 10px; }
.context-title h1 { font-size: 14px; font-weight: 600; margin: 0; }
.context-hash { font-size: 19px; color: #7e929e; }
.connection-status { font-size: 10px; color: #768b96; white-space: nowrap; }
.connection-status::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #93b29b; }
.connection-status.is-offline::before { background: #c3a16b; }
.window-area { display: grid; grid-template-columns: var(--rail) var(--nav) minmax(0, 1fr); min-height: 0; }
.icon-rail { background: #f0f3f3; display: flex; align-items: center; flex-direction: column; gap: 18px; padding: 22px 0; overflow: auto; }
.community-icon { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #c4d2dc; border-radius: 15px; background: linear-gradient(150deg, #fff, #d4e2ec); box-shadow: 0 4px 8px #253b4b1a, inset 0 1px white; font-size: 24px; font-weight: 650; color: #55758a; letter-spacing: -2px; padding: 0 2px 5px 0; }
.community-icon:hover { filter: brightness(1.025); }
.rail-stem { width: 20px; height: 1px; background: #ced8dd; }
.navigation { background: #fafbfb; min-width: 0; overflow-y: auto; overscroll-behavior: contain; box-shadow: 4px 0 12px #334e6019, -2px 0 8px #334e600c; z-index: 2; }
.nav-content { padding: 27px 20px 28px; }
.nav-heading { margin: 9px 0 10px; font-size: 27px; letter-spacing: -.9px; font-weight: 550; }
.nav-section-label { margin: 28px 0 10px; display: flex; justify-content: space-between; color: #84919a; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; }
.nav-row { display: flex; align-items: center; gap: 10px; min-height: 38px; width: 100%; text-align: left; border: 0; background: transparent; border-radius: 6px; padding: 9px 10px; font-size: 12px; }
.nav-row:hover { background: #edf2f5; }
.nav-row.is-active { background: #e5edf2; color: #3d627c; font-weight: 600; }
.nav-row .row-symbol { width: 18px; text-align: center; font-size: 16px; color: #8097a6; }
.nav-row .row-symbol svg { height: 16px; width: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.member-list { display: grid; gap: 4px; }
.member-initial { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 9px; background: #e7edf1; color: #6d8797; font-size: 11px; font-weight: 600; }
.member-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.member-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-role { color: #82929b; font-size: 10px; font-weight: 400; }
.context-window { min-height: 0; min-width: 0; display: flex; flex-direction: column; position: relative; background: #f3f6f7; }
.message-scroll { overflow-y: auto; min-height: 0; flex: 1; padding: 28px 38px 24px; overscroll-behavior: contain; scrollbar-gutter: stable; }
.empty-messages { min-height: 230px; height: 100%; display: flex; align-items: center; justify-content: center; gap: 16px; color: #83929b; }
.empty-messages p { font-size: 13px; line-height: 1.8; }
.message-list { display: flex; flex-direction: column; gap: 23px; max-width: 1024px; margin: 0 auto; }
.message { width: min(78%, 670px); align-self: flex-start; }
.message.is-own { align-self: flex-end; }
.message-meta { display: flex; gap: 10px; align-items: baseline; padding: 0 2px 6px; min-width: 0; }
.message-author { padding: 0; border: 0; background: transparent; text-align: left; font-size: 11px; font-weight: 650; }
.message-author:hover { text-decoration: underline; }
.message time { font-size: 9px; color: #8a99a1; white-space: nowrap; }
.message.is-own .message-meta { justify-content: flex-end; }
.message-body { border-radius: 0 13px 13px 13px; border: 1px solid #d5dfe5; background: #fff; box-shadow: 0 2px 3px #405c6c05; padding: 12px 16px; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.message.is-own .message-body { background: #e9f0f5; border-color: #cad9e3; border-radius: 13px 0 13px 13px; }
.chat-error { margin: 0; padding: 9px 24px; font-size: 11px; background: #fff7ef; color: #916e45; }
.profile-toolbar { position: relative; border: 0; background: transparent; padding: 0 36px 0 20px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; text-align: left; min-width: 0; }
.profile-toolbar:hover { background: #b8cbd620; }
#own-display-name { font-size: 11px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#own-username { color: #8a98a2; font-size: 9px; }
.profile-arrow { position: absolute; right: 17px; top: 15px; color: #8b9aa4; font-size: 16px; }
.compose-toolbar { display: flex; gap: 14px; align-items: center; padding: 0 17px; min-width: 0; }
.toolbar-grip { width: 7px; height: 13px; flex: 0 0 7px; background: repeating-linear-gradient(90deg, #92a4af 0 1px, transparent 1px 3px); opacity: .65; }
.composer { display: flex; align-items: center; background: #fff; border: 1px solid #becdd7; border-radius: 7px; box-shadow: inset 0 1px 2px #243f5010; min-width: 0; flex: 1; height: 35px; }
.composer textarea { border: 0; background: transparent; border-radius: 6px; resize: none; padding: 8px 11px; font-size: 12px; height: 33px; max-height: 33px; flex: 1; line-height: 17px; }
.composer textarea:focus-visible { outline-offset: -2px; }
.composer .icon-button { height: 31px; width: 35px; margin-right: 2px; color: #5b7b90; }
.composer .icon-button svg { width: 20px; height: 20px; }
.composer textarea::placeholder { color: #99a6af; }
.subtle-button { border: 1px solid #ccd8df; background: #f9fbfc; color: #668196; border-radius: 6px; padding: 8px 10px; font-size: 11px; }
.subtle-button:hover { background: #edf3f7; }
.nav-back { border: 0; background: transparent; font-size: 11px; color: #6b8494; padding: 0; margin: 0 0 20px; }
.nav-back:hover { text-decoration: underline; }
.nav-content h2 { font-size: 22px; font-weight: 550; letter-spacing: -.6px; margin: 0 0 8px; }
.nav-content .intro { color: #7e8e98; font-size: 11px; line-height: 1.7; }
.nav-content input, .nav-content textarea { width: 100%; padding: 9px 10px; font-size: 12px; }
.nav-content textarea { resize: vertical; min-height: 100px; max-height: 230px; line-height: 1.6; }
.nav-content .primary-button { margin-top: 15px; }
.profile-bio { line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; color: #657b89; margin: 20px 0; }
.profile-handle { font-size: 12px; color: #8195a1; margin: 0; }
.settings-actions { display: grid; gap: 10px; margin: 26px 0; }
.warning-note { font-size: 11px; color: #8f7c67; line-height: 1.75; padding: 12px; border: 1px solid #e4ddd2; border-radius: 6px; background: #f8f5ef; }
.invite-result { margin-top: 19px; padding: 12px; background: #edf3f6; border: 1px solid #d1dde5; border-radius: 7px; }
.invite-result input { font-size: 10px; margin: 9px 0; background: #fff; }
.invite-item { padding: 12px 0; border-top: 1px solid #e1e7eb; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; }
.invite-item small { display: block; color: #8898a2; margin-top: 5px; font-size: 10px; }
.invite-item button { border: 0; background: transparent; color: #8e6669; padding: 6px 0 6px 6px; font-size: 10px; }
.mobile-only { display: none; }
@media (max-width: 1000px) {
  .message-scroll { padding: 25px 24px; }
  .message { width: 92%; }
}
@media (max-width: 700px) {
  :root { --rail: calc(100vw / 5); --nav: calc(var(--rail) * 4); }
  .application { grid-template-columns: 1fr; }
  .top-toolbar { grid-template-columns: 48px minmax(0, 1fr); }
  .top-toolbar .nav-toolbar { position: absolute; left: 48px; right: 0; top: 0; height: 48px; padding-left: 12px; pointer-events: none; opacity: 0; }
  .top-toolbar .nav-toolbar .mobile-only { margin-left: auto; }
  .context-toolbar { padding: 0 12px; grid-column: 2; }
  .window-area { display: block; position: relative; }
  .icon-rail, .navigation { position: absolute; top: 0; bottom: 0; z-index: 4; transform: translateX(-100vw); visibility: hidden; }
  .icon-rail { left: 0; width: var(--rail); }
  .navigation { left: var(--rail); width: var(--nav); }
  .context-window { height: 100%; }
  .bottom-toolbar { grid-template-columns: 48px minmax(0, 1fr); }
  .bottom-toolbar .profile-toolbar { position: absolute; left: var(--rail); right: 0; top: 0; height: 48px; visibility: hidden; }
  .compose-toolbar { grid-column: 2; padding: 0 12px 0 0; gap: 9px; }
  .compose-toolbar .toolbar-grip { display: none; }
  .application.navigation-open .icon-rail, .application.navigation-open .navigation { transform: none; visibility: visible; }
  .application.navigation-open .context-window { visibility: hidden; }
  .application.navigation-open .top-toolbar { grid-template-columns: var(--rail) var(--nav); }
  .application.navigation-open .nav-toolbar { left: var(--rail); opacity: 1; pointer-events: auto; padding: 0 20px; }
  .application.navigation-open .context-toolbar { visibility: hidden; }
  .application.navigation-open .bottom-toolbar { grid-template-columns: var(--rail) var(--nav); }
  .application.navigation-open .profile-toolbar { visibility: visible; }
  .application.navigation-open .compose-toolbar { visibility: hidden; }
  .mobile-only { display: inline-grid; }
  .message-scroll { padding: 22px; }
  .auth-brand { padding: 23px 25px; }
  .auth-main { margin-top: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .auth-card { animation: arrive .35s ease-out; }
  @keyframes arrive { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}

.form-status.is-success { color: #54735d; }

@media (max-width: 700px) {
  .composer textarea, .nav-content input, .nav-content textarea { font-size: 16px; }
}

.navigation { display: flex; flex-direction: column; }
.nav-content { flex: 1; }
.site-notice { margin: 0 20px 22px; color: #87949c; font-size: 10px; line-height: 1.6; }

/* Typed content presentations share the shell's material and ink tokens. */
.y2k-artwork-widget { position: relative; display: inline-flex; flex-direction: column; max-width: 100%; vertical-align: top; }
.y2k-artwork-viewport { width: 100%; max-width: 100%; position: relative; overflow: hidden; border-radius: 7px; touch-action: pan-y; }
.y2k-artwork-viewport[role="button"] { cursor: pointer; }
.y2k-artwork-viewport:focus-visible { outline: 2px solid #547f9f; outline-offset: 3px; }
.y2k-artwork-canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.y2k-widget-status { flex: 1; min-width: 0; font-size: 10px; line-height: 15px; color: #996668; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.y2k-widget-controls { display: flex; align-items: center; justify-content: flex-end; gap: 4px; min-height: 25px; padding: 2px 4px; }
.y2k-widget-edit, .y2k-widget-reset { padding: 3px 7px; border: 1px solid #c3d0da; border-radius: 5px; background: var(--chrome); color: #617c8f; font-size: 10px; }
.y2k-widget-controls button:hover { background: #e2ebf1; }
.y2k-widget-library { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.y2k-library-card { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 10px 4px 8px; border: 1px solid #d1dce3; background: #fff; border-radius: 7px; box-shadow: 0 1px 2px #405b6d08; cursor: grab; }
.y2k-library-card:hover { border-color: #92afc2; background: #f7fbfd; }
.y2k-library-card:active { cursor: grabbing; }
.y2k-library-card span { font-size: 9px; max-width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.y2k-library-image { width: 38px; height: 38px; object-fit: contain; image-rendering: pixelated; }
.y2k-widget-editor { border: 1px solid #becdd7; border-radius: 9px; overflow: hidden; background: #fff; box-shadow: 0 5px 14px #304c5c0e; }
.y2k-editor-header { min-height: 39px; display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 14px; background: var(--chrome); border-bottom: 1px solid #cbd7df; }
.y2k-editor-title { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.y2k-editor-status { flex: 1; min-width: 0; font-size: 10px; color: #7c8f9b; overflow-wrap: anywhere; }
.y2k-editor-status.has-error { color: #a24d51; }
.y2k-editor-apply, .y2k-editor-close { border: 1px solid #c4d1da; border-radius: 5px; background: #ffffffe0; padding: 5px 8px; font-size: 10px; }
.y2k-editor-close { font-size: 16px; line-height: 16px; padding: 3px 7px; color: #7b8d99; }
.y2k-editor-artwork { padding: 9px 12px 10px; background: #e5edf3; border-bottom: 1px solid #d5e0e8; }
.y2k-editor-transport { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.y2k-local-play, .y2k-local-reset { border: 1px solid #b6cad8; border-radius: 5px; background: var(--chrome); width: 26px; height: 23px; padding: 0; color: #587990; font-size: 11px; }
.y2k-local-position { font-size: 10px; color: #59778b; font-variant-numeric: tabular-nums; }
.y2k-local-fps { font-size: 9px; color: #8b9ca7; margin-left: auto; }
.y2k-local-sequencer { display: flex; align-items: flex-end; gap: 2px; overflow-x: auto; padding-top: 1px; padding-bottom: 2px; overscroll-behavior-x: contain; }
.y2k-local-step { width: 25px; flex: 0 0 25px; padding: 0; border: 0; border-radius: 2px; background: transparent; display: flex; flex-direction: column; gap: 3px; }
.y2k-step-number { height: 12px; font-size: 8px; text-align: left; color: #6c8597; line-height: 12px; }
.y2k-step-cell { display: block; width: 25px; height: 25px; border: 1px solid #afc7d9; border-radius: 3px; background: linear-gradient(180deg, #d3e4f2, #abc8e0 72%, #c0d7e9); box-shadow: inset 0 1px #f1f8fd91; }
.y2k-local-step[aria-pressed="true"] .y2k-step-cell { border-color: #587f9b; box-shadow: inset 0 0 0 1px #678ca5, 0 1px 3px #365d761c; }
.y2k-local-step:hover .y2k-step-cell { filter: brightness(1.04); }
.y2k-frame-labels { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 6px; }
.y2k-frame-label { border: 1px solid #cbbd9e; color: #8b7b5a; background: #ede6d3; border-radius: 4px 4px 0 0; padding: 1px 7px; font-size: 9px; }
.y2k-editor-properties { display: flex; gap: 12px; padding: 10px 13px; border-bottom: 1px solid #e1e8ed; background: #f9fbfc; }
.y2k-property { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 10px; font-weight: 400; color: #82929d; }
.y2k-property input { width: 55px; padding: 4px 5px; font-size: 10px; border-radius: 4px; }
.y2k-source-editor { display: block; width: 100%; min-height: 200px; max-height: 450px; resize: vertical; border: 0; border-radius: 0; padding: 15px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.7; tab-size: 2; }
.y2k-source-editor:focus-visible { outline-offset: -2px; }
.y2k-message-header { display: flex; align-items: baseline; gap: 10px; padding: 0 2px 6px; }
.y2k-message-author { padding: 0; border: 0; background: transparent; font-size: 11px; font-weight: 650; }
.y2k-message-time { font-size: 9px; color: #8a99a1; }
.y2k-text-block { font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.y2k-composer { display: flex; align-items: center; min-width: 0; flex: 1; height: 35px; border: 1px solid #becdd7; border-radius: 7px; background: #fff; }
.y2k-composer-text { border: 0; border-radius: 6px; resize: none; flex: 1; padding: 8px 11px; height: 33px; max-height: 33px; font-size: 12px; line-height: 17px; }
.y2k-composer-send { border: 0; background: transparent; color: #5b7b90; padding: 5px 10px; font-size: 18px; }
.y2k-message-header.is-soft, .y2k-text-block.is-soft { background: #edf3f6; }
.y2k-message-header.is-compact { gap: 6px; padding-bottom: 3px; }
.y2k-text-block.is-compact { line-height: 1.4; }
.y2k-message-header.is-emphasized, .y2k-text-block.is-emphasized { font-weight: 650; }
@media (max-width: 700px) {
  .y2k-widget-editor .y2k-source-editor, .y2k-property input, .y2k-composer-text { font-size: 16px; }
  .y2k-editor-properties { flex-wrap: wrap; }
  .y2k-property input { width: 60px; }
}

.y2k-composer-slot { display: flex; min-width: 0; flex: 1; }
.y2k-message-content { white-space: normal; }
.y2k-message-meta .y2k-message-header { flex: 1; padding-bottom: 0; }
.message.is-own .y2k-message-header { justify-content: flex-end; }
.y2k-presentation-edit { border: 0; background: transparent; padding: 2px 5px; color: #8297a5; font-size: 12px; border-radius: 4px; opacity: .25; flex: 0 0 auto; }
.message:hover .y2k-presentation-edit, .compose-toolbar:hover .y2k-presentation-edit, .y2k-presentation-edit:focus-visible { opacity: 1; }
.y2k-text-slot { position: relative; }
.y2k-text-slot > .y2k-presentation-edit { position: absolute; top: 0; right: -8px; transform: translateX(100%); }
.y2k-text-slot:has(> .y2k-presentation-edit) { padding-right: 12px; }
.y2k-posted-widget-slot { width: 240px; max-width: 100%; min-height: 144px; display: flex; align-items: center; justify-content: center; }
.y2k-posted-widget-slot:only-child { margin: 0 auto; }
.y2k-message-content .y2k-text-slot + .y2k-posted-widget-slot { margin-top: 9px; }
.y2k-draft-area { border-top: 1px solid #cbd8e1; background: #f9fbfc; max-height: 65vh; overflow-y: auto; padding: 10px 20px; flex: 0 0 auto; box-shadow: 0 -2px 8px #304a5b0b; }
.y2k-draft-widgets { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.y2k-staged-widget { border: 1px solid #cedbe4; border-radius: 8px; background: #fff; padding: 5px 8px; max-width: 100%; min-width: 178px; }
.y2k-staged-widget:has(.y2k-inline-editor) { flex: 1 1 100%; }
.y2k-staged-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 22px; font-size: 10px; color: #7c919f; }
.y2k-staged-remove { border: 0; background: transparent; color: #869ba9; font-size: 17px; line-height: 17px; padding: 0 4px; }
.y2k-inline-editor { margin-top: 12px; min-width: 0; width: 100%; }
.y2k-editing-preview { display: flex; justify-content: center; background: #eef4f7; border: 1px solid #d5e0e7; border-radius: 8px 8px 0 0; }
.y2k-inline-editor .y2k-widget-editor { border-radius: 0 0 8px 8px; }
.y2k-appearance-property select { display: block; margin-top: 7px; padding: 8px 10px; width: 100%; border: 1px solid #cbd7df; border-radius: 6px; background: #fff; color: #4b687b; font: inherit; }
.context-window.is-widget-drop-target { box-shadow: inset 0 0 0 2px #87abc4; }
.y2k-composer.is-soft { background: #eaf2f7; }
.y2k-composer.is-compact .y2k-composer-text { padding-left: 7px; }
.y2k-composer.is-emphasized .y2k-composer-text { font-weight: 650; }
@media (max-width: 700px) {
  .y2k-presentation-edit { opacity: .65; }
  .compose-toolbar > .y2k-presentation-edit { width: 25px; padding: 2px; }
  .y2k-draft-area { padding: 9px 12px; }
  .y2k-appearance-property select { font-size: 16px; }
}
