/* ==========================================================================
   «sx» — κοινά στοιχεία των σελίδων υποθέσεων (Οι ενέργειές μου, Υποθέσεις, Υπόθεση).
   Μία ιδέα ανά κάρτα, ένα κύριο κουμπί ανά κάρτα, μεγάλα και ευδιάκριτα στοιχεία.
   Τα χρώματα (--sx-*) ορίζονται στο app.css.
   ========================================================================== */
/* IBM Plex Mono (λατινικά, βάρος 500): οι μικρές επικεφαλίδες στις κάρτες μετάβασης του μενού — η ίδια γραφή με την Academy. */
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.sx { color: var(--sx-ink); font-size: 1rem; line-height: 1.45; font-weight: 500; }
.sx h1 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.85rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.sx h2 { margin: 0; font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.sx h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.sx p { margin: 0; }
.sx-muted { color: var(--sx-muted); }
.sx-warn { color: var(--sx-warn); font-weight: 800; }
.sx-lead { font-size: 1rem; color: var(--sx-muted); }

.sx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.sx-head > div { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.sx-back { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; font-weight: 700; text-decoration: none; }
.sx-back:hover { text-decoration: underline; }

.sx-section { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2rem; }
.sx-section-title { display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--sx-muted); }
.sx-count { min-width: 26px; height: 26px; padding: 0 .45rem; border-radius: 13px; background: var(--sx-ink); color: #fff; display: inline-grid; place-items: center; font-size: .85rem; letter-spacing: 0; }

/* Κάρτες: λεπτό περίγραμμα και απαλή σκιά αντί για έντονη γραμμή. */
.sx-card { background: #fff; border: 1px solid var(--sx-card-line, #e2e7ef); border-radius: 16px; padding: 1.35rem 1.5rem; box-shadow: 0 1px 2px rgba(15, 31, 58, .04), 0 6px 20px rgba(15, 31, 58, .05); }
.sx-card-first { border: 2px solid var(--sx-ink); }

/* ---------- κάρτα ενέργειας ---------- */
.sx-todo { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.sx-todo-body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.sx-todo-ctx { font-size: .9rem; font-weight: 700; color: var(--sx-muted); }
.sx-todo-side { display: flex; flex-direction: column; align-items: stretch; gap: .45rem; min-width: 220px; }
.sx-due { font-size: .9rem; font-weight: 700; color: var(--sx-muted); text-align: center; }
.sx-due-urgent { color: var(--sx-warn); font-weight: 800; }

/* ---------- κουμπιά ---------- */
.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .5rem 1.3rem; border-radius: 12px; border: 2px solid transparent; background: var(--sx-teal); color: #fff; font: inherit; font-size: 1rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.sx-btn:hover { background: var(--sx-teal-dark); color: #fff; }
.sx-btn:focus-visible { outline: 3px solid var(--sx-ink); outline-offset: 3px; }
.sx-btn:disabled { opacity: .55; cursor: default; }
.sx-btn-ghost { background: #fff; color: var(--sx-ink); border-color: var(--sx-ink); }
.sx-btn-ghost:hover { background: var(--sx-soft); color: var(--sx-ink); }
.sx-btn-sm { min-height: 40px; padding: .35rem .95rem; font-size: .92rem; border-radius: 10px; }
.sx-btn-white { background: #fff; color: var(--sx-ink); }
.sx-btn-white:hover { background: var(--sx-hi); color: var(--sx-ink); }
.sx-btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.sx-btn-line:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.sx-btn-white:focus-visible, .sx-btn-line:focus-visible { outline-color: var(--sx-hi); }

/* ---------- γραμμές λίστας ---------- */
.sx-rows { background: #fff; border: 1px solid var(--sx-card-line, #e2e7ef); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 31, 58, .04), 0 6px 20px rgba(15, 31, 58, .05); }
.sx-rows-open { overflow: visible; }   /* όταν μια γραμμή ανοίγει μενού που βγαίνει έξω από το πλαίσιο */
.sx-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; color: inherit; text-decoration: none; border-top: 1px solid var(--sx-soft); }
.sx-row:first-child { border-top: 0; }
.sx-row:hover { background: #f8fafc; color: inherit; }
.sx-row:focus-visible { outline: 3px solid var(--sx-teal); outline-offset: -3px; }
.sx-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.sx-row-title { font-size: 1.05rem; font-weight: 800; }
.sx-row-sub { font-size: .92rem; color: var(--sx-muted); }
.sx-row-side { flex-shrink: 0; text-align: right; font-size: .9rem; font-weight: 700; color: var(--sx-muted); max-width: 40%; }
.sx-row-arrow { flex-shrink: 0; color: var(--sx-muted); }

.sx-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 .7rem; border-radius: 14px; background: var(--sx-soft); color: var(--sx-ink); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.sx-chip-turn { background: var(--sx-hi); }
.sx-chip-done { background: #d9efe9; color: #114b49; }

.sx-filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.sx-filter { min-height: 44px; padding: 0 1.1rem; border-radius: 22px; border: 2px solid var(--sx-line); background: #fff; color: var(--sx-ink); font: inherit; font-weight: 800; cursor: pointer; }
.sx-filter:hover { border-color: var(--sx-ink); }
.sx-filter[aria-pressed="true"] { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }
.sx-filter:focus-visible { outline: 3px solid var(--sx-teal); outline-offset: 2px; }

.sx-empty { background: #fff; border: 1.5px dashed var(--sx-line); border-radius: 16px; padding: 2rem 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; }

/* ---------- μηνύματα ---------- */
.sx-note { border-radius: 14px; padding: .85rem 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.sx-note-ok { background: #d9efe9; color: #114b49; }
.sx-note-err { background: #fde3d8; color: #7a2c0e; }
/* «Νέο»: κάτι άλλαξε στην υπόθεση όσο την είχες ανοιχτή, ή από την τελευταία φορά που την είδες. */
.sx-note-new { display: flex; align-items: flex-start; gap: .75rem; background: #e4ecfb; color: #17346b; }
.sx-note-new > span { flex: 1; min-width: 0; }
.sx-note-x { flex: none; border: 0; background: transparent; color: inherit; font: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0 .25rem; }
.sx-new { display: inline-block; margin-left: .45rem; padding: .05rem .5rem; border-radius: 999px; background: #17346b; color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .04em; vertical-align: middle; }

/* ---------- βήματα ---------- */
.sx-steps { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.sx-step { display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; font-size: .88rem; font-weight: 700; color: var(--sx-muted); position: relative; }
.sx-step::before { content: ""; position: absolute; top: 19px; right: 50%; width: 100%; height: 3px; background: var(--sx-line); z-index: 0; }
.sx-step:first-child::before { display: none; }
.sx-step-dot { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--sx-line); background: #fff; color: var(--sx-muted); display: grid; place-items: center; font-weight: 800; }
.sx-step-done { color: var(--sx-ink); }
.sx-step-done::before, .sx-step-now::before { background: var(--sx-teal); }
.sx-step-done .sx-step-dot { background: var(--sx-teal); border-color: var(--sx-teal); color: #fff; }
.sx-step-now { color: var(--sx-ink); font-weight: 800; }
.sx-step-now .sx-step-dot { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }

/* ---------- πάνελ «η σειρά σου» / «περιμένεις» ---------- */
.sx-turn { background: var(--sx-ink); color: #fff; border-radius: 16px; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.5rem; }
.sx-turn-label { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sx-hi); }
.sx-turn h2 { font-size: 1.3rem; color: #fff; }
.sx-turn p { color: #dbe3f0; font-size: 1rem; }
.sx-turn-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.sx-turn .sx-due { color: var(--sx-hi); text-align: left; }
.sx-wait { background: var(--sx-soft); color: var(--sx-ink); }
.sx-wait .sx-turn-label { color: var(--sx-muted); }
.sx-wait h2 { color: var(--sx-ink); }
.sx-wait p { color: var(--sx-muted); }
.sx-wait .sx-due { color: var(--sx-muted); }
.sx-done-panel { background: #d9efe9; color: #114b49; }
.sx-done-panel .sx-turn-label, .sx-done-panel h2, .sx-done-panel p { color: #114b49; }

/* ---------- φόρμες ---------- */
.sx-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; align-items: start; }
.sx-form-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
.sx-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.sx-field-wide { grid-column: 1 / -1; }
.sx-field label { font-size: .9rem; font-weight: 700; }
.sx-input { width: 100%; min-height: 46px; padding: .5rem .85rem; border-radius: 10px; border: 1.5px solid var(--sx-line); background: #fff; color: var(--sx-ink); font: inherit; font-size: 1rem; font-weight: 500; }
textarea.sx-input { min-height: 96px; resize: vertical; }
select.sx-input {
    appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; text-overflow: ellipsis;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1f3a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem;
}
.sx-input::placeholder { color: #8a94a6; font-weight: 500; }
.sx-input:focus { outline: 3px solid rgba(31, 122, 120, .28); outline-offset: 0; border-color: var(--sx-teal); }
.sx-turn .sx-field label { color: #fff; }
.sx-turn .sx-input { border-color: transparent; }
.sx-turn .sx-input:focus { outline-color: var(--sx-hi); }
.sx-hint { font-size: .88rem; color: var(--sx-muted); }
/* Δήλωση συναίνεσης πελάτη στο «Νέο αίτημα» (GDPR, επαγγελματικό απόρρητο). */
.sx-consent { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 1rem; padding: .75rem .9rem;
              background: #f7fafc; border: 1px solid #e2e8f0; border-radius: 10px; font-size: .92rem; line-height: 1.5; }
.sx-consent input { margin-top: .25rem; width: 18px; height: 18px; flex: none; }
.sx-check { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; cursor: pointer; }
.sx-check input { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--sx-teal); }
.sx-quiet input[type=file] { max-width: 100%; font: inherit; }
.sx-turn .sx-hint { color: #b9c5d9; }
.sx-wait .sx-hint { color: var(--sx-muted); }

/* ---------- περιεχόμενο υπόθεσης ---------- */
.sx-cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.sx-col { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.sx-sticky { position: sticky; top: 1.5rem; }
.sx-block { display: flex; flex-direction: column; gap: .85rem; }
.sx-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.sx-label { font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--sx-muted); }
.sx-quiet { background: var(--sx-soft); border-radius: 14px; padding: .85rem 1.1rem; display: flex; flex-direction: column; gap: .2rem; }

.sx-facts { margin: 0; display: flex; flex-direction: column; }
.sx-fact { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--sx-soft); }
.sx-fact:first-child { border-top: 0; padding-top: 0; }
.sx-fact dt { font-weight: 600; color: var(--sx-muted); }
.sx-fact dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; }

.sx-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.sx-file { display: flex; align-items: center; gap: .75rem; min-height: 52px; padding: .5rem .9rem; border: 1px solid var(--sx-line); border-radius: 12px; }
.sx-file a { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }

.sx-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sx-event { position: relative; padding: 0 0 1rem 1.6rem; }
.sx-event::before { content: ""; position: absolute; left: 0; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--sx-teal); }
.sx-event::after { content: ""; position: absolute; left: 5px; top: 1.1rem; bottom: 0; width: 2px; background: var(--sx-line); }
.sx-event:last-child { padding-bottom: 0; }
.sx-event:last-child::after { display: none; }
.sx-event-text { font-weight: 700; }
.sx-event-when { font-size: .88rem; color: var(--sx-muted); }

.sx-qa { display: flex; flex-direction: column; gap: .45rem; padding: .9rem 0; border-top: 1px solid var(--sx-soft); }
.sx-qa:first-of-type { border-top: 0; padding-top: 0; }
.sx-q { font-weight: 800; }
.sx-a { padding-left: .9rem; border-left: 4px solid var(--sx-teal); }

.sx-table { width: 100%; border-collapse: collapse; }
.sx-table th { text-align: left; font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--sx-muted); padding: 0 .75rem .5rem 0; }
.sx-table td { padding: .7rem .75rem .7rem 0; border-top: 1px solid var(--sx-soft); vertical-align: middle; }
.sx-table .sx-num { text-align: right; white-space: nowrap; font-weight: 800; }

/* ---------- σελίδες διαχείρισης: γραμμή εργαλείων, μέλη, ζεύγη ετικέτας–τιμής ---------- */
.sx-toolbar { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.sx-toolbar .sx-input { flex: 1 1 260px; max-width: 420px; }
.sx-toolbar .sx-select { flex: 0 1 220px; max-width: 260px; }
.sx-input-sm { min-height: 38px; padding: .25rem .6rem; font-size: .92rem; width: auto; }
select.sx-input-sm { padding-right: 2.2rem; background-position: right .6rem center; }

/* σελιδοποίηση */
.sx-pager { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; flex-wrap: wrap; margin: 1rem 0 0; font-size: .92rem; }
.sx-pager-controls { display: flex; align-items: center; gap: .6rem; }
.sx-pager-page { font-weight: 700; white-space: nowrap; }
.sx-pager-size { display: inline-flex; align-items: center; gap: .5rem; color: var(--sx-muted); font-weight: 600; }

.sx-member { display: flex; flex-direction: column; gap: .85rem; padding: 1rem 1.5rem; border-top: 1px solid var(--sx-soft); }
.sx-member:first-child { border-top: 0; }
.sx-member-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; }
.sx-member-main { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.sx-member-name { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; font-size: 1.08rem; font-weight: 800; }
.sx-member-sub { display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; font-size: .93rem; color: var(--sx-muted); overflow-wrap: anywhere; }
.sx-member-actions { display: flex; flex-wrap: wrap; gap: .4rem; }

.sx-act { min-height: 38px; padding: 0 .85rem; border-radius: 10px; border: 1px solid var(--sx-line); background: #fff; color: var(--sx-ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.sx-act:hover:enabled { border-color: var(--sx-ink); background: var(--sx-soft); }
.sx-act:focus-visible { outline: 3px solid var(--sx-teal); outline-offset: 2px; }
.sx-act:disabled { opacity: .45; cursor: default; }
.sx-act-danger { color: var(--sx-warn); }
.sx-act-danger:hover:enabled { border-color: var(--sx-warn); background: #fde3d8; }

/* μενού «Περισσότερα» σε γραμμή λίστας */
.sx-menu { position: relative; }
.sx-menu-backdrop { position: fixed; inset: 0; z-index: 40; }
.sx-menu-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 41; min-width: 230px; padding: .35rem; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sx-card-line, #e2e7ef); border-radius: 12px; box-shadow: 0 14px 34px rgba(15, 31, 58, .18); }
.sx-menu-list button { min-height: 42px; padding: 0 .8rem; border: 0; border-radius: 8px; background: none; color: var(--sx-ink); font: inherit; font-size: .95rem; font-weight: 700; text-align: left; cursor: pointer; }
.sx-menu-list button:hover:enabled { background: var(--sx-soft); }
.sx-menu-list button:focus-visible { outline: 3px solid var(--sx-teal); outline-offset: -2px; }
.sx-menu-list button:disabled { opacity: .45; cursor: default; }
.sx-menu-list .sx-menu-danger { color: var(--sx-warn); }

.sx-btn-danger { background: var(--sx-warn); }
.sx-btn-danger:hover { background: #8f3512; }
.sx-chip-ink { background: var(--sx-ink); color: #fff; }
.sx-chip-quiet { background: transparent; border: 1px dashed var(--sx-line); color: var(--sx-muted); font-weight: 700; }
.sx-chip-wait { background: var(--sx-hi); }

/* Επιλογή αρχείων (FileDrop): πλαίσιο που το πατάς ή σέρνεις πάνω του αρχεία. Το πραγματικό <input type=file>
   είναι αόρατο και καλύπτει όλο το πλαίσιο — έτσι δουλεύουν κλικ, πληκτρολόγιο και σύρσιμο χωρίς JavaScript. */
label.sx-drop { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 2px dashed var(--sx-line);
    border-radius: 14px; background: #fff; font-weight: 400; font-size: 1rem; cursor: pointer; transition: border-color .15s, background-color .15s; }
label.sx-drop:hover, label.sx-drop:focus-within { border-color: var(--sx-teal); background: #f1f9f8; }
label.sx-drop:focus-within { outline: 3px solid rgba(31, 122, 120, .28); outline-offset: 2px; }
.sx-drop-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sx-drop-input:disabled { cursor: default; }
label.sx-drop:has(.sx-drop-input:disabled) { cursor: default; opacity: .6; }
label.sx-drop.is-busy { opacity: 1; border-style: solid; border-color: var(--sx-teal); background: #f1f9f8; }
.sx-drop-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #e3f2f0; color: var(--sx-teal); }
.sx-drop-body { display: grid; gap: .2rem; min-width: 0; }
.sx-drop-main { color: var(--sx-ink); font-weight: 600; }
.sx-drop-main strong { color: var(--sx-teal); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.sx-drop-sub { font-size: .86rem; line-height: 1.45; color: var(--sx-muted); }
label.sx-drop-sm { padding: .8rem 1rem; gap: .85rem; }
.sx-drop-sm .sx-drop-icon { width: 40px; height: 40px; border-radius: 12px; }
.sx-upload { display: flex; flex-direction: column; gap: .6rem; }
.sx-optional { font-weight: 600; color: var(--sx-muted); }
.sx-optional::before { content: "· "; }

/* Ποιος έστειλε (σελίδα ειδικού) και κείμενο του βοηθού AI με έντονα/λίστες */
.sx-asker { display: flex; align-items: center; gap: .6rem; margin: .1rem 0 .35rem; }
.sx-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sx-ink); color: #fff; font-weight: 800; font-size: .95rem; }
.sx-ai-answer { border: 1px solid var(--sx-line); border-radius: 14px; padding: .75rem 1.1rem; background: #fbfcfe; }
.sx-ai-answer > summary { cursor: pointer; font-weight: 700; color: var(--sx-link); }
.sx-ai-answer[open] > summary { margin-bottom: .55rem; }
.sx-prose { line-height: 1.6; overflow-wrap: anywhere; color: #3b475c; }
.sx-prose strong { color: var(--sx-ink); }
.sx-prose code { padding: .05rem .35rem; border-radius: 6px; background: var(--sx-soft); font-size: .92em; }

/* Αρχεία που διάλεξες και περιμένουν την αποθήκευση */
.sx-picked { list-style: none; margin: .15rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sx-picked-item { display: inline-flex; align-items: center; gap: .55rem; max-width: 100%; min-height: 40px; padding: .25rem .35rem .25rem .85rem;
    border-radius: 999px; background: #e3f2f0; color: #114b49; }
.sx-picked-name { font-weight: 700; overflow-wrap: anywhere; }
.sx-picked-size { font-size: .82rem; opacity: .8; white-space: nowrap; }
.sx-picked-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.sx-picked-x:hover:enabled, .sx-picked-x:focus-visible { background: #c5e4e0; }
.sx-picked-x:disabled { opacity: .5; cursor: default; }

/* Ειδοποίηση που εμφανίζεται μόνη της (π.χ. «απάντησε ο ειδικός»): κάτω δεξιά, πάνω από τις κάτω καρτέλες στο κινητό. */
/* Ειδοποιήσεις μέσα στο site: στοίβα κάτω δεξιά (απάντηση ειδικού, γεγονότα υποθέσεων). */
.sx-toasts { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: min(360px, calc(100vw - 2rem)); display: flex; flex-direction: column; gap: .6rem; }
.sx-toast { display: grid; gap: .5rem; justify-items: start;
    padding: 1rem 1.1rem; border-radius: 16px; background: var(--sx-ink); color: #fff; box-shadow: 0 18px 40px rgba(15, 31, 58, .28); }
.sx-toast-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.sx-toast-ok { padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.sx-toast-ok:hover { background: rgba(255, 255, 255, .14); }
.sx-toast-ok:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sx-toast-more { font-size: .85rem; color: #fff; opacity: .85; text-decoration: underline; }
.sx-toast-title { font-weight: 800; }
.sx-toast-text { font-size: .9rem; opacity: .85; overflow-wrap: anywhere; }
.sx-toast .sx-btn { background: #fff; color: var(--sx-ink); }
@media (max-width: 800.98px) { .sx-toasts { right: 1rem; bottom: 6.25rem; } }
.sx-quiet-danger { background: #fde3d8; color: #7a2c0e; }
.sx-chips { display: flex; flex-wrap: wrap; gap: .4rem; }

.sx-kv { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .9rem 1.5rem; }
.sx-kv > div { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.sx-kv dt { font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--sx-muted); }
.sx-kv dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }

.sx-check-row { padding: .55rem .7rem; border-radius: 10px; }
.sx-check-row:hover { background: var(--sx-soft); }

@media (max-width: 900.98px) {
    .sx-cols { grid-template-columns: minmax(0, 1fr); }
    .sx-sticky { position: static; }
}

@media (max-width: 640.98px) {
    .sx-card { padding: 1.1rem 1.1rem; }
    .sx-form, .sx-form-3 { grid-template-columns: minmax(0, 1fr); }
    .sx-member { padding: 1rem 1.1rem; }
    .sx-member-actions .sx-act { flex: 1 1 auto; }
    .sx-toolbar .sx-input { max-width: none; }
    .sx-turn { padding: 1.25rem 1.15rem; }
    .sx-todo-side { min-width: 0; width: 100%; }
    .sx-due { text-align: left; }
    .sx-row { padding: .9rem 1.1rem; flex-wrap: wrap; }
    .sx-row-side { max-width: none; text-align: left; flex-basis: 100%; }
    .sx-row-arrow { display: none; }
    /* έξι ετικέτες δεν χωρούν δίπλα-δίπλα: φαίνεται μόνο του τρέχοντος βήματος */
    .sx-step { font-size: .8rem; }
    .sx-step-name { visibility: hidden; white-space: nowrap; }
    .sx-step-now .sx-step-name { visibility: visible; }
    .sx-step-dot { width: 32px; height: 32px; border-width: 2px; font-size: .85rem; }
    .sx-step::before { top: 15px; }
    .sx-btn { width: 100%; }
    .sx-filter { flex: 1 1 auto; }
    .sx-table thead { display: none; }
    .sx-table, .sx-table tbody, .sx-table tr, .sx-table td { display: block; width: 100%; }
    .sx-table tr { padding: .75rem 0; border-top: 1px solid var(--sx-soft); }
    .sx-table td { border: 0; padding: .15rem 0; }
    .sx-table .sx-num { text-align: left; }
}
