html:not([data-theme="dark"]) :is(body[data-app-chat-design], body#writing-app#writing-app#writing-app#writing-app) .chat-prompt-chip.calm-home-folder[data-color][style*="--prompt-tint"] { border-color: var(--prompt-border) !important; }
:is(body[data-app-chat-design], body#writing-app#writing-app#writing-app#writing-app) .chat-prompt-chip.calm-home-folder[data-color]:not(:hover, :focus-within) svg { color: inherit !important; }
html:not([data-theme="dark"]) body#writing-app#writing-app#writing-app#writing-app #calm-prompt-modal:not(.prompt-builder-b) .chat-prompt-panel > .chat-prompt-panel-inner.calm-folder-list > .chat-prompt-panel-header { background: transparent !important; }
html:not([data-theme="dark"]) body#writing-app#writing-app#writing-app#writing-app #calm-prompt-modal:not(.prompt-builder-b) .chat-prompt-panel > .chat-prompt-panel-inner.calm-folder-create > .chat-prompt-panel-header { background: linear-gradient(var(--folder-wash), var(--folder-wash)), var(--folder-front) !important; }
html[data-theme="dark"] body#writing-app#writing-app#writing-app#writing-app #calm-prompt-modal:not(.prompt-builder-b) .chat-prompt-panel > .chat-prompt-panel-inner:is(.calm-folder-list, .calm-folder-create) > .chat-prompt-panel-header { background: linear-gradient(var(--folder-wash), var(--folder-wash)) !important; box-shadow: 0 13px 0 var(--folder-wash) !important; }
html:not([data-theme="dark"]) :is(body#prompts-app#prompts-app#prompts-app#prompts-app, body[data-app-chat-design], body#writing-app) #calm-prompt-modal:not(.prompt-builder-b) .chat-prompt-panel[style*="--prompt-tint"] > .chat-prompt-panel-inner.calm-prompt-new-category:not(.calm-folder-create) { background: linear-gradient(to bottom, var(--prompt-tint), transparent), var(--fam-card) !important; }
html:not([data-theme="dark"]) :is(body#prompts-app#prompts-app#prompts-app#prompts-app, body[data-app-chat-design], body#writing-app) #calm-prompt-modal:not(.prompt-builder-b) .chat-prompt-panel[style*="--prompt-tint"] > .chat-prompt-panel-inner.calm-prompt-new-category:not(.calm-folder-create) > .chat-prompt-panel-header { background: transparent !important; }
html[data-theme="dark"] :is(body#prompts-app#prompts-app#prompts-app#prompts-app, body[data-app-chat-design], body#writing-app#writing-app#writing-app#writing-app) #calm-prompt-modal:not(.prompt-builder-b) .chat-prompt-panel[style*="--prompt-tint"] > .chat-prompt-panel-inner.calm-prompt-new-category:not(.calm-folder-create) > .chat-prompt-panel-header { background: linear-gradient(var(--prompt-dark-tint), var(--prompt-dark-tint)) !important; }
html:not([data-theme="dark"]) body#writing-app#writing-app#writing-app#writing-app dialog#calm-prompt-modal.calm-prompt-modal::backdrop { background: rgba(251, 249, 246, 0.88) !important; }
html[data-theme="dark"] body#writing-app#writing-app#writing-app#writing-app dialog#calm-prompt-modal.calm-prompt-modal::backdrop { background: rgba(31, 29, 26, 0.88) !important; }
:is(body#prompts-app, body[data-app-chat-design], body#writing-app) #calm-prompt-modal .calm-category-appearance > summary { display: flex !important; align-items: center; justify-content: space-between; list-style: none; border-radius: var(--fam-row-corner) !important; margin-inline: -8px !important; padding-inline: 8px !important; }
:is(body#prompts-app, body[data-app-chat-design], body#writing-app) #calm-prompt-modal .calm-category-appearance > summary::-webkit-details-marker { display: none; }
:is(body#prompts-app, body[data-app-chat-design], body#writing-app) #calm-prompt-modal .calm-category-appearance > summary::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat; transition: transform .2s; }
:is(body#prompts-app, body[data-app-chat-design], body#writing-app) #calm-prompt-modal .calm-category-appearance[open] > summary::after { transform: rotate(180deg); }
:is(body#prompts-app, body#writing-app) #calm-prompt-modal .calm-category-appearance > summary:focus-visible { outline: 2px solid var(--ss-focus) !important; outline-offset: 2px !important; }
html[data-theme="dark"] body#writing-app#writing-app#writing-app#writing-app #calm-prompt-modal:not(.prompt-builder-b) .chat-prompt-panel > .chat-prompt-panel-inner.calm-prompt-new-category:not(.calm-folder-create)::before { background: transparent !important; }
:is(body#prompts-app#prompts-app#prompts-app#prompts-app, body[data-app-chat-design], body#writing-app#writing-app#writing-app#writing-app) #calm-prompt-modal#calm-prompt-modal#calm-prompt-modal:is(.prompt-builder-b, :has(.calm-folder-create)) :is(button, summary, input[type="checkbox"]):not(.chat-login-gate *):focus-visible { outline: 2px solid var(--ss-focus) !important; outline-offset: 2px !important; }
:is(body#prompts-app#prompts-app#prompts-app#prompts-app, body[data-app-chat-design], body#writing-app#writing-app#writing-app#writing-app) #calm-prompt-modal#calm-prompt-modal#calm-prompt-modal#calm-prompt-modal:has(.calm-folder-create) button.chat-prompt-icon-btn:not(.is-selected):focus-visible { outline-offset: -2px !important; }
@media (max-width: 768px) { :is(body#prompts-app#prompts-app#prompts-app#prompts-app, body[data-app-chat-design], body#writing-app#writing-app#writing-app#writing-app) #calm-prompt-modal#calm-prompt-modal#calm-prompt-modal#calm-prompt-modal.prompt-builder-b :is(button.chat-prompt-panel-close, button.chat-dict-language):focus-visible, body#prompts-app#prompts-app#prompts-app#prompts-app #calm-prompt-modal#calm-prompt-modal#calm-prompt-modal#calm-prompt-modal:has(.calm-folder-create) button.chat-prompt-color-btn:focus-visible { outline-offset: -2px !important; } }
body[data-app-chat-design] dialog#calm-prompt-modal:focus-visible { outline: none !important; }
