syncova-ticket/src/styles.css
Weapie 0eacbdd41f
All checks were successful
Tests und Docker-Image / Tests und Frontend-Build (push) Successful in 1m50s
Tests und Docker-Image / Leeres Produktionsimage bauen und veröffentlichen (push) Successful in 3m42s
Add compact auto-growing ticket composer with collapsible mail settings
2026-11-18 09:00:13 +01:00

2865 lines
50 KiB
CSS

@layer reset, base, tokens, recipes, utilities;
@import url('./fonts.css');
body {
font-family: 'Segoe UI', Inter, Arial, sans-serif !important;
background: var(--bg) !important;
color: var(--text) !important;
}
.app {
background: var(--bg);
}
:root {
font-family: 'Segoe UI', Inter, Arial, sans-serif;
color: #252329;
background: #f8f8fa;
font-synthesis: none;
--bg: #f8f8fa;
--surface: #fff;
--sidebar: #fcfcfd;
--text: #252329;
--muted: #727078;
--border: #e5e4e9;
--hover: #f2f1f5;
--accent: #6d3bd1;
--accent-soft: #f0eafa;
--note: #fffbeb;
}
:root.dark {
--bg: #18181b;
--surface: #222225;
--sidebar: #1c1c1f;
--text: #eeeef0;
--muted: #a7a7b0;
--border: #38383f;
--hover: #2b2b30;
--accent: #b49aef;
--accent-soft: #30283e;
--note: #322b18;
color: var(--text);
background: var(--bg);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
}
button,
a,
input,
textarea,
select {
-webkit-tap-highlight-color: transparent;
}
button {
cursor: pointer;
}
button:disabled {
cursor: not-allowed;
opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
button svg {
flex-shrink: 0;
}
a {
color: var(--accent);
text-decoration: none;
}
h1,
h2,
h3,
p {
margin: 0;
}
h1 {
font-size: 29px;
line-height: 1.3;
font-weight: 650;
letter-spacing: -1px;
}
h2 {
font-size: 18px;
font-weight: 650;
}
h3 {
font-size: 15px;
margin: 20px 0 9px;
}
small {
font-size: 12px;
}
input,
textarea,
select {
font-family: inherit;
color: var(--text);
}
input[type='checkbox'],
input[type='radio'] {
accent-color: var(--accent);
width: 15px;
height: 15px;
}
select {
border: 1px solid var(--border);
border-radius: 3px;
background: var(--surface);
min-height: 36px;
padding: 6px 28px 6px 12px;
font-size: 12px;
max-width: 100%;
}
textarea {
resize: vertical;
min-height: 120px;
}
pre {
font-size: 11px;
white-space: pre-wrap;
overflow-wrap: anywhere;
background: var(--hover);
padding: 12px;
border-radius: 3px;
max-height: 260px;
overflow: auto;
}
summary {
cursor: pointer;
font-size: 11px;
color: var(--muted);
}
code {
font-size: 11px;
overflow-wrap: anywhere;
}
.app {
display: flex;
min-height: 100vh;
}
.sidebar {
width: 246px;
background: var(--sidebar);
border-right: 1px solid var(--border);
position: fixed;
inset: 0 auto 0 0;
padding: 29px 16px 0;
display: flex;
flex-direction: column;
z-index: 20;
overflow-y: auto;
}
.sidebar > .brand {
margin-bottom: 32px;
flex-shrink: 0;
}
.sidebar-navigation {
flex: 1;
min-height: min(140px, 25dvh);
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
padding: 3px;
margin: -3px;
}
.queue-address-settings {
max-width: 900px;
margin: auto;
}
.imap-options {
display: flex;
flex-direction: column;
gap: 14px;
margin: 4px 0 20px;
}
.imap-options .check-label {
white-space: normal;
line-height: 1.6;
align-items: flex-start;
}
.imap-options input {
flex-shrink: 0;
margin-top: 2px;
}
.cron-help {
font-size: 11px !important;
color: var(--muted);
line-height: 1.8 !important;
margin: 14px 0 22px !important;
}
.cron-help code {
background: var(--hover);
border: 1px solid var(--border);
padding: 2px 5px;
color: var(--accent);
white-space: nowrap;
}
.fetch-runtime {
display: grid;
grid-template-columns: 1fr 1fr;
border: 1px solid var(--border);
padding: 18px;
gap: 20px;
background: var(--hover);
margin: 20px 0;
border-radius: 3px;
}
.fetch-runtime span {
display: block;
font-size: 10px;
color: var(--muted);
margin-bottom: 7px;
}
.fetch-runtime strong {
font-size: 11px;
font-weight: 550;
}
.fetch-runtime p {
grid-column: 1/-1;
color: #d99064;
font-size: 11px !important;
margin: 0 !important;
}
.fetch-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.fetch-actions button {
font-size: 11px;
}
.brand {
display: flex;
align-items: center;
gap: 9px;
font-size: 29px;
font-weight: 700;
letter-spacing: -1.3px;
color: var(--text);
padding: 0 12px;
}
.brandmark {
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--accent);
color: white;
width: 34px;
height: 36px;
border-radius: 3px;
transform: none;
}
.brand-dot {
font-size: 11px;
align-self: flex-start;
margin-top: 10px;
letter-spacing: 0;
margin-left: -5px;
}
.workspace {
display: flex;
align-items: center;
gap: 10px;
border: 1px solid var(--border);
border-radius: 3px;
margin: 29px 4px 28px;
padding: 11px 9px;
}
.workspace div {
flex: 1;
}
.workspace strong {
font-size: 12px;
font-weight: 600;
}
.workspace small {
display: block;
color: var(--muted);
font-size: 11px;
margin-top: 2px;
}
.workspace-icon {
height: 31px;
width: 31px;
background: var(--accent-soft);
color: var(--accent);
border: 1px solid var(--border);
border-radius: 3px;
display: grid;
place-items: center;
font-size: 13px;
font-weight: 700;
}
.nav-label {
font-size: 10px;
color: var(--muted);
letter-spacing: 1.1px;
font-weight: 650;
padding: 0 13px;
margin-bottom: 10px;
}
.nav {
display: flex;
align-items: center;
gap: 11px;
width: 100%;
padding: 10px 12px;
border-radius: 3px;
font-size: 12px;
color: var(--muted);
margin-bottom: 4px;
min-height: 39px;
text-align: left;
}
.nav:hover {
background: var(--hover);
color: var(--text);
}
.nav.active {
background: var(--accent-soft);
color: var(--accent);
font-weight: 600;
}
.nav span:nth-child(2) {
flex: 1;
min-width: 0;
overflow-wrap: anywhere;
}
.nav-count {
flex-shrink: 0;
background: var(--hover);
border: 1px solid var(--border);
font-size: 10px;
padding: 1px 6px;
border-radius: 4px;
min-width: 23px;
text-align: center;
}
.nav.active .nav-count {
background: var(--surface);
border-color: transparent;
}
.queue-label {
display: flex;
justify-content: space-between;
margin-top: 30px;
align-items: center;
}
.queue-label button {
color: var(--muted);
}
.queue-dot {
height: 7px;
width: 7px;
display: inline-block;
border-radius: 50%;
flex-shrink: 0;
}
.queue-name {
min-width: 0;
overflow-wrap: anywhere;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.sidebar .queue-dot {
margin: 0 6px;
}
.sidebar-bottom {
margin-top: auto;
padding-top: 16px;
flex-shrink: 0;
}
.help-card {
border: 1px solid var(--border);
border-radius: 3px;
padding: 14px;
margin: 0 5px 22px;
background: linear-gradient(125deg, var(--accent-soft), var(--surface));
}
.help-card > span {
display: flex;
align-items: center;
gap: 7px;
font-size: 12px;
font-weight: 600;
}
.help-card p {
font-size: 11px;
line-height: 1.7;
color: var(--muted);
margin: 9px 0;
}
.help-card a {
display: flex;
align-items: center;
gap: 8px;
font-size: 11px;
font-weight: 600;
}
.profile {
border-top: 1px solid var(--border);
display: flex;
align-items: center;
gap: 10px;
margin-top: 19px;
padding: 18px 5px;
}
.profile div {
flex: 1;
}
.profile strong {
font-size: 12px;
display: block;
}
.profile small {
font-size: 10px;
display: block;
color: var(--muted);
margin-top: 3px;
}
.profile button {
color: var(--muted);
}
.avatar {
display: inline-flex;
align-items: center;
justify-content: center;
background: #e9e7e0;
color: #70654d;
width: 34px;
height: 34px;
border-radius: 50%;
font-size: 11px;
font-weight: 600;
flex-shrink: 0;
}
.avatar.small {
width: 29px;
height: 29px;
}
.avatar.tiny {
width: 25px;
height: 25px;
font-size: 9px;
background: #eee9f4;
color: #786297;
}
.avatar.staff {
background: var(--accent-soft);
color: var(--accent);
}
.main {
margin-left: 246px;
flex: 1;
min-width: 0;
}
.topbar {
height: 76px;
border-bottom: 1px solid var(--border);
background: var(--surface);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 36px;
position: relative;
z-index: 15;
}
.breadcrumb {
display: flex;
gap: 12px;
align-items: center;
font-size: 11px;
color: var(--muted);
}
.breadcrumb span {
color: var(--text);
}
.header-actions {
display: flex;
align-items: center;
gap: 23px;
color: var(--muted);
}
.header-actions button {
display: grid;
place-items: center;
}
.header-search {
position: relative;
flex: 1;
min-width: 160px;
max-width: 420px;
margin: 0 20px;
}
.header-search > svg {
position: absolute;
z-index: 1;
left: 12px;
top: 12px;
color: var(--muted);
pointer-events: none;
}
.header-search > input {
width: 100%;
height: 40px;
padding: 8px 34px;
font-size: 12px;
background: var(--bg);
}
.search-clear {
position: absolute;
right: 10px;
top: 13px;
color: var(--muted);
}
.global-search-panel {
position: absolute;
top: calc(100% + 8px);
right: 0;
width: max(100%, 380px);
max-width: calc(100vw - 36px);
max-height: min(480px, 65vh);
overflow: auto;
background: var(--surface);
color: var(--text);
border: 1px solid var(--border);
border-radius: 3px;
box-shadow: 0 12px 32px #0003;
z-index: 30;
}
.search-summary {
padding: 12px 14px;
color: var(--muted);
font-size: 11px;
}
.global-search-result {
display: block;
width: 100%;
padding: 12px 14px;
text-align: left;
border-top: 1px solid var(--border);
font-size: 11px;
overflow-wrap: anywhere;
}
.global-search-result:hover,
.global-search-result[aria-selected='true'] {
background: var(--accent-soft);
}
.global-search-result strong,
.global-search-result > span {
display: block;
}
.global-search-result strong {
font-size: 12px;
margin: 5px 0;
}
.global-search-result > span,
.global-search-result p {
color: var(--muted);
}
.global-search-result p {
margin-top: 6px;
line-height: 1.6;
}
.reply-recipients {
padding: 0 15px 14px;
font-size: 12px;
}
.reply-recipient-heading {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 8px;
overflow-wrap: anywhere;
}
.reply-recipients .field {
margin: 10px 0;
}
.reply-recipients p {
font-size: 11px;
overflow-wrap: anywhere;
}
.connection {
display: flex;
gap: 6px;
align-items: center;
font-size: 10px;
margin-right: 8px;
}
.connection > span,
.live-dot {
width: 5px;
height: 5px;
background: #31a476;
border-radius: 50%;
display: inline-block;
}
.bell {
position: relative;
}
.bell > span {
position: absolute;
top: -9px;
right: -8px;
border-radius: 3px;
font-size: 9px;
background: var(--accent);
color: var(--surface);
padding: 0 4px;
}
.mobile-toggle {
display: none;
}
main {
padding: 36px;
max-width: 1800px;
margin: auto;
}
.page-heading {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 0 28px;
gap: 20px;
}
.eyebrow {
font-size: 9px;
letter-spacing: 1.7px;
color: var(--accent);
font-weight: 650;
margin-bottom: 11px;
}
.page-heading p {
font-size: 12px;
color: var(--muted);
margin-top: 10px;
}
.page-heading > button {
font-size: 11px;
height: 36px;
gap: 8px;
border-radius: 3px;
background: var(--accent);
color: var(--surface);
}
.title-count {
font-size: 12px;
vertical-align: middle;
letter-spacing: 0;
font-weight: 500;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 3px;
padding: 3px 8px;
margin-left: 13px;
color: var(--muted);
}
.stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 17px;
margin-bottom: 31px;
}
.stat {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 3px;
padding: 17px 19px;
}
.stat .flex > span:first-child {
font-size: 11px;
font-weight: 550;
color: var(--muted);
}
.stat-icon {
width: 30px;
height: 30px;
border-radius: 3px;
display: grid;
place-items: center;
}
.teal {
background: var(--accent-soft);
color: var(--accent);
}
.blue {
background: #edf3fd;
color: #6590cc;
}
.amber {
background: #fff6e7;
color: #c6984c;
}
.purple {
background: #f2edfc;
color: #9c7cd0;
}
.dark .blue,
.dark .amber,
.dark .purple {
background: var(--hover);
}
.stat > strong {
font-size: 30px;
display: flex;
align-items: center;
justify-content: space-between;
line-height: 1.5;
font-weight: 600;
margin: 6px 0 3px;
letter-spacing: -1px;
}
.stat-dash {
font-size: 15px;
color: var(--border);
font-weight: 400;
}
.stat > small {
font-size: 10px;
color: var(--muted);
}
.flex {
display: flex;
align-items: center;
gap: 10px;
}
.between {
justify-content: space-between;
}
.ticket-section {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 3px;
overflow: hidden;
}
.list-tabs {
display: flex;
align-items: center;
border-bottom: 1px solid var(--border);
padding: 0 21px;
gap: 25px;
overflow-x: auto;
white-space: nowrap;
}
.list-tabs > button {
flex-shrink: 0;
padding: 19px 0 16px;
color: var(--muted);
font-size: 11px;
border-bottom: 2px solid transparent;
font-weight: 550;
}
.list-tabs > button.selected {
border-color: var(--accent);
color: var(--accent);
}
.list-tabs button span {
margin-left: 6px;
border-radius: 4px;
padding: 1px 6px;
background: var(--accent-soft);
font-size: 9px;
}
.filters {
display: flex;
align-items: center;
gap: 9px;
padding: 18px 20px;
}
.search {
flex: 1;
position: relative;
min-width: 160px;
}
.search svg {
position: absolute;
left: 10px;
top: 10px;
color: var(--muted);
}
.search input {
padding-left: 33px;
padding-right: 28px;
font-size: 11px;
min-height: 35px;
height: 35px;
border-color: var(--border);
border-radius: 3px;
width: 100%;
}
.search kbd {
position: absolute;
right: 10px;
top: 9px;
color: var(--muted);
font-size: 11px;
}
.filters select {
min-height: 35px;
font-size: 10px;
padding-left: 10px;
max-width: 145px;
}
.table-scroll {
overflow-x: auto;
}
.ticket-table {
width: 100%;
border-collapse: collapse;
table-layout: auto;
white-space: nowrap;
}
.ticket-table th {
font-weight: 500;
color: var(--muted);
font-size: 10px;
text-align: left;
background: var(--hover);
padding: 12px 14px;
border-block: 1px solid var(--border);
}
.ticket-table th svg {
display: inline;
vertical-align: middle;
margin-left: 6px;
}
.ticket-table th:first-child {
padding-left: 22px;
}
.ticket-table td {
padding: 18px 14px;
border-bottom: 1px solid var(--border);
font-size: 11px;
}
.ticket-table td:first-child {
padding-left: 22px;
width: 45%;
}
.ticket-table td:last-child {
padding-right: 20px;
color: var(--muted);
}
.ticket-table tr:last-child td {
border-bottom: none;
}
.ticket-table tbody tr {
cursor: pointer;
transition: background 0.15s;
}
.ticket-table tbody tr:hover {
background: var(--hover);
}
.ticket-subject {
display: flex;
align-items: center;
gap: 13px;
}
.mail-icon {
border: 1px solid var(--border);
border-radius: 3px;
width: 34px;
height: 35px;
display: grid;
place-items: center;
align-self: center;
color: #a8b3ad;
flex-shrink: 0;
}
.mail-icon.is-new {
background: var(--accent-soft);
border-color: transparent;
color: var(--accent);
}
.ticket-line {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 4px;
}
.ticket-number {
font-size: 9px;
letter-spacing: 0.4px;
color: var(--muted);
}
.new-dot {
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--accent);
}
.subject-link {
font-size: 12px;
display: block;
font-weight: 600;
text-align: left;
color: var(--text);
max-width: 350px;
overflow: hidden;
text-overflow: ellipsis;
}
.ticket-subject small {
font-size: 10px;
color: var(--muted);
display: block;
max-width: 345px;
overflow: hidden;
text-overflow: ellipsis;
margin-top: 5px;
}
.preview {
opacity: 0.65;
}
.status {
display: inline-flex;
gap: 6px;
align-items: center;
border: 1px solid color-mix(in srgb, var(--status-color) 17%, var(--surface));
background: color-mix(in srgb, var(--status-color) 8%, var(--surface));
color: color-mix(in srgb, var(--status-color) 82%, var(--text));
font-size: 9px;
font-weight: 550;
border-radius: 3px;
white-space: nowrap;
padding: 4px 7px;
}
.status > span {
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--status-color);
}
.queue-cell,
.person {
display: inline-flex;
align-items: center;
gap: 7px;
font-size: 10px;
}
.unassigned {
font-size: 9px;
}
.date-cell {
color: var(--muted);
font-size: 10px !important;
}
.table-footer {
display: flex;
justify-content: space-between;
border-top: 1px solid var(--border);
padding: 15px 21px;
font-size: 10px;
color: var(--muted);
}
.table-footer > span:last-child {
display: flex;
align-items: center;
gap: 6px;
}
.bottom-note {
display: flex;
align-items: center;
gap: 6px;
color: var(--muted);
font-size: 9px;
margin-top: 23px;
}
.bottom-note > span {
margin-left: auto;
}
.muted {
color: var(--muted);
}
.empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 48px 15px;
gap: 13px;
color: var(--muted);
font-size: 12px;
}
.empty > svg {
opacity: 0.6;
}
.notification-panel {
position: absolute;
top: 64px;
right: 35px;
width: 380px;
max-height: 70vh;
overflow: auto;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 3px;
box-shadow: 0 10px 40px #0002;
padding: 16px;
font-size: 12px;
}
.notification {
display: flex;
gap: 8px;
padding: 14px 8px;
border-bottom: 1px solid var(--border);
}
.notification.unread {
background: var(--accent-soft);
}
.notification > button:first-child {
flex: 1;
text-align: left;
}
.notification strong {
font-size: 11px;
}
.notification small {
display: block;
margin-top: 5px;
color: var(--muted);
}
.toast {
position: fixed;
bottom: 25px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 10px;
padding: 15px 23px;
background: var(--text);
color: var(--surface);
border-radius: 3px;
box-shadow: 0 4px 20px #0002;
z-index: 1500;
font-size: 13px;
}
.error {
display: flex;
justify-content: space-between;
gap: 15px;
background: #fff0ef;
border: 1px solid #efb5ae;
color: #a53026;
padding: 14px 17px;
border-radius: 3px;
font-size: 12px;
margin-bottom: 18px;
}
.dark .error {
background: #381e1b;
color: #ffc1b8;
border-color: #673a32;
}
.loading {
min-height: 60vh;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
color: var(--muted);
}
.spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.field {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 18px;
font-size: 12px;
}
.field > span:first-child {
font-size: 11px;
color: var(--muted);
font-weight: 550;
}
.field input,
.field select,
.field textarea {
width: 100%;
background: var(--surface);
border-color: var(--border);
font-size: 12px;
}
.modal {
background: var(--surface) !important;
color: var(--text);
max-height: min(88dvh, 900px);
overflow: hidden;
width: 660px !important;
max-width: calc(100vw - 40px) !important;
padding: 0;
gap: 0;
border: 1px solid var(--border);
border-radius: 4px !important;
box-shadow: 0 24px 80px #0005;
}
.modal-backdrop {
position: fixed;
inset: 0;
background: rgb(8 8 12 / 58%);
backdrop-filter: blur(3px);
z-index: 1400;
}
.modal-positioner {
z-index: 1401;
padding: 20px;
align-items: center;
}
.modal p {
font-size: 12px;
line-height: 1.7;
margin-bottom: 22px;
}
.modal .dialog__header {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid var(--border);
background: var(--surface);
flex-shrink: 0;
}
.modal .dialog__body {
padding: 24px;
align-items: stretch;
overflow-y: auto;
overscroll-behavior: contain;
min-height: 0;
}
.modal [data-part='title'] {
font-size: 17px;
letter-spacing: -0.3px;
line-height: 1.4;
}
.modal [data-part='close-trigger'] {
position: static;
height: 30px;
min-width: 30px;
padding: 5px;
color: var(--muted);
}
.modal form {
width: 100%;
min-width: 0;
}
.modal form > button {
margin: 24px 0 0 auto;
display: flex;
}
.back {
display: flex;
gap: 7px;
align-items: center;
font-size: 11px;
color: var(--muted);
margin-bottom: 23px;
}
.detail-heading h1 {
font-size: 25px;
}
.detail-heading .eyebrow span {
color: var(--muted);
letter-spacing: 0;
}
.detail-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 285px;
gap: 24px;
}
.conversation,
.ticket-properties {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 3px;
align-self: start;
overflow: hidden;
}
.message {
margin: 22px;
border: 1px solid var(--border);
border-radius: 3px;
}
.message header {
display: flex;
align-items: center;
gap: 10px;
padding: 16px;
border-bottom: 1px solid var(--border);
}
.message header strong {
font-size: 12px;
}
.message header small {
display: block;
font-size: 10px;
color: var(--muted);
margin-top: 4px;
overflow-wrap: anywhere;
}
.message time {
margin-left: auto;
font-size: 10px;
color: var(--muted);
white-space: nowrap;
}
.message-body {
padding: 22px 18px;
font-size: 12px;
line-height: 1.9;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.message footer {
display: flex;
justify-content: space-between;
padding: 10px 17px;
color: var(--muted);
border-top: 1px solid var(--border);
}
.message footer small {
font-size: 10px;
}
.message.note,
.reply-editor.note {
background: var(--note);
}
.note-label {
font-size: 10px;
color: #b3832f;
padding: 12px 17px;
}
.attachment {
display: flex;
align-items: center;
gap: 7px;
background: var(--hover);
border: 1px solid var(--border);
margin: 0 18px 16px;
padding: 10px;
font-size: 11px;
border-radius: 3px;
}
.reply-editor {
margin: 22px;
border: 1px solid var(--border);
border-radius: 3px;
overflow: hidden;
}
.reply-tabs {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 16px;
padding: 15px;
border-bottom: 1px solid var(--border);
}
.reply-tabs button {
display: flex;
align-items: center;
gap: 5px;
font-size: 11px;
color: var(--muted);
}
.reply-tabs .selected {
color: var(--accent);
font-weight: 600;
}
.reply-context {
flex: 1;
min-width: 0;
overflow-wrap: anywhere;
font-size: 10px;
color: var(--muted);
}
.reply-draft {
font-size: 10px;
color: var(--accent);
}
.reply-tabs .reply-minimize {
margin-left: auto;
}
.reply-expanded[hidden] {
display: none;
}
.reply-options,
.reply-signature {
border-top: 1px solid var(--border);
}
.reply-options > summary,
.reply-signature > summary {
padding: 12px 15px;
font-size: 11px;
color: var(--muted);
cursor: pointer;
}
.reply-options > summary:hover,
.reply-signature > summary:hover {
color: var(--accent);
}
.reply-meta {
display: flex;
gap: 12px;
padding: 15px;
}
.reply-meta .field {
flex: 1;
margin: 0;
}
.reply-editor > textarea {
border: 0;
box-shadow: none;
background: transparent;
width: 100%;
padding: 18px;
border-radius: 0;
min-height: 72px;
resize: none;
overflow-y: hidden;
font-size: 12px;
}
.reply-editor.compact > textarea {
overflow-y: auto;
}
.signature-preview {
padding: 0 18px 22px;
font-size: 11px;
color: var(--muted);
white-space: pre-wrap;
}
.reply-footer {
border-top: 1px solid var(--border);
padding: 13px 15px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.reply-footer small {
font-size: 9px;
color: var(--muted);
}
.reply-footer button {
font-size: 11px;
}
.ticket-properties {
padding: 21px;
}
.property-title {
display: flex;
gap: 8px;
align-items: center;
margin-bottom: 26px;
font-size: 13px;
}
.ticket-properties a {
font-size: 11px;
overflow-wrap: anywhere;
}
.ticket-properties > .field {
margin-bottom: 24px;
}
.property-tip {
display: flex;
gap: 10px;
border-top: 1px solid var(--border);
margin-top: 28px;
padding-top: 20px;
font-size: 10px;
line-height: 1.7;
color: var(--muted);
}
.property-tip svg {
flex-shrink: 0;
color: var(--accent);
}
.ticket-properties > button {
font-size: 10px;
width: 100%;
margin-bottom: 20px;
}
.due-info {
display: flex;
gap: 8px;
align-items: center;
font-size: 11px;
background: var(--accent-soft);
padding: 12px;
margin-bottom: 22px;
border-radius: 3px;
}
.due-info small {
display: block;
font-size: 9px;
margin-top: 4px;
}
.due-info button {
margin-left: auto;
color: var(--accent);
font-size: 10px;
}
.move-confirm p {
font-size: 11px;
line-height: 1.6;
margin-bottom: 14px;
}
.activities {
padding: 25px;
}
.activity {
display: flex;
gap: 14px;
padding-bottom: 25px;
font-size: 12px;
}
.activity-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--accent);
margin-top: 5px;
flex-shrink: 0;
}
.activity small {
display: block;
color: var(--muted);
font-size: 10px;
margin: 7px 0;
}
.activity > div {
min-width: 0;
flex: 1;
}
.settings-card {
border: 1px solid var(--border);
border-radius: 3px;
background: var(--surface);
padding: 25px;
margin-bottom: 22px;
overflow: auto;
}
.settings-card > .list-tabs {
padding: 0;
margin: -10px 0 25px;
}
.settings-card p {
font-size: 12px;
line-height: 1.7;
margin: 13px 0 24px;
}
.queue-switcher {
display: flex;
gap: 10px;
margin-bottom: 25px;
max-width: 100%;
overflow-x: auto;
overscroll-behavior-x: contain;
padding: 4px;
margin-inline: -4px;
}
.queue-switcher > button {
display: flex;
flex: 0 0 auto;
align-items: center;
gap: 8px;
border: 1px solid var(--border);
padding: 9px 15px;
background: var(--surface);
border-radius: 3px;
font-size: 12px;
max-width: min(260px, 100%);
overflow-wrap: anywhere;
min-height: 48px;
text-align: left;
}
.queue-switcher > button.active {
color: var(--accent);
background: var(--accent-soft);
border-color: var(--accent);
}
.two-fields {
display: grid;
grid-template-columns: 1fr 100px;
gap: 18px;
max-width: 550px;
}
.address-row {
display: flex;
gap: 17px;
align-items: center;
margin-bottom: 15px;
}
.address-row > input {
flex: 1;
min-width: 180px;
font-size: 12px;
}
.check-label {
display: flex;
align-items: center;
gap: 7px;
white-space: nowrap;
font-size: 11px;
}
.form-footer {
display: flex;
justify-content: flex-end;
margin-top: 26px;
border-top: 1px solid var(--border);
padding-top: 22px;
}
.status-editor {
display: grid;
grid-template-columns: 45px minmax(120px, 1fr) minmax(150px, 1fr) 60px 90px;
gap: 10px;
align-items: center;
padding: 14px 0;
border-bottom: 1px solid var(--border);
}
.status-editor input {
font-size: 12px;
}
.status-editor > .field {
grid-column: 2 / -1;
margin: 4px 0;
}
.signature-editor {
background: var(--hover);
border: 1px solid var(--border);
border-radius: 3px;
padding: 16px;
margin: 16px 0;
}
.signature-editor textarea {
margin-top: 15px;
width: 100%;
background: var(--surface);
font-size: 12px;
}
.signature-editor input {
font-size: 12px;
}
.settings-card table {
width: 100%;
font-size: 12px;
border-collapse: collapse;
margin: 22px 0;
white-space: nowrap;
}
.settings-card th {
text-align: left;
font-size: 11px;
color: var(--muted);
font-weight: 500;
}
.settings-card th,
.settings-card td {
padding: 15px 10px;
border-bottom: 1px solid var(--border);
}
.settings-card th svg {
display: inline;
vertical-align: middle;
margin-right: 5px;
}
.preference-card {
max-width: 800px;
}
.log-entry {
display: flex;
justify-content: space-between;
gap: 16px;
padding: 18px 0;
border-bottom: 1px solid var(--border);
font-size: 12px;
}
.log-entry small {
display: block;
margin-top: 6px;
color: var(--muted);
font-size: 10px;
}
.log-entry > div {
min-width: 0;
flex: 1;
}
.mail-import-log {
margin-top: 12px;
overflow-wrap: anywhere;
}
.settings-card .mail-import-log p,
.settings-card .mail-run-summary {
margin: 8px 0;
}
.mail-import-reason {
font-weight: 600;
}
.mail-import-log dl {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
gap: 10px 24px;
margin: 12px 0;
}
.mail-import-log dt {
color: var(--muted);
font-size: 11px;
}
.mail-import-log dd {
margin: 2px 0 0;
}
.log-entry details {
max-width: 65%;
}
.group-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.identity-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
}
.group-tile {
display: flex;
flex-direction: column;
border: 1px solid var(--border);
border-radius: 3px;
overflow: hidden;
}
.group-tile .group-card {
width: 100%;
flex: 1;
border: 0;
border-radius: 0;
}
.group-tile-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
border-top: 1px solid var(--border);
padding: 8px 14px;
}
.group-tile-footer small {
color: var(--muted);
font-size: 11px;
}
.group-card {
display: flex;
flex-direction: column;
gap: 12px;
text-align: left;
padding: 21px;
border: 1px solid var(--border);
border-radius: 3px;
}
.group-card:hover {
background: var(--hover);
}
.group-card svg {
color: var(--accent);
}
.group-card strong {
font-size: 13px;
}
.group-card small {
color: var(--muted);
font-size: 11px;
}
.group-card span {
font-size: 10px;
color: var(--accent);
}
fieldset {
border: 1px solid var(--border);
border-radius: 3px;
padding: 16px;
margin: 18px 0;
}
legend {
font-size: 11px;
color: var(--muted);
padding: 0 5px;
}
fieldset > .check-label {
margin: 12px 0;
}
.permission-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.login {
display: grid;
grid-template-columns: 1fr 1fr;
min-height: 100vh;
background: var(--surface);
}
.login-art {
background: #f0eaf8;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 55px 60px;
color: #34244c;
position: relative;
overflow: hidden;
}
.login-art:after {
content: '';
position: absolute;
width: 500px;
height: 500px;
border: 1px solid #d7c9ea;
border-radius: 50%;
right: -260px;
bottom: -160px;
box-shadow:
0 0 0 70px #d7c9ea30,
0 0 0 140px #d7c9ea20;
}
.login-art .brand {
color: #34244c;
padding: 0;
}
.login-art h1 {
font-size: clamp(30px, 3.5vw, 55px);
line-height: 1.2;
letter-spacing: -2px;
margin: 22px 0;
}
.login-art p {
font-size: 15px;
color: #776b88;
line-height: 1.8;
}
.login-art small {
color: #776b88;
font-size: 11px;
}
.login-form {
width: 360px;
max-width: calc(100% - 45px);
margin: auto;
display: flex;
flex-direction: column;
gap: 3px;
padding: 35px 0;
}
.login-form h2 {
font-size: 26px;
letter-spacing: -0.8px;
margin: 18px 0 8px;
}
.login-form > p {
font-size: 13px;
color: var(--muted);
margin-bottom: 27px;
}
.login-form > .field {
margin-bottom: 18px;
}
.login-form > small {
font-size: 11px;
line-height: 1.8;
margin-top: 25px;
}
.login-icon {
width: 52px;
height: 52px;
display: grid;
place-items: center;
background: var(--accent-soft);
color: var(--accent);
border-radius: 3px;
}
.login-form button {
margin-top: 8px;
gap: 15px;
}
.dark .login-art {
background: #242126;
color: #ded2ee;
}
.dark .login-art .brand {
color: #ded2ee;
}
input[type='color'] {
padding: 5px !important;
min-height: 36px;
min-width: 40px;
}
.settings-card form input,
.settings-card form textarea {
border-color: var(--border);
}
@media (min-width: 1500px) {
main {
padding: 45px 50px;
}
.topbar {
padding-inline: 50px;
}
.ticket-table td {
padding-block: 22px;
}
.subject-link {
max-width: 500px;
}
.ticket-subject small {
max-width: 480px;
}
}
@media (max-width: 1200px) {
.sidebar {
width: 217px;
padding-inline: 12px;
}
.main {
margin-left: 217px;
}
main {
padding: 28px 24px;
}
.topbar {
padding-inline: 24px;
}
.filters {
flex-wrap: wrap;
}
.search {
min-width: 240px;
}
.ticket-table .preview {
display: none;
}
.ticket-table .subject-link {
max-width: 260px;
}
.help-card {
display: none;
}
.stats {
gap: 12px;
}
.stat {
padding: 14px;
}
.stat > small {
font-size: 9px;
}
.detail-grid {
grid-template-columns: minmax(0, 1fr) 240px;
}
.address-row {
gap: 9px;
}
.address-row .check-label {
font-size: 10px;
}
}
@media (max-width: 900px) {
.sidebar {
width: 190px;
}
.main {
margin-left: 190px;
}
.workspace {
padding: 8px 6px;
}
.workspace strong {
font-size: 10px;
}
.workspace-icon {
display: none;
}
.brand {
font-size: 25px;
}
.connection {
display: none;
}
.stats {
grid-template-columns: repeat(2, 1fr);
}
.page-heading h1 {
font-size: 24px;
}
.detail-grid {
grid-template-columns: 1fr;
}
.ticket-properties {
grid-row: 1;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}
.ticket-properties > .field {
margin: 0;
}
.property-title {
grid-column: 1/-1;
margin-bottom: 5px;
}
.property-tip {
display: none;
}
.message {
margin: 15px;
}
.address-row {
flex-wrap: wrap;
}
.status-editor {
grid-template-columns: 45px 1fr 1fr;
}
.group-grid {
grid-template-columns: 1fr;
}
.login-art {
padding: 40px 30px;
}
.login-art h1 {
letter-spacing: -1px;
}
.bottom-note > span {
display: none;
}
}
@media (max-width: 650px) {
.sidebar {
display: none;
width: 245px;
box-shadow: 0 0 0 100vw #0005;
}
.sidebar.mobile-open {
display: flex;
}
.main {
margin-left: 0;
}
.topbar {
height: 62px;
padding: 0 18px;
gap: 12px;
}
.mobile-toggle {
display: block;
}
.breadcrumb {
flex: 1;
font-size: 10px;
gap: 6px;
}
.header-actions {
gap: 15px;
}
.header-actions .avatar {
display: none;
}
main {
padding: 25px 16px;
}
.page-heading {
align-items: flex-start;
flex-direction: column;
gap: 17px;
}
.page-heading p {
font-size: 11px;
}
.stats {
gap: 10px;
margin-bottom: 22px;
}
.stat > strong {
font-size: 27px;
}
.list-tabs {
gap: 19px;
padding: 0 15px;
}
.list-tabs > button {
font-size: 10px;
}
.filters {
padding: 15px;
gap: 7px;
}
.search {
min-width: 100%;
margin-bottom: 5px;
}
.filters select {
flex: 1;
max-width: initial;
width: 40%;
font-size: 10px;
}
.ticket-table td {
padding: 16px 12px;
}
.ticket-table th:first-child,
.ticket-table td:first-child {
padding-left: 15px;
}
.ticket-table .subject-link {
max-width: 225px;
}
.mail-icon {
display: none;
}
.ticket-table td:nth-child(4),
.ticket-table th:nth-child(4),
.ticket-table td:nth-child(5),
.ticket-table th:nth-child(5) {
display: none;
}
.notification-panel {
right: 10px;
width: calc(100vw - 20px);
}
.table-footer {
padding: 13px 15px;
font-size: 9px;
}
.bottom-note {
font-size: 9px;
}
.login {
grid-template-columns: 1fr;
}
.login-art {
display: none;
}
.login-form {
padding-block: 70px;
}
.settings-card {
padding: 17px;
}
.settings-card > .flex {
align-items: flex-start;
gap: 14px;
flex-wrap: wrap;
}
.settings-card h2 {
font-size: 16px;
}
.status-editor {
grid-template-columns: 38px 1fr;
}
.status-editor select {
grid-column: 1/-1;
}
.reply-meta {
flex-direction: column;
}
.message header {
flex-wrap: wrap;
}
.message time {
margin-left: 44px;
}
.reply-footer {
align-items: flex-start;
flex-direction: column;
}
.ticket-properties {
padding: 16px;
}
.permission-grid {
grid-template-columns: 1fr;
}
.log-entry {
flex-wrap: wrap;
}
.log-entry details {
max-width: 100%;
}
.toast {
width: calc(100% - 30px);
font-size: 11px;
}
.modal .dialog__body {
padding: 18px;
}
.detail-heading h1 {
font-size: 22px;
}
.settings-card .address-row > input {
min-width: 100%;
}
}
@media (prefers-reduced-motion: reduce) {
* {
animation: none !important;
transition: none !important;
}
}
.queue-mail-settings {
max-width: 900px;
margin: auto;
}
.settings-section-heading {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 14px;
margin: 0 0 26px;
}
.settings-section-heading > div {
flex: 1;
min-width: 170px;
}
.settings-section-heading h2 {
font-size: 16px;
}
.settings-section-heading p {
margin: 5px 0 0;
font-size: 12px;
color: var(--muted);
}
.section-icon {
display: grid;
place-items: center;
width: 42px;
height: 42px;
border: 1px solid var(--border);
background: var(--hover);
color: var(--accent);
border-radius: 3px;
flex-shrink: 0;
}
.config-badge {
margin-left: auto;
border: 1px solid var(--border);
padding: 5px 9px;
font-size: 10px;
color: var(--muted);
white-space: nowrap;
border-radius: 3px;
}
.config-badge.configured {
color: var(--accent);
background: var(--accent-soft);
border-color: color-mix(in srgb, var(--accent) 20%, var(--border));
}
.smtp-grid {
display: grid;
grid-template-columns: 1fr 130px;
gap: 20px;
}
.form-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.settings-hint {
display: flex;
gap: 10px;
padding: 14px 16px;
border: 1px solid var(--border);
background: var(--hover);
color: var(--muted);
font-size: 11px;
line-height: 1.7;
border-radius: 3px;
}
.settings-hint svg {
flex-shrink: 0;
margin-top: 2px;
color: var(--accent);
}
.settings-divider {
height: 1px;
background: var(--border);
margin: 32px 0;
}
.toggle-setting {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
border: 1px solid var(--border);
padding: 18px;
margin-bottom: 24px;
border-radius: 3px;
background: var(--hover);
}
.toggle-setting strong {
display: block;
font-size: 12px;
font-weight: 600;
}
.toggle-setting small {
display: block;
font-size: 11px;
margin-top: 6px;
color: var(--muted);
line-height: 1.6;
}
.toggle-setting input {
appearance: none;
width: 34px;
height: 19px;
border: 1px solid var(--border);
background: var(--border);
position: relative;
flex-shrink: 0;
cursor: pointer;
border-radius: 3px;
}
.toggle-setting input:after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 13px;
height: 13px;
background: var(--surface);
border-radius: 1px;
transition: transform 0.15s;
}
.toggle-setting input:checked {
background: var(--accent);
border-color: var(--accent);
}
.toggle-setting input:checked:after {
background: #fff;
transform: translateX(15px);
}
.ack-disabled {
opacity: 0.7;
}
.placeholder-list {
display: flex;
gap: 7px;
align-items: center;
flex-wrap: wrap;
margin: -5px 0 20px;
font-size: 10px;
color: var(--muted);
}
.placeholder-list code {
background: var(--hover);
border: 1px solid var(--border);
padding: 3px 6px;
color: var(--accent);
border-radius: 2px;
font-size: 10px;
}
.ack-preview {
margin-top: 24px;
border: 1px solid var(--border);
background: var(--hover);
border-radius: 3px;
}
.ack-preview summary {
padding: 13px 16px;
font-size: 11px;
color: var(--muted);
}
.ack-preview > strong {
display: block;
padding: 16px 20px;
border-top: 1px solid var(--border);
font-size: 12px;
}
.ack-preview > div {
white-space: pre-wrap;
padding: 0 20px 20px;
font-size: 12px;
line-height: 1.8;
overflow-wrap: anywhere;
}
.save-feedback {
display: flex;
align-items: center;
gap: 9px;
background: var(--accent-soft);
color: var(--accent);
border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
padding: 14px 16px;
font-size: 12px;
margin-bottom: 24px;
border-radius: 3px;
}
.mail-actions {
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.mail-actions > button {
font-size: 12px;
}
.html-preview {
flex-shrink: 0;
border: 1px solid var(--border);
background: var(--surface);
border-radius: 3px;
overflow: hidden;
margin: 12px 0;
white-space: normal;
}
.html-preview iframe {
display: block;
width: 100%;
border: 0;
background: var(--surface);
min-width: 0;
}
.html-image-status {
margin: 0;
padding: 8px 16px;
color: var(--muted);
font-size: 11px;
overflow-wrap: anywhere;
}
.message .html-preview {
border: 0;
border-radius: 0;
margin: 0;
}
.message > .message-view-controls {
padding: 8px 12px;
}
.message-view-controls {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.message-view-controls .check-label {
margin: 0;
font-size: 11px;
}
.message-view-controls > .message-view-controls {
margin-right: auto;
}
.original-download {
display: inline-flex;
align-items: center;
gap: 8px;
margin-top: 16px;
font-size: 12px;
}
.modal.modal-wide {
width: min(1040px, calc(100vw - 48px)) !important;
max-width: calc(100vw - 48px) !important;
}
.reply-template-picker {
padding: 12px 16px;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
background: var(--hover);
}
.reply-subject {
margin: 8px 0 0;
font-size: 12px;
overflow-wrap: anywhere;
}
.reply-subject > span {
color: var(--muted);
}
.reply-template-row {
display: flex;
align-items: flex-end;
gap: 12px;
}
.reply-template-row .field {
flex: 1;
margin: 0;
}
.reply-template-row button {
margin-bottom: 0;
}
.signature-editor .field {
margin-top: 18px;
}
.signature-editor .code-editor {
font-family: Consolas, monospace;
font-size: 12px;
line-height: 1.7;
}
.signature-editor .signature-help {
font-size: 11px;
margin: 12px 0;
}
.message-html {
padding: 6px 17px 16px;
min-width: 0;
}
.message-html > details {
margin-top: 10px;
}
.attachment-picker {
border-top: 1px solid var(--border);
padding: 16px 18px;
}
.upload-trigger {
position: relative;
display: inline-flex;
align-items: center;
gap: 7px;
color: var(--accent);
font-size: 11px;
cursor: pointer;
padding: 7px 0;
}
.upload-trigger input {
position: absolute;
inset: 0;
opacity: 0;
cursor: pointer;
width: 100%;
height: 100%;
}
.upload-trigger:focus-within {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
.upload-trigger.disabled {
opacity: 0.5;
cursor: default;
}
.attachment-picker > small {
display: block;
margin: 4px 0;
color: var(--muted);
font-size: 10px;
}
.selected-attachments {
list-style: none;
display: flex;
gap: 9px;
flex-wrap: wrap;
padding: 0;
margin: 14px 0 0;
}
.selected-attachments li {
display: flex;
gap: 9px;
align-items: center;
padding: 10px 12px;
border: 1px solid var(--border);
background: var(--hover);
max-width: 100%;
font-size: 11px;
}
.selected-attachments span {
overflow-wrap: anywhere;
min-width: 0;
}
.selected-attachments small {
display: block;
margin-top: 4px;
font-size: 9px;
color: var(--muted);
}
.selected-attachments button {
color: var(--muted);
margin-left: 7px;
}
.danger-zone {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
border-top: 1px solid var(--border);
margin-top: 35px;
padding-top: 22px;
flex-wrap: wrap;
}
.danger-zone > div {
flex: 1;
min-width: 200px;
}
.danger-zone h3 {
color: #c85b62;
margin: 0 0 8px;
}
.danger-zone p {
font-size: 11px;
margin: 0;
color: var(--muted);
}
.signature-tokens {
border: 1px solid var(--border);
padding: 12px;
margin: 12px 0 18px;
font-size: 12px;
}
.signature-tokens summary {
cursor: pointer;
font-weight: 600;
}
.signature-tokens p {
margin: 12px 0;
line-height: 1.6;
}
.signature-token-group {
display: grid;
gap: 8px;
margin-top: 14px;
}
.signature-token-group > div {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.signature-token-group button {
border: 1px solid var(--border);
border-radius: 3px;
padding: 5px 8px;
background: var(--hover);
color: inherit;
font:
11px ui-monospace,
monospace;
cursor: pointer;
}
.signature-token-group button:hover {
border-color: var(--accent);
}
.signature-text-preview {
white-space: pre-wrap;
overflow-wrap: anywhere;
padding: 16px;
border: 1px solid var(--border);
background: var(--hover);
font: inherit;
font-size: 13px;
line-height: 1.6;
}
.danger-zone > button {
font-size: 12px;
border-color: #b9515b;
color: #c85b62;
}
.danger-button {
background: #b92d3d !important;
color: #fff !important;
border: 1px solid #b92d3d !important;
}
.delete-notice {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 16px;
border: 1px solid var(--border);
background: var(--hover);
font-size: 12px;
line-height: 1.7;
margin-bottom: 22px;
}
.delete-notice svg {
color: #ce8e4a;
flex-shrink: 0;
margin-top: 2px;
}
:root {
color-scheme: light;
}
:root.dark {
color-scheme: dark;
}
@media (max-width: 650px) {
.form-columns {
grid-template-columns: 1fr;
gap: 0;
}
.smtp-grid {
grid-template-columns: 1fr 85px;
gap: 12px;
}
.settings-section-heading {
flex-wrap: wrap;
}
.config-badge {
margin-left: 56px;
margin-top: -12px;
}
.mail-actions {
flex-direction: column;
align-items: stretch;
}
.mail-actions > button {
width: 100%;
font-size: 11px;
}
.modal-positioner {
padding: 12px;
}
.modal {
max-width: calc(100vw - 24px) !important;
max-height: calc(100dvh - 24px);
}
.modal .dialog__header {
padding: 17px 18px;
}
.modal .dialog__body {
padding: 18px;
}
.modal form > button {
width: 100%;
justify-content: center;
}
}
@media (max-width: 1100px) {
.topbar {
height: auto;
min-height: 76px;
flex-wrap: wrap;
gap: 12px;
padding-top: 12px;
padding-bottom: 12px;
}
.breadcrumb {
flex: 1;
}
.header-search {
order: 3;
flex-basis: 100%;
max-width: none;
margin: 0;
}
.global-search-panel {
width: 100%;
}
}
.ticket-side {
display: flex;
flex-direction: column;
gap: 18px;
min-width: 0;
align-self: start;
}
.ticket-side > .ticket-properties {
width: 100%;
}
.ticket-tags {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 5px;
margin: 6px 0;
}
.ticket-tag {
display: inline-flex;
max-width: 100%;
padding: 2px 7px;
font-size: 10px;
line-height: 1.7;
border-radius: 3px;
overflow-wrap: anywhere;
color: color-mix(in srgb, var(--tag-color) 55%, var(--text));
background: color-mix(in srgb, var(--tag-color) 12%, var(--surface));
border: 1px solid color-mix(in srgb, var(--tag-color) 38%, var(--border));
}
.property-tags {
margin-bottom: 24px;
grid-column: 1 / -1;
}
.property-tags > span {
display: block;
font-size: 11px;
color: var(--muted);
margin-bottom: 8px;
}
.property-tags > small {
font-size: 11px;
}
.filters .tag-filter {
width: 160px;
min-width: 130px;
max-width: 220px;
text-overflow: ellipsis;
}
.ticket-checklist {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 3px;
padding: 18px;
min-width: 0;
}
.checklist-heading,
.checklist-heading h2 {
display: flex;
align-items: center;
gap: 8px;
}
.checklist-heading {
justify-content: space-between;
margin-bottom: 14px;
}
.checklist-heading h2 {
font-size: 13px;
font-weight: 650;
}
.checklist-heading > span {
color: var(--muted);
font-size: 11px;
white-space: nowrap;
}
.ticket-checklist li {
display: flex;
align-items: flex-start;
gap: 5px;
padding: 9px 0;
border-bottom: 1px solid var(--border);
}
.ticket-checklist li > label {
display: flex;
align-items: flex-start;
flex: 1;
gap: 8px;
font-size: 12px;
line-height: 1.6;
min-width: 0;
overflow-wrap: anywhere;
}
.ticket-checklist input[type='checkbox'] {
accent-color: var(--accent);
flex-shrink: 0;
width: 15px;
height: 15px;
margin-top: 2px;
}
.checklist-done > span {
text-decoration: line-through;
color: var(--muted);
}
.checklist-empty {
font-size: 11px;
margin-bottom: 12px;
}
.checklist-add {
display: flex;
gap: 6px;
margin-top: 14px;
}
.checklist-add > input {
flex: 1;
min-width: 0;
font-size: 12px;
}
.checklist-add > button {
flex-shrink: 0;
}
.queue-tag-editor h3 {
display: flex;
gap: 8px;
align-items: center;
}
.queue-tag-rule {
padding: 18px;
margin: 20px 0;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 3px;
}
.tag-rule-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.tag-rules-help {
margin-top: 16px;
font-size: 11px;
line-height: 1.7;
}
@media (max-width: 900px) {
.ticket-side {
grid-row: 1;
}
}
@media (max-width: 600px) {
.filters .tag-filter {
max-width: none;
width: 100%;
}
}
.table-footer {
flex-wrap: wrap;
align-items: center;
gap: 12px;
}
.ticket-pagination,
.ticket-pagination nav,
.ticket-pagination > label {
display: flex;
align-items: center;
gap: 7px;
}
.ticket-pagination {
flex-wrap: wrap;
justify-content: flex-end;
}
.ticket-pagination > label {
color: var(--muted);
font-size: 11px;
}
.ticket-pagination select {
padding: 4px 7px;
font-size: 11px;
min-height: 30px;
width: 65px;
}
.ticket-pagination nav > span {
white-space: nowrap;
font-size: 11px;
margin: 0 5px;
}
.global-search-panel {
display: flex;
flex-direction: column;
overflow: hidden;
}
.global-search-panel [role='listbox'] {
overflow: auto;
min-height: 0;
}
.search-summary,
.search-pagination {
flex-shrink: 0;
}
.search-pagination {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
border-top: 1px solid var(--border);
padding: 8px 12px;
font-size: 11px;
color: var(--muted);
}
@media (max-width: 600px) {
.ticket-pagination {
justify-content: flex-start;
}
.ticket-pagination nav {
gap: 4px;
}
}