:root {
  --bg: #080a10;
  --panel: #10131c;
  --panel2: #161a25;
  --line: #262b3a;
  --text: #f4f6fb;
  --muted: #9ba4b7;
  --violet: #8b7cff;
  --cyan: #4bd7e8;
  --danger: #ff7189;
  --ok: #5ee3a1;
  font:
    15px/1.45 Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  overflow: hidden;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 60% -20%, #29265d55, transparent 38%), var(--bg);
  color: var(--text);
}
.shell button,
.shell a,
.shell textarea,
.shell select,
dialog button,
dialog a,
dialog textarea,
dialog select {
  font: inherit;
}
.shell button,
.shell a,
dialog button,
dialog a {
  color: inherit;
}
.shell button:focus-visible,
.shell a:focus-visible,
.shell textarea:focus-visible,
.shell select:focus-visible,
.shell input:focus-visible,
dialog button:focus-visible,
dialog a:focus-visible,
dialog textarea:focus-visible,
dialog select:focus-visible,
dialog input:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.skip {
  position: fixed;
  left: -999px;
  top: 10px;
}
.skip:focus {
  left: 10px;
  z-index: 20;
  background: #fff;
  color: #000;
  padding: 8px;
}
.shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: calc(100vh - 65px);
  height: calc(100dvh - 65px);
  min-height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: #0d1018;
  min-height: 0;
  overflow: hidden;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
}
.mark,
.orb {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 0 28px #786cff55;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-weight: 900;
}
.brand b {
  color: var(--cyan);
}
.shell button,
.shell summary,
.header-actions a,
.account a,
dialog button {
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: 9px;
  padding: 9px 11px;
  text-decoration: none;
  cursor: pointer;
}
.conversation-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0d1018;
  color: var(--text);
  padding: 9px 11px;
}
.new-chat {
  width: 100%;
  background: linear-gradient(135deg, #6e5fe4, #4b47a6);
  border-color: #8b7cff;
  font-weight: 700;
}
.new-chat-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}
.new-chat-actions #temporaryChatButton {
  color: var(--muted);
  font-size: 12px;
}
.new-chat-actions #temporaryChatButton[aria-pressed="true"] {
  color: var(--text);
  border-color: var(--cyan);
  background: #173038;
}
.temporary-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #11151f;
}
.temporary-choice input { accent-color: var(--violet); }
.temporary-choice small { grid-column: 2; }
.nav-toggle {
  display: none;
}
.sidebar nav {
  flex: 1 1 auto;
  min-height: 80px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  display: grid;
  gap: 5px;
  grid-auto-rows: minmax(42px, max-content);
  align-content: start;
}
.sidebar nav button {
  text-align: left;
  border-color: transparent;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar nav button {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 42px;
  line-height: 1.35;
}
.sidebar nav button[aria-current="true"] {
  background: #22263a;
  border-color: #393f58;
}
.muted,
.shell small,
dialog small {
  color: var(--muted);
}
.side-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 0;
}
.side-actions > strong {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.side-actions button,
.side-actions a {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: 9px;
  padding: 9px 11px;
  color: inherit;
  text-decoration: none;
}
.secondary-links summary {
  list-style: none;
  color: var(--muted);
}
.secondary-links summary::-webkit-details-marker { display: none; }
.secondary-links[open] button { width: 100%; margin-top: 5px; }
.secondary-links button small { margin-left: 6px; }
.account {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
  color: inherit;
  text-decoration: none;
}
.account span:nth-child(2) {
  display: grid;
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2d3350;
}
main {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
main > header {
  width: 100%;
  min-width: 0;
  height: 72px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  background: #0a0d14cc;
  backdrop-filter: blur(12px);
}
main > header h1 {
  font-size: 15px;
  margin: 0;
}
main > header p {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon {
  display: none;
}
#conversationDataButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.workspace {
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 28px max(24px, calc((100% - 920px) / 2));
}
.welcome {
  text-align: center;
  max-width: 680px;
  margin: 12vh auto 0;
}
.orb {
  width: 66px;
  height: 66px;
  border-radius: 21px;
  margin: auto;
  font-size: 28px;
  font-weight: 900;
}
.welcome h2 {
  font-size: clamp(27px, 4vw, 42px);
  margin: 22px 0 8px;
}
.welcome p {
  color: var(--muted);
  font-size: 16px;
}
.prompts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.prompts button {
  text-align: left;
  min-height: 80px;
  background: #11151f;
}
.messages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.message {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
}
.message .who {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #242a3b;
  display: grid;
  place-items: center;
}
.message.assistant .who {
  background: linear-gradient(135deg, #6f62da, #317d89);
}
.bubble {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.composer-wrap {
  position: relative;
  min-width: 0;
  padding: 14px max(24px, calc((100% - 920px) / 2)) 17px;
  background: linear-gradient(transparent, #080a10 22%);
}
.visually-hidden {
  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;
}
.add-menu { position: relative; }
.add-menu summary {
  list-style: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  font-size: 20px;
}
.add-menu summary::-webkit-details-marker { display: none; }
.add-menu[open] > div {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 6;
  display: grid;
  min-width: 210px;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 16px 40px #000a;
}
.add-menu[open] button,
.add-menu[open] a {
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  padding: 9px 10px;
  text-decoration: none;
}
.add-menu[open] button:hover,
.add-menu[open] a:hover { background: #22263a; }
.add-menu #addSavedImage { min-height: 44px; }
.creation-tray {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 8px 12px;
  margin: 0 2px 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #10141e;
  max-height: min(210px, 24dvh);
  overflow-y: auto;
}
.creation-tray[hidden] { display: none; }
.creation-tray > strong { grid-column: 1 / -1; }
.creation-tray label, .creation-tray select { min-width: 0; max-width: 100%; }
.creation-tray select { width: 100%; text-overflow: ellipsis; }
.creation-tray label { display: grid; gap: 3px; color: var(--muted); font-size: 11px; }
.creation-tray small { grid-column: 1 / -1; }
.creation-capability-fields {
  display: contents;
}
.creation-capability-fields:empty { display: none; }
.creation-capability-fields label {
  min-width: 120px;
}
.composer {
  border: 1px solid #3a4055;
  background: #141823;
  border-radius: 17px;
  box-shadow: 0 16px 50px #0008;
  padding: 12px;
}
.composer-counter {
  margin: 4px 2px 6px;
  font-size: 12px;
  color: #aab0c4;
  text-align: right;
}
.composer-counter.over {
  color: #ff8a8a;
  font-weight: 600;
}
.composer:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px #8b7cff22;
}
.attachment-tray {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  overflow-x: auto;
}
.attachment-tray li {
  min-width: 170px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0d1018;
  padding: 7px 9px;
}
.attachment-tray strong,
.attachment-tray span { display: block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment-tray span { color: var(--muted); font-size: 11px; margin-top: 2px; }
.attachment-tray .attachment-action { margin-top: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); }
.attachment-tray .attachment-action:hover { border-color: var(--accent); }
.attachment-tray .conversation-input-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 9px;
  min-width: 260px;
  max-width: 290px;
  flex: 0 0 auto;
}
.conversation-input-preview {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #080b12;
}
.conversation-input-preview img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.attachment-tray .conversation-input-preview-status {
  grid-area: 1 / 1;
  max-width: 70px;
  margin: 0;
  padding: 3px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}
.conversation-input-card > :is(strong, span, .attachment-action) { grid-column: 2; min-width: 0; }
.attachment-tray .conversation-input-card .attachment-action {
  margin-top: 6px;
  max-width: 100%;
  min-height: 44px;
  white-space: normal;
  line-height: 1.2;
}
.attachment-tray .conversation-input-removable {
  position: relative;
  padding-right: 57px;
  max-width: 290px;
  min-height: 58px;
}
.attachment-tray .conversation-input-removable > .conversation-input-remove {
  position: absolute;
  grid-area: auto;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}
.attachment-tray .conversation-input-remove > span {
  max-width: none;
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: 1;
}
.attachment-tray .conversation-input-remove:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 1px;
}
.attachment-tray .conversation-input-remove:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.project-audio-assets {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.project-audio-assets li {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--control-border, var(--line));
  border-radius: 12px;
  background: var(--panel2);
}
.project-audio-assets strong, .project-audio-assets span {
  display: block;
  overflow-wrap: anywhere;
}
.project-audio-assets span { color: var(--muted); font-size: 12px; margin: 4px 0 8px; }
#composer textarea {
  width: 100%;
  resize: none;
  field-sizing: content;
  min-height: 38px;
  max-height: min(180px, 22dvh);
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 3px 5px 12px;
}
#composer textarea:focus-visible {
  outline: 0;
}
.composer-bar,
.composer-bar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.composer-bar {
  justify-content: space-between;
}
.shell select,
dialog select {
  max-width: 310px;
  border: 1px solid var(--line);
  background: #0d1018;
  color: var(--text);
  border-radius: 8px;
  padding: 7px;
}
.send {
  border-radius: 10px;
  background: var(--violet);
  font-weight: 900;
}
.disclaimer {
  display: none;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  margin: 7px;
}
.disclaimer.is-relevant { display: block; }
.request-status {
  border: 1px solid #3d4460;
  background: #151a29;
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 8px;
}
.request-status.failed {
  border-color: #713444;
  color: #ffc2cc;
}
.request-status.manual_review {
  border-color: #795f29;
  color: #ffe0a0;
}
.status-action {
  display: inline-block;
  margin-left: 10px;
  color: var(--text);
  font-weight: 700;
}
dialog {
  width: min(620px, calc(100% - 30px));
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 16px;
  padding: 24px;
}
dialog::backdrop {
  background: #000a;
}
.dialog-close {
  float: right;
  font-size: 20px;
}
.feature-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 8px 0;
}
.feature-card strong {
  display: block;
}
.feature-card span {
  color: var(--muted);
}
.project-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.project-existing {
  margin: 12px 0 18px;
  color: var(--muted);
}
.project-existing label {
  display: grid;
  gap: 7px;
}
.project-existing select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
}
.project-existing.failed { color: var(--danger); }
.project-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}
.project-form input,
.project-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101522;
  color: var(--text);
  padding: 10px 12px;
}
.project-approval-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.project-approval-actions[hidden] {
  display: none;
}
.project-action-status {
  min-height: 22px;
  color: var(--muted);
}
.project-action-status.failed {
  color: #ffc2cc;
}
.data-controls { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 8px; }
.data-controls h3 { margin: 14px 0 8px; font-size: 14px; }
.recoverable-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); }
.recoverable-row span { flex: 1; color: var(--muted); overflow-wrap: anywhere; }
.recoverable-row .danger { border-color: #713444; color: #ffc2cc; }
@media (max-width: 640px) {
  .recoverable-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .recoverable-row span { grid-column: 1 / -1; min-width: 0; }
  .recoverable-row button { justify-self: start; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .welcome {
    margin-top: 2vh;
  }
}
[hidden] { display: none !important; }

main > header > div:not(.header-actions) { min-width: 0; }
@media (min-width: 761px) {
  main > header > div:not(.header-actions) { flex: 1 1 0; }
  main > header .header-actions { flex: 0 0 auto; }
  main > header :is(h1, p) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    z-index: 10;
    inset: 0 18% 0 0;
    transform: translateX(-105%);
    transition: 0.2s;
  }
  .sidebar.open {
    transform: none;
  }
  .icon {
    display: block;
  }
  .header-actions a {
    display: none;
  }
  .workspace {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 24px;
  }
  .composer-wrap {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: max(17px, env(safe-area-inset-bottom));
  }
  .prompts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 2px 3px 10px;
  }
  .prompts button {
    width: 100%;
    min-width: 0;
    min-height: 72px;
  }
  .welcome {
    margin-top: 3vh;
  }
  .creation-tray { grid-template-columns: 1fr; max-height: 210px; overflow: auto; }
  .creation-tray small { grid-column: 1; }
  .composer-bar > div:first-child {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    flex: 1 1 auto;
    min-width: 0;
  }
  .composer-bar > div:last-child {
    flex: 0 0 auto;
  }
  .shell select {
    max-width: 56vw;
  }
  .composer-bar {
    flex-wrap: wrap;
    gap: 7px;
  }
  .composer-bar > div:first-child {
    width: 100%;
    flex-basis: 100%;
  }
  .composer-bar > div:last-child {
    width: 100%;
    justify-content: flex-end;
  }
  main > header {
    padding: 0 12px;
    gap: 8px;
  }
  main > header > div:not(.header-actions) { display: none; }
  .header-actions { min-width: 0; flex: 1 1 auto; }
  main > header #model { min-width: 0; max-width: none; width: auto; flex: 1 1 96px; }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.generated-asset-card {
  margin: 0;
  width: min(100%, 720px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.generated-asset-card img,
.generated-asset-card video {
  display: block;
  width: 100%;
  max-height: min(62vh, 620px);
  object-fit: contain;
  background: #05070b;
}
.generated-asset-card figcaption {
  display: grid;
  gap: 7px;
  padding: 14px 16px 16px;
}
.generated-asset-card figcaption span { color: var(--muted); }
.generated-asset-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.generated-asset-actions a, .generated-asset-actions .generated-asset-download {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
}
.generated-asset-download { font: inherit; align-items: center; cursor: pointer; }
.generated-asset-download:disabled { opacity: .55; cursor: not-allowed; }
.generated-asset-download-status { flex-basis: 100%; font-size: .85rem; line-height: 1.5; }
.generated-asset-loading,
.generated-asset-unavailable { padding: 28px 18px; color: var(--muted); }
.generated-asset-loading { min-height: 84px; display: grid; place-items: center; }
.generated-asset-unavailable { border-bottom: 1px solid var(--line); line-height: 1.55; }

/* Copilot visual candidate: scoped away from the shared site header. */
.reference-asset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 14px; }
.reference-selection { display: grid; gap: 10px; margin-block: 16px; }
.reference-selection-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border: 1px solid #687797; border-radius: 14px; background: #121a2b; }
.reference-selection-row > span { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; color: #f4f6fb; font-weight: 650; }
.reference-selection-row > button { flex: 0 1 auto; max-width: 100%; white-space: normal; }
#panel .reference-asset-card { overflow: hidden; padding: 0; text-align: left; }
.reference-asset-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #080c16; }
.reference-asset-card .reference-preview-status { display: grid; place-items: center; aspect-ratio: 1; padding: 12px; background: #080c16; text-align: center; }
.reference-asset-card span { display: block; padding: 12px; overflow-wrap: anywhere; }
#panel .reference-asset-card[aria-pressed="true"] { border-color: #5ce6f4; box-shadow: 0 0 18px #43dff34d; }
.shell, #panel {
  --control-border: #687797;
  --accent-border: #8b7cff;
  --accent-glow: 0 0 18px #7960ff38, 0 0 32px #32d9ef12;
}
#panel {
  border: 1px solid var(--accent-border);
  border-radius: 22px;
  background: linear-gradient(145deg, #181b30, #0e1421 65%);
  box-shadow: var(--accent-glow), 0 28px 90px #000a;
}
#panelTitle { font-weight: 750; letter-spacing: -.025em; }
#panelBody { line-height: 1.6; }
#panelBody :is(input, select, textarea), .shell select {
  color: #f4f6fb;
  background-color: #151d30;
  border: 1px solid var(--control-border);
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 14px;
  font: inherit;
  max-width: 100%;
  color-scheme: dark;
}
#panelBody label { font-weight: 600; }
.project-approval-actions { gap: 10px; align-items: center; flex-wrap: wrap; }
.project-approval-actions input { flex: 1 1 180px; min-width: 0; }
#panel button, .shell :is(.attachment-action, .status-action),
.generated-asset-actions a, .generated-asset-actions .generated-asset-download {
  border: 1px solid var(--control-border);
  border-radius: 12px;
  background: linear-gradient(145deg, #29314b, #171f32);
  color: #f4f6fb;
  min-height: 44px;
  font-weight: 650;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
#panel button:not(:disabled):hover,
.shell :is(.attachment-action, .status-action):not(:disabled):hover,
.generated-asset-actions a:hover, .generated-asset-download:not(:disabled):hover {
  border-color: #58e4f4;
  box-shadow: 0 0 14px #3adef333;
}
#panel button:not(:disabled):active, .shell .attachment-action:not(:disabled):active {
  background: #303157;
  border-color: #baadff;
  box-shadow: inset 0 2px 7px #0008;
}
#panel button:disabled, #panel input:disabled, #panel select:disabled {
  opacity: .55;
  box-shadow: none;
  cursor: not-allowed;
}
.attachment-tray li, .generated-asset-card {
  border-color: #606d90;
  box-shadow: 0 0 18px #8163ff16;
}
#composer:focus-within {
  border-color: #8b7cff;
  box-shadow: var(--accent-glow);
}
#composer.file-drop-active {
  border-color: #8b7cff;
  box-shadow: var(--accent-glow);
  outline: 2px dashed var(--accent-border);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  #panel button, .shell :is(.attachment-action, .status-action),
  .generated-asset-actions a, .generated-asset-download { transition: none; }
}
@media (forced-colors: active) {
  #panel, #panel button, #panelBody :is(input, select, textarea),
  .generated-asset-card { border-color: ButtonText; box-shadow: none; }
}
