@layer reset, base, layout, components, responsive;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p { margin: 0; }
  button, input, textarea { font: inherit; }
  button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  button:disabled { cursor: default; }
  button { color: inherit; }
  [hidden] { display: none !important; }
}
@layer base {
  :root { --accent: #b9e580; --background-wash: #fafbf8e6; --bg: #fafbf8; --sidebar: #f0f2ec; --surface: #fff; --ink: #1c3034; --muted: #74817c; --border: #e2e7df; --hover: #e6ebe2; --soft: #edf2e8; --navy: #142e34; --shadow: 0 12px 50px #20372b0b; color-scheme: light; }
  :root[data-theme="dark"] { --background-wash: #141e21e6; --bg: #141e21; --sidebar: #101a1d; --surface: #1d2a2e; --ink: #e4ebe2; --muted: #99aaa3; --border: #304044; --hover: #253639; --soft: #25382d; --navy: #d9ebe1; --shadow: 0 12px 50px #0002; color-scheme: dark; }
  body { background: var(--bg); color: var(--ink); font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
  button { border: 0; background: none; }
  a { color: inherit; }
  input, textarea { color: var(--ink); background: var(--surface); border: 1px solid var(--border); outline: none; }
  :focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
  input:focus, textarea:focus { border-color: var(--muted); }
  ::selection { background: #b9e58070; color: var(--ink); }
  .icon { width: 18px; height: 18px; stroke-width: 1.7; fill: none; stroke: currentColor; flex: 0 0 auto; vertical-align: middle; }
  .visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px; background: var(--surface); }
  .eyebrow { font-size: 12px; font-weight: 650; letter-spacing: 1.65px; color: var(--muted); }
}
@layer layout {
  .workspace { --sidebar-width: 272px; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 34px; height: 100dvh; }
  .sidebar { display: flex; flex-direction: column; padding: 29px 19px 0; background: var(--sidebar); border-right: 1px solid var(--border); min-height: 0; }
  .main { display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; }
  .topbar { height: 76px; flex-shrink: 0; padding: 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); }
  .topbar-left, .topbar-right { display: flex; align-items: center; gap: 15px; min-width: 0; }
  .darwin-logo { display: block; width: 80px; height: 64px; object-fit: contain; }
  .topbar-right > .assistant-name, .product-wordmark { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
  :root[data-theme="dark"] .darwin-logo { filter: invert(1); }
  .topbar-right > .assistant-name { font-weight: 650; font-size: 16px; letter-spacing: .3px; }
  .header-caption { font-size: 14px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
  .scroll-area { flex: 1; overflow-y: auto; scrollbar-width: thin; min-height: 0; scroll-behavior: smooth; }
  .welcome { max-width: 830px; margin: 0 auto; padding: clamp(30px, 5vh, 70px) 35px 25px; text-align: center; }
  .thread { width: 100%; margin: 0 auto; padding: 20px 6% 22px; }
  .composer-region { width: 100%; margin: 0 auto; padding: 0 6% 14px; }
}
@layer components {
  .brand { min-height: 45px; display: flex; align-items: center; gap: 10px; padding: 0 9px; margin-bottom: 22px; text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -.6px; }
  .brand img { max-width: 202px; max-height: 65px; width: 100%; object-fit: contain; object-position: left; }
  .brand-symbol { font-family: Georgia, serif; font-size: 44px; line-height: 1; letter-spacing: -5px; }
  .brand-symbol span { color: #f4845e; }
  .status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #789f67; flex-shrink: 0; }
  .new-chat { display: flex; align-items: center; gap: 8px; background: transparent; color: var(--muted); padding: 8px 10px; border: 1px solid var(--border); border-radius: 7px; font-weight: 500; font-size: 12px; transition: background .2s; }
  .new-chat:hover { background: var(--hover); color: var(--ink); }
  .new-chat .icon, .search .icon { width: 15px; height: 15px; }
  .search { display: flex; align-items: center; gap: 7px; margin: 15px 0 27px; padding: 8px 9px; color: var(--muted); }
  .search input { border: none; background: transparent; min-width: 0; width: 100%; font-size: 12px; padding: 3px 0; }
  .search input::placeholder { color: var(--muted); }
  .search kbd { font-size: 12px; white-space: nowrap; opacity: .65; }
  .history-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 10px 12px; font-size: 12px; color: var(--muted); letter-spacing: 1.2px; font-weight: 650; }
  .history-heading span { font-weight: 400; letter-spacing: 0; }
  .history { flex: 1; overflow: auto; scrollbar-width: thin; }
  .history-item { display: flex; align-items: center; gap: 8px; text-align: left; padding: 10px 9px; margin: 3px 0; width: 100%; border-radius: 7px; font-size: 12px; }
  .history-item .icon { width: 15px; height: 15px; color: var(--muted); }
  .history-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .history-item:hover, .history-item.active { background: var(--hover); }
  .history-item.active { font-weight: 500; }
  .history-empty { font-size: 12px; line-height: 1.9; color: var(--muted); padding: 16px 10px; }
  .history-date { font-size: 12px; color: var(--muted); padding: 16px 10px 4px; letter-spacing: .5px; }
  .status-footer { grid-column: 1 / -1; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); align-items: center; border-top: 1px solid var(--border); background: var(--sidebar); color: var(--muted); font-size: 12px; }
  .footer-settings { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 3px 0; margin-left: 24px; font-size: 12px; }
  .footer-gear { font-family: "Segoe UI Symbol", sans-serif; font-size: 18px; line-height: 1; }
  .footer-statuses, .footer-group-services { display: flex; align-items: center; min-width: 0; }
  .footer-statuses { gap: 16px; padding: 0 20px; }
  .footer-group-services { gap: 13px; }
  .footer-empty { white-space: nowrap; }
  .footer-service { display: inline-flex; align-items: center; gap: 5px; padding: 3px 0; white-space: nowrap; color: var(--muted); font-size: 12px; }
  .footer-service img { width: 15px; height: 15px; object-fit: contain; }
  .footer-service img.footer-jira { object-fit: cover; object-position: left center; }
  :root[data-theme="dark"] .footer-monochrome { filter: invert(1); }
  .footer-light { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
  .footer-service.connected .footer-light { background: #789f67; }
  .footer-service.failed .footer-light, .footer-service.disconnected .footer-light { background: #ce6d61; }
  .footer-service.connecting .footer-light { background: #b99252; }
  .footer-service.disabled { opacity: .55; }
  .footer-divider { height: 14px; width: 1px; background: var(--border); flex-shrink: 0; }
  .icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 7px; color: var(--muted); flex-shrink: 0; }
  .icon-button:hover { color: var(--ink); background: var(--hover); }
  .mode-badge { display: inline-flex; gap: 7px; align-items: center; font-size: 12px; color: var(--muted); white-space: nowrap; padding: 6px 9px; border: 1px solid var(--border); border-radius: 20px; }
  .mode-badge .status-dot { width: 5px; height: 5px; }
  .tiny-spark { color: #dc8b63; font-size: 16px; margin-right: 5px; }
  .hero-art { position: relative; width: 150px; height: 116px; margin: 26px auto 15px; display: grid; place-items: center; }
  .hero-art.custom-image { width: 230px; }
  .hero-art.custom-image > :not(img) { display: none; }
  #welcome-image { max-width: 230px; max-height: 116px; object-fit: contain; }
  #login-logo { display: block; max-width: 240px; max-height: 85px; object-fit: contain; object-position: left; }
  .hero-symbol { display: grid; place-items: center; position: relative; background: #e4eddb; width: 71px; height: 75px; border-radius: 23px; transform: rotate(-9deg); font: 65px/1 Georgia, serif; color: #274335; letter-spacing: -4px; padding-bottom: 13px; box-shadow: inset 0 0 0 1px #d3dfc9; }
  .hero-symbol span { color: #e78660; position: absolute; right: 8px; bottom: 5px; line-height: .5; }
  .orbit { position: absolute; border: 1px solid var(--border); width: 140px; height: 87px; border-radius: 50%; transform: rotate(-33deg); }
  .orbit-two { transform: rotate(44deg); width: 125px; height: 92px; border-style: dashed; }
  .orbit-dot { width: 7px; height: 7px; border-radius: 50%; position: absolute; }
  .dot-one { background: #e6a17a; top: 18px; right: 23px; }
  .dot-two { background: #789f67; bottom: 17px; left: 16px; width: 5px; height: 5px; }
  h1 { font-size: clamp(31px, 3.8vw, 47px); font-weight: 480; line-height: 1.14; letter-spacing: -1.9px; white-space: pre-line; }
  .welcome-description { font-size: 16px; line-height: 1.8; color: var(--muted); margin-top: 18px; white-space: pre-line; }
  .suggestions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; text-align: left; margin: 34px auto 0; max-width: 640px; }
  .suggestion { position: relative; text-align: left; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); transition: border-color .2s, transform .2s, box-shadow .2s; }
  .suggestion:hover { transform: translateY(-2px); border-color: #aebfa5; box-shadow: var(--shadow); }
  .suggestion-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; margin-bottom: 12px; }
  .suggestion-icon .icon { width: 16px; height: 16px; }
  .peach { background: #fbebe2; color: #b77a53; }
  .blue { background: #e7eff7; color: #637f9c; }
  .green { background: #eaf1e4; color: #71875b; }
  .lilac { background: #efebf5; color: #8b7b9f; }
  .suggestion strong { display: block; font-weight: 600; font-size: 14px; }
  .suggestion > span:not(.suggestion-icon, .suggestion-arrow) { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 6px; padding-right: 4px; }
  .suggestion-arrow { position: absolute; right: 15px; top: 20px; color: #acb6ac; }
  .suggestion-arrow .icon { width: 14px; height: 14px; }
  .composer { border: 1px solid #d4ddcf; background: var(--surface); border-radius: 16px; padding: 16px 17px 11px; box-shadow: 0 3px 20px #19352505; transition: border-color .2s, box-shadow .2s; }
  .composer:focus-within { border-color: #94b27c; box-shadow: 0 0 0 3px #a6c58c15; }
  .composer textarea { border: 0; resize: none; width: 100%; min-height: 28px; max-height: 160px; font-size: 16px; line-height: 1.6; background: transparent; padding: 0; outline: none; overflow-y: auto; }
  .composer textarea::placeholder { color: #8b968e; }
  .composer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; }
  .composer-context, .composer-controls { display: inline-flex; align-items: center; gap: 7px; }
  .composer-context { color: var(--muted); font-size: 12px; }
  .composer-context .icon { width: 13px; height: 13px; }
  .composer-controls { gap: 13px; }
  .enter-hint { color: var(--muted); font-size: 12px; }
  .send-button { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--accent); color: #17372b; }
  .send-button:hover { filter: brightness(.95); }
  .send-button:disabled { background: var(--hover); color: #9aa894; }
  .send-button.running { background: #19363a; color: white; }
  .composer-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 12px; line-height: 1.5; }
  .live-status { display: flex; gap: 7px; align-items: center; min-height: 27px; color: var(--muted); font-size: 13px; padding: 0 5px 7px; }
  .live-status.busy::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8aa774; animation: pulse 1.2s ease-in-out infinite; }
  .message { margin-bottom: 20px; animation: appear .2s ease-out; }
  .message.user { display: flex; justify-content: flex-end; }
  .user-bubble { max-width: 85%; padding: 13px 18px; background: var(--soft); border: 1px solid var(--border); border-radius: 16px 16px 3px 16px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; }
  .message-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; font-size: 14px; font-weight: 600; }
  .reply-brand { display: block; width: 64px; height: 17px; opacity: .32; object-fit: contain; }
  :root[data-theme="dark"] .reply-brand { filter: invert(1); }
  .message-body { padding-left: 0; line-height: 1.6; font-size: 16px; overflow-wrap: anywhere; }
  .message-body p, .message-body ul, .message-body ol, .message-body pre, .message-body blockquote, .message-body .table-wrap { margin: 0 0 8px; }
  .message-body h2 { font-size: 17px; font-weight: 600; margin: 12px 0 6px; }
  .message-body h3 { font-size: 16px; margin: 12px 0 6px; }
  .message-body a { color: #488778; text-decoration: underline; text-underline-offset: 3px; }
  .message-body code { background: var(--hover); border-radius: 4px; font-family: Consolas, monospace; font-size: 13px; padding: 2px 4px; }
  .message-body pre { background: var(--sidebar); border: 1px solid var(--border); padding: 13px; border-radius: 8px; overflow-x: auto; }
  .message-body pre code { background: none; padding: 0; }
  .message-body blockquote { border-left: 3px solid var(--accent); padding-left: 15px; color: var(--muted); }
  .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 9px; }
  table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; white-space: nowrap; }
  th { background: var(--sidebar); font-weight: 600; }
  th, td { padding: 9px 12px; border-bottom: 1px solid var(--border); max-width: 380px; overflow: hidden; text-overflow: ellipsis; }
  tr:last-child td { border-bottom: 0; }
  details.activity { margin: 6px 0 8px; font-size: 13px; color: var(--muted); }
  details.activity > summary { cursor: pointer; padding: 8px 0; }
  .called-system { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; color: var(--ink); }
  .called-system img { width: 22px; height: 22px; object-fit: contain; }
  .called-system:hover, .called-system:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
  .system-separator { white-space: pre; }
  .tool-event { border: 1px solid var(--border); padding: 12px; border-radius: 8px; margin-top: 7px; color: var(--ink); background: var(--surface); }
  .tool-event h3 { font-size: 13px; font-weight: 600; margin-bottom: 9px; }
  .tool-event pre { max-height: 250px; overflow: auto; white-space: pre-wrap; font-size: 12px; margin: 9px 0 0; }
  .tool-event details > summary { padding: 6px 0; cursor: pointer; color: var(--muted); font-size: 12px; }
  .message-actions { margin-left: -4px; display: flex; gap: 4px; }
  .message-actions .icon-button { width: 27px; height: 27px; }
  .message-actions .icon { width: 14px; height: 14px; }
  .message.error .message-body, .form-error { color: #b05e4b; }
  .preview-banner { background: var(--soft); color: var(--muted); padding: 9px 25px; font-size: 13px; display: flex; gap: 8px; align-items: center; }
  .preview-banner .icon { width: 14px; height: 14px; }
  .dialog { border: 1px solid var(--border); padding: 30px; border-radius: 18px; width: min(520px, calc(100% - 36px)); max-height: 85dvh; color: var(--ink); background: var(--bg); box-shadow: 0 30px 100px #0002; }
  .dialog::backdrop { background: #142b3260; backdrop-filter: blur(5px); }
  .dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
  .dialog h2 { font-size: 23px; font-weight: 550; letter-spacing: -.7px; margin-top: 7px; }
  .dialog-description, .dialog > p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 12px 0 20px; }
  .dialog input { padding: 11px 12px; width: 100%; border-radius: 8px; }
  .dialog label { display: block; font-size: 13px; margin-bottom: 8px; }
  .primary-button, .secondary-button, .danger-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 15px; border-radius: 8px; font-size: 14px; font-weight: 550; }
  .primary-button { background: #19363a; color: white; }
  .secondary-button { background: var(--hover); }
  .danger-button { background: #f7e5dd; color: #984f3e; }
  .dialog-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 9px; }
  .rename-row { display: flex; gap: 8px; }
  .setting-row { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--border); padding: 16px 0; font-size: 14px; }
  .setting-row span { color: var(--muted); }
  .setting-row strong { font-weight: 550; }
  #settings-dialog { width: min(740px, calc(100% - 28px)); padding: 24px 28px 16px; }
  .service-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
  .service-caption { font-size: 12px; color: var(--muted); margin-top: 5px; }
  .service-actions { display: flex; align-items: center; gap: 8px; }
  .service-actions .secondary-button { white-space: nowrap; font-size: 13px; padding: 10px 14px; }
  .service-settings h4 { font-size: 12px; font-weight: 550; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin: 16px 0 7px; }
  .service-row { border-bottom: 1px solid var(--border); }
  .service-heading { display: flex; min-height: 46px; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
  .service-heading strong { font-weight: 550; }
  .service-name { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
  .service-name[href]:hover { opacity: .75; }
  .service-core-logo { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
  .service-vendor-logo { width: auto; max-width: 116px; height: 28px; object-fit: contain; object-position: left center; }
  .service-logo-dark { display: none; }
  :root[data-theme="dark"] .service-logo-light { display: none; }
  :root[data-theme="dark"] .service-logo-dark { display: block; }
  :root[data-theme="dark"] .service-darwin-logo { filter: invert(1); }
  .service-state { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; font-size: 12px; color: var(--muted); white-space: nowrap; }
  .service-state::before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
  .service-state.connected { color: #386d46; }
  :root[data-theme="dark"] .service-state.connected { color: #a9d99d; }
  .service-state.connecting { color: var(--ink); animation: pulse 1.5s infinite; }
  .service-state.failed, .service-error { color: #bc4536; }
  :root[data-theme="dark"] .service-state.failed, :root[data-theme="dark"] .service-error { color: #ff9586; }
  button.service-state { padding: 10px 0 10px 10px; }
  .service-chevron { font-size: 13px; }
  .service-state[aria-expanded="true"] .service-chevron { transform: rotate(180deg); }
  .service-detail, .service-error { font-size: 12px; line-height: 1.7; margin-top: 7px; overflow-wrap: anywhere; }
  .service-error { padding: 10px 12px; margin-bottom: 11px; border-radius: 7px; background: #fbefec; }
  :root[data-theme="dark"] .service-error { background: #382321; }
  .service-detail { color: var(--muted); }
  .settings-heading { align-items: center; margin-bottom: 12px; }
  .settings-heading h2 { font-size: 21px; margin-top: 0; }
  .settings-tabs { display: flex; gap: 20px; overflow-x: auto; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
  .settings-tabs [role="tab"] { padding: 9px 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 13px; white-space: nowrap; }
  .settings-tabs [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
  .settings-panel { min-width: 0; }
  .role-section { border-bottom: 1px solid var(--border); min-width: 0; }
  .role-section summary { display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 13px; }
  .role-section summary::-webkit-details-marker { display: none; }
  .role-section summary::after { content: '+'; margin-left: auto; font-size: 20px; color: var(--muted); }
  .role-section[open] summary::after { content: '−'; }
  .role-section-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .role-section-body { padding: 0 0 12px; }
  .role-section-heading { display: flex; justify-content: space-between; align-items: center; }
  .role-section label { display: block; font-size: 12px; margin: 8px 0; }
  .role-section .role-toggle { display: flex; align-items: center; gap: 8px; }
  .role-section input:not([type="checkbox"]), .role-section textarea { display: block; width: 100%; margin-top: 6px; padding: 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; }
  .role-section textarea { resize: vertical; min-height: 80px; }
  #role-status { font-size: 12px; color: var(--muted); }
  .role-preview { margin: 16px 0; font-size: 13px; }
  .role-preview pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.6; }
  .settings-panel h3 { font-size: 16px; font-weight: 550; margin-top: 8px; }
  .settings-panel .service-heading { min-height: 42px; }
  .login-dialog { width: min(420px, calc(100% - 36px)); padding: 38px; }
  .login-dialog h2 { font-size: 29px; margin: 14px 0; }
  .login-dialog .eyebrow { margin: 25px 0 0; }
  .login-dialog .primary-button { width: 100%; margin-top: 8px; justify-content: space-between; }
  .login-mark { font: 65px/1 Georgia, serif; color: var(--ink); letter-spacing: -9px; }
  .login-mark span { color: #dc8b63; }
  .form-error { min-height: 22px; font-size: 13px; padding-top: 8px; }
  .connected-system { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--border); }
  .connected-system h3 { font-size: 18px; margin: 0; }
  .system-logo { width: 48px; height: 48px; object-fit: contain; flex: 0 0 48px; }
  .toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); z-index: 200; padding: 13px 19px; background: #19363a; color: #fff; border-radius: 10px; font-size: 14px; box-shadow: 0 4px 20px #0002; max-width: 90vw; }
  .mobile-menu { display: none; }
  @keyframes pulse { 50% { opacity: .3; transform: scale(.8); } }
  @keyframes appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
}
@layer responsive {
  @media (max-width: 480px) { .mode-badge { display: none; } #settings-dialog { padding: 20px 16px 14px; } .settings-heading h2 { font-size: 18px; } .settings-tabs { gap: 12px; } .settings-tabs [role="tab"] { font-size: 12px; } .service-toolbar { align-items: flex-start; gap: 8px; } .service-actions { gap: 4px; } .service-actions .secondary-button { padding: 9px 10px; font-size: 12px; } .service-name { gap: 7px; } .service-heading { gap: 8px; } .service-vendor-logo { max-width: 103px; } }
  @media (min-width: 1500px) { .welcome { padding-top: 8vh; } .suggestions { margin-top: 40px; } }
  @media (max-height: 820px) and (min-width: 761px) { .welcome { padding-top: 22px; } .hero-art { margin-top: 10px; height: 90px; } .suggestions { margin-top: 23px; } .suggestion { padding: 12px 16px; } .suggestion-icon { margin-bottom: 8px; } h1 { font-size: 36px; } .welcome-description { margin-top: 13px; } }
  @media (max-width: 1100px) { .workspace { --sidebar-width: 240px; } .sidebar { padding-left: 14px; padding-right: 14px; } .brand img { max-width: 180px; } .topbar { padding: 0 24px; } .header-caption { max-width: 170px; } .footer-system-name { display: none; } }
  @media (max-width: 760px) {
    .workspace { grid-template-columns: 1fr; }
    .status-footer { grid-template-columns: auto minmax(0, 1fr); }
    .footer-settings { margin-left: 12px; margin-right: 8px; gap: 5px; }
    .footer-statuses { gap: 8px; padding: 0 8px; justify-content: flex-end; }
    .footer-group-services { gap: 6px; }
    .footer-service { gap: 3px; padding: 3px 0; }
    .footer-service img { width: 14px; height: 14px; }
    .sidebar { position: fixed; inset: 0 auto 0 0; width: 272px; z-index: 50; transform: translateX(-100%); transition: transform .2s; }
    .sidebar.open { transform: translateX(0); }
    .scrim { display: block; position: fixed; inset: 0; background: #142b3250; z-index: 40; }
    .mobile-menu { display: inline-flex; }
    .topbar { height: 62px; padding: 0 15px; }
    .topbar-left, .topbar-right { gap: 8px; }
    .header-caption { display: none; }
    .mode-badge { font-size: 12px; padding: 5px 7px; }
    .welcome { padding: 27px 20px; }
    .hero-art { margin: 18px auto; height: 95px; }
    h1 { font-size: 37px; }
    .welcome-description { font-size: 14px; }
    .suggestions { margin-top: 26px; gap: 9px; }
    .suggestion { padding: 13px; }
    .suggestion strong { font-size: 14px; }
    .suggestion > span:not(.suggestion-icon, .suggestion-arrow) { font-size: 14px; }
    .suggestion-arrow { top: 15px; right: 12px; }
    .composer-region { padding: 0 15px 13px; }
    .composer { padding: 13px 14px 10px; }
    .composer-note { font-size: 12px; }
    .thread { padding: 24px 18px; }
    .user-bubble { max-width: 93%; }
    .enter-hint { display: none; }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
}

@layer components {
  .darwin-product .darwin-logo { width: 64px; height: 56px; filter: none; }
}
