.edas-ticketing {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --text: #172033;
  --muted: #667085;
  --line: #d8e0ea;
  --pending: #c47f12;
  --pending-soft: #fff5df;
  --progress: #1d74d8;
  --progress-soft: #e7f1ff;
  --solved: #17865b;
  --solved-soft: #e4f7ed;
  --danger: #b42318;
  --danger-soft: #fff0ed;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
  width: 100%;
  margin: 0;
  display: flow-root;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: normal;
}

.edas-ticketing-form-page,
.edas-ticketing-board-page,
.edas-ticketing-login-page,
.edas-ticketing-messages-page {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(29, 116, 216, 0.08), transparent 34%), linear-gradient(315deg, rgba(23, 134, 91, 0.08), transparent 38%), var(--bg);
}

.edas-ticketing *, .edas-ticketing *::before, .edas-ticketing *::after { box-sizing: border-box; }
.edas-ticketing h1, .edas-ticketing h2, .edas-ticketing h3, .edas-ticketing p { margin-top: 0; }
.edas-ticketing h1 { margin-bottom: 0; color: var(--text); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; }
.edas-ticketing button, .edas-ticketing input, .edas-ticketing textarea { font-family: inherit; }
.edas-ticketing .eyebrow { margin: 0 0 8px; color: var(--progress); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.edas-ticketing .form-page,
.edas-ticketing .login-shell { width: min(calc(100% - 32px), 680px); margin: 50px auto; padding: clamp(24px, 5vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 45px rgba(23, 32, 51, .1); }
.edas-ticketing .login-shell { max-width: 430px; }
.edas-ticketing .form-intro { margin-bottom: 20px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.edas-ticketing .form-group { margin-bottom: 18px; }
.edas-ticketing .form-group label { display: block; margin-bottom: 7px; color: var(--text); font-size: .88rem; font-weight: 700; }
.edas-ticketing .form-group input,
.edas-ticketing .form-group select,
.edas-ticketing .form-group textarea,
.edas-ticketing-login-page #loginform input[type="text"],
.edas-ticketing-login-page #loginform input[type="password"] { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); font: inherit; }
.edas-ticketing .form-group input,
.edas-ticketing .form-group textarea,
.edas-ticketing-login-page #loginform input[type="text"],
.edas-ticketing-login-page #loginform input[type="password"] { min-height: 0; font-size: 16px; line-height: 1.2; }
.edas-ticketing .form-group textarea { min-height: 150px; resize: vertical; }
.edas-ticketing .edas-custom-form-field--checkbox label { display: flex; align-items: center; gap: 9px; }
.edas-ticketing .edas-custom-form-field--checkbox input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 auto; padding: 0; }
.edas-ticketing .edas-other-entry { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: rgba(29, 116, 216, .04); }
.edas-ticketing .edas-other-entry[hidden] { display: none; }
.edas-ticketing .edas-other-entry label { margin-bottom: 7px; }
.edas-ticketing .form-group input:focus,
.edas-ticketing .form-group select:focus,
.edas-ticketing .form-group textarea:focus,
.edas-ticketing-login-page #loginform input:focus { outline: 3px solid rgba(29, 116, 216, .14); border-color: var(--progress); }
.edas-ticketing .form-message { padding: 12px 14px; margin-bottom: 20px; border-radius: 7px; font-weight: 700; }
.edas-ticketing .form-message.success { color: var(--solved); background: var(--solved-soft); border: 1px solid rgba(23, 134, 91, .35); }
.edas-ticketing .form-message.error { color: var(--danger); background: var(--danger-soft); border: 1px solid rgba(180, 35, 24, .35); }
.edas-ticketing .submit-problem,
.edas-ticketing-login-page #wp-submit { width: 100%; min-height: 48px; padding: 0 16px; border: 0; border-radius: 7px; background: var(--progress); color: #fff; font-weight: 700; cursor: pointer; }
.edas-ticketing .submit-problem:disabled, .edas-ticketing .card-button:disabled { opacity: .65; cursor: wait; }
.edas-ticketing .form-group select { width: 100%; min-height: 48px; padding: 13px 38px 13px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); font: inherit; }
.edas-ticketing .existing-ticket-link { display: inline-block; margin: -6px 0 22px; color: var(--progress); font-size: .88rem; font-weight: 700; }
.edas-ticketing .ticket-success { padding: 18px; margin: 0 0 24px; border: 1px solid rgba(23, 134, 91, .35); border-radius: 10px; background: var(--solved-soft); }
.edas-ticketing .ticket-success .eyebrow { color: var(--solved); }
.edas-ticketing .ticket-credentials { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(220px, 1.5fr); gap: 10px; margin-bottom: 12px; }
.edas-ticketing .ticket-credential { padding: 12px; border: 1px solid rgba(23, 134, 91, .24); border-radius: 8px; background: var(--surface); }
.edas-ticketing .ticket-credential small { display: block; margin-bottom: 5px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.edas-ticketing .ticket-credential strong, .edas-ticketing .ticket-credential code { display: block; color: var(--text); font-family: inherit; font-size: .95rem; font-weight: 800; overflow-wrap: anywhere; }
.edas-ticketing .ticket-key-warning { margin-bottom: 12px; color: var(--text); font-size: .84rem; line-height: 1.5; }
.edas-ticketing .form-message.warning { color: var(--pending); background: var(--pending-soft); border: 1px solid rgba(196, 127, 18, .35); }

.edas-ticketing-login-page #loginform p { margin-bottom: 18px; }
.edas-ticketing-login-page #loginform label { display: block; margin-bottom: 7px; color: var(--text); font-size: .88rem; font-weight: 700; }
.edas-ticketing-login-page .login-remember { display: none; }

.edas-ticketing .problem-method { padding: 0; margin: 4px 0 20px; border: 0; }
.edas-ticketing .problem-method legend { margin-bottom: 6px; color: var(--text); font-size: .95rem; font-weight: 800; }
.edas-ticketing .problem-method > p { margin: 0 0 12px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.edas-ticketing .method-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.edas-ticketing .method-option { display: flex; min-height: 72px; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.edas-ticketing .method-option:hover { border-color: var(--progress); }
.edas-ticketing .method-option:focus-visible { outline: 3px solid rgba(29, 116, 216, .18); outline-offset: 2px; }
.edas-ticketing .method-option.active { border-color: var(--progress); background: var(--progress-soft); box-shadow: inset 0 0 0 1px var(--progress); }
.edas-ticketing .method-option span:last-child { display: grid; gap: 3px; }
.edas-ticketing .method-option small { color: var(--muted); font-size: .78rem; }
.edas-ticketing .method-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e8f2fe; color: #155eaa; font-size: 1.05rem; }

.edas-ticketing .voice-controls { padding: 16px; margin: -6px 0 18px; border: 1px solid #bdd8f4; border-radius: 10px; background: #f7fbff; }
.edas-ticketing [hidden] { display: none !important; }
.edas-ticketing .voice-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.edas-ticketing .voice-record-button { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 0 14px; border: 0; border-radius: 7px; background: var(--danger); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.edas-ticketing .voice-record-button:hover:not(:disabled) { background: #8f1c13; }
.edas-ticketing .voice-record-button:disabled { background: #98a2b3; cursor: not-allowed; }
.edas-ticketing .voice-record-button.recording { background: var(--text); }
.edas-ticketing .record-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.edas-ticketing .voice-record-button.recording .record-dot { animation: edas-recording-pulse 1.2s infinite; }
.edas-ticketing .voice-status { margin: 12px 0 0; color: #475467; font-size: .84rem; line-height: 1.5; }
.edas-ticketing .voice-status[data-state="listening"] { color: #155eaa; font-weight: 700; }
.edas-ticketing .voice-status[data-state="error"], .edas-ticketing .photo-status[data-state="error"] { color: var(--danger); font-weight: 700; }
.edas-ticketing .voice-status[data-state="success"], .edas-ticketing .photo-status[data-state="success"] { color: var(--solved); font-weight: 700; }
.edas-ticketing .recording-time { min-width: 52px; color: #475467; font-size: .9rem; font-variant-numeric: tabular-nums; font-weight: 700; text-align: center; }
.edas-ticketing .voice-preview { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.edas-ticketing .voice-preview audio { width: min(100%, 390px); height: 42px; }
.edas-ticketing .clear-recording, .edas-ticketing .clear-photo { min-height: 38px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 7px; background: var(--surface); color: var(--text); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.edas-ticketing .clear-recording:hover, .edas-ticketing .clear-photo:hover { border-color: var(--danger); color: var(--danger); }
.edas-ticketing .voice-upload-row { display: grid; gap: 7px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #d9e8f7; }
.edas-ticketing .voice-upload-row label { color: #344054; font-size: .82rem; font-weight: 700; }
.edas-ticketing .voice-limit { margin: 10px 0 0; color: var(--muted); font-size: .76rem; }

.edas-ticketing .attachment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.edas-ticketing .photo-upload { padding: 16px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.edas-ticketing .photo-upload > label { display: block; margin-bottom: 5px; color: var(--text); font-size: .9rem; font-weight: 800; }
.edas-ticketing .photo-upload > label span { color: var(--muted); font-weight: 500; }
.edas-ticketing .photo-upload > p { margin: 0 0 10px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.edas-ticketing .photo-upload input[type="file"], .edas-ticketing .voice-upload-row input[type="file"] { width: 100%; padding: 8px; border: 1px solid #cbd5e1; border-radius: 7px; background: var(--surface); color: #475467; font: inherit; font-size: .82rem; }
.edas-ticketing input[type="file"]::file-selector-button { padding: 7px 10px; margin-right: 10px; border: 0; border-radius: 5px; background: #e8f2fe; color: #155eaa; font-weight: 700; cursor: pointer; }
.edas-ticketing .photo-preview { display: grid; gap: 10px; margin-top: 14px; }
.edas-ticketing .photo-preview img, .edas-ticketing .photo-preview video { display: block; width: 100%; max-height: 320px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.edas-ticketing .clear-photo { justify-self: start; }
.edas-ticketing .photo-upload .photo-status { margin: 10px 0 0; }
.edas-ticketing .turnstile-field { margin: 4px 0 18px; }
.edas-ticketing .turnstile-field p { margin: 7px 0 0; color: #64748b; font-size: .82rem; }

.edas-ticketing .app-shell { width: min(1680px, calc(100% - clamp(24px, 5vw, 72px))); margin: 0 auto; padding: clamp(24px, 4vw, 56px) 0; }
.edas-ticketing .page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.edas-ticketing .board-search { margin: -8px 0 24px; }
.edas-ticketing .board-search input { width: min(100%, 380px); min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; box-shadow: 0 5px 16px rgba(23, 32, 51, .05); }
.edas-ticketing .board-search input:focus { border-color: var(--progress); outline: 3px solid rgba(29, 116, 216, .16); }
.edas-ticketing .header-actions { display: flex; align-items: center; gap: 12px; }
.edas-ticketing .summary-strip { display: grid; grid-template-columns: minmax(92px, 1fr); gap: 10px; }
.edas-ticketing .summary-strip div { min-height: 68px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .82); box-shadow: var(--shadow); }
.edas-ticketing .summary-strip span { display: block; font-size: 1.45rem; font-weight: 800; }
.edas-ticketing .summary-strip small { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.edas-ticketing .logout-button { display: inline-grid; min-height: 42px; padding: 0 16px; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none; }
.edas-ticketing .board-message { margin: -8px 0 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: .9rem; font-weight: 700; }
.edas-ticketing .board-message.success { border-color: rgba(23, 134, 91, .28); background: var(--solved-soft); color: var(--solved); }
.edas-ticketing .board-message.error { border-color: rgba(180, 35, 24, .28); background: var(--danger-soft); color: var(--danger); }
.edas-ticketing .board { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 1.6vw, 28px); align-items: stretch; }
.edas-ticketing .status-column { min-width: 0; min-height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .72); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.edas-ticketing .column-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.edas-ticketing .column-header h2 { margin-bottom: 0; color: var(--text); font-size: 1rem; font-weight: 700; }
.edas-ticketing .count-badge { display: inline-grid; min-width: 34px; height: 28px; place-items: center; border-radius: 999px; color: var(--surface); font-size: .82rem; font-weight: 800; }
.edas-ticketing [data-status="pending"] .count-badge { background: var(--pending); }
.edas-ticketing [data-status="progress"] .count-badge { background: var(--progress); }
.edas-ticketing [data-status="solved"] .count-badge { background: var(--solved); }
.edas-ticketing .card-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; align-content: start; }
.edas-ticketing .problem-card { padding: 16px; border: 1px solid var(--line); border-left: 5px solid var(--progress); border-radius: 8px; background: var(--surface); transition: transform 160ms ease, box-shadow 160ms ease; }
.edas-ticketing .problem-card { position: relative; }
.edas-ticketing .message-notification-dot { position: absolute; top: 10px; right: 10px; width: 11px; height: 11px; border: 2px solid var(--surface); border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--danger-soft); }
.edas-ticketing .problem-card:hover { transform: translateY(-3px); box-shadow: 0 16px 28px rgba(23, 32, 51, .12); }
.edas-ticketing .problem-card.pending { border-left-color: var(--pending); }
.edas-ticketing .problem-card.progress { border-left-color: var(--progress); }
.edas-ticketing .problem-card.solved { border-left-color: var(--solved); }
.edas-ticketing .card-topline { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.edas-ticketing .card-topline h3 { min-width: 0; margin-bottom: 0; color: var(--text); font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.edas-ticketing .card-topline h3 small { color: var(--muted); font-size: .72rem; }
.edas-ticketing .ticket-submission-time { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: -3px 0 11px; color: var(--muted); font-size: .72rem; font-weight: 600; line-height: 1.35; }
.edas-ticketing .ticket-submission-time span { font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.edas-ticketing .ticket-submission-time time { color: inherit; }
.edas-ticketing .phone-link { flex: 0 1 auto; max-width: 100%; padding: 6px 9px; border-radius: 6px; background: var(--surface-soft); color: var(--progress); font-size: .78rem; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.edas-ticketing .email-link { display: inline-block; margin: -5px 0 10px; color: var(--progress); font-size: .78rem; font-weight: 700; overflow-wrap: anywhere; }
.edas-ticketing .problem-card > p { margin-bottom: 14px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.edas-ticketing .meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.edas-ticketing .meta-row span { padding: 6px 9px; border-radius: 6px; background: var(--surface-soft); color: var(--muted); font-size: .78rem; font-weight: 700; }
.edas-ticketing .edas-custom-ticket-fields { display: grid; gap: 8px; margin: 14px 0 0; }
.edas-ticketing .edas-custom-ticket-field { min-width: 0; padding: 9px 10px; border-radius: 7px; background: var(--surface-soft); }
.edas-ticketing .edas-custom-ticket-field dt { margin: 0 0 4px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.edas-ticketing .edas-custom-ticket-field dd { margin: 0; color: var(--text); font-size: .84rem; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.edas-ticketing .card-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.edas-ticketing .card-action-form { margin: 0; }
.edas-ticketing .card-button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; color: #fff; font-size: .82rem; font-weight: 800; cursor: pointer; transition: opacity 160ms ease, transform 160ms ease; }
.edas-ticketing .card-button.pending { background: var(--pending); }
.edas-ticketing .card-button.progress { background: var(--solved); }
.edas-ticketing .card-button.undo { background: #b80404; }
.edas-ticketing .card-button.chat-button { background: var(--progress); }
.edas-ticketing .card-button:hover:not(:disabled) { transform: translateY(-1px); }
.edas-ticketing .empty-state { margin: 0; padding: 14px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); background: rgba(255, 255, 255, .58); font-size: .9rem; font-weight: 700; }
.edas-ticketing .voice-attachment, .edas-ticketing .video-attachment { margin: 14px 0; padding: 12px 14px; border: 1px solid #bdd8f4; border-radius: 8px; background: var(--progress-soft); }
.edas-ticketing .voice-attachment strong, .edas-ticketing .video-attachment strong, .edas-ticketing .photo-attachment strong { display: block; margin-bottom: 8px; color: #155eaa; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.edas-ticketing .voice-attachment audio, .edas-ticketing .video-attachment video { display: block; width: 100%; max-height: 320px; border-radius: 6px; }
.edas-ticketing .photo-attachment { display: block; margin: 14px 0; padding: 12px 14px; border: 1px solid #c9d6e5; border-radius: 8px; background: #f8fafc; color: #155eaa; text-decoration: none; }
.edas-ticketing .photo-attachment img { display: block; width: 100%; max-height: 240px; object-fit: cover; border-radius: 6px; background: #e9eef5; }
.edas-ticketing .photo-attachment span { display: block; margin-top: 8px; font-size: .78rem; font-weight: 700; }
.edas-ticketing .solution-note { margin: 14px 0; padding: 12px 14px; border-left: 4px solid var(--solved); border-radius: 6px; background: var(--solved-soft); color: #145c43; }
.edas-ticketing .solution-note strong { display: block; margin-bottom: 5px; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.edas-ticketing .solution-note p { margin: 0; color: #145c43; line-height: 1.5; }

.edas-ticketing .access-key-link-form { margin: 12px 0 0; }
.edas-ticketing .access-key-link-form button { padding: 0; border: 0; background: transparent; color: var(--progress); font: inherit; font-size: .76rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
.edas-ticketing .access-key-notice { display: grid; gap: 7px; padding: 14px 16px; margin: -8px 0 18px; border: 1px solid rgba(196, 127, 18, .32); border-radius: 8px; background: var(--pending-soft); }
.edas-ticketing .access-key-notice code { width: fit-content; padding: 7px 9px; border-radius: 5px; background: var(--surface); color: var(--text); font-family: Consolas, monospace; font-weight: 700; }
.edas-ticketing .access-key-notice p { margin: 0; color: var(--muted); font-size: .82rem; }

.edas-ticketing .messages-shell { width: min(calc(100% - 32px), 760px); margin: 50px auto; padding: clamp(24px, 5vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.edas-ticketing .ticket-lookup { margin-top: 24px; }
.edas-ticketing .messages-back-link { margin: 18px 0 0; text-align: center; }
.edas-ticketing .messages-back-link a { color: var(--progress); font-weight: 700; }
.edas-ticketing .ticket-message-summary { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 12px; padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.edas-ticketing .ticket-message-summary span { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.edas-ticketing .ticket-message-summary strong { color: var(--text); }
.edas-ticketing .ticket-message-summary form { margin: 0; }
.edas-ticketing .ticket-message-summary button { cursor: pointer; }
.edas-ticketing .ticket-chat { margin-top: 18px; }
.edas-ticketing .chat-messages { display: flex; min-height: 260px; max-height: 480px; flex-direction: column; gap: 10px; padding: 14px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.edas-ticketing .chat-empty { margin: auto; color: var(--muted); text-align: center; }
.edas-ticketing .chat-message { width: min(82%, 520px); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.edas-ticketing .chat-message.admin { align-self: flex-end; border-color: rgba(29, 116, 216, .28); background: var(--progress-soft); }
.edas-ticketing .chat-message.customer { align-self: flex-start; }
.edas-ticketing .chat-message-meta { margin-bottom: 5px; color: var(--muted); font-size: .68rem; font-weight: 700; }
.edas-ticketing .chat-message p { margin: 0; color: var(--text); line-height: 1.45; white-space: pre-wrap; }
.edas-ticketing .message-toolbar { display: flex; justify-content: flex-end; margin: 8px 0; }
.edas-ticketing .message-toolbar button { padding: 0; border: 0; background: transparent; color: var(--progress); font: inherit; font-size: .76rem; font-weight: 700; cursor: pointer; }
.edas-ticketing .chat-status, .edas-ticketing .chat-closed-notice { min-height: 20px; margin: 6px 0; color: var(--muted); font-size: .82rem; }
.edas-ticketing .chat-closed-notice { padding: 10px 12px; border-radius: 7px; background: var(--surface-soft); }
.edas-ticketing .chat-compose { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 10px; }
.edas-ticketing .chat-compose textarea { min-height: 78px; padding: 11px 12px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: inherit; }
.edas-ticketing .chat-compose button { align-self: stretch; min-width: 88px; border: 0; border-radius: 8px; background: var(--progress); color: var(--surface); font-weight: 800; cursor: pointer; }
.edas-ticketing .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.admin-chat-dialog { width: min(calc(100% - 24px), 760px); max-height: 90vh; padding: 0; overflow: visible; border: 0; border-radius: 10px; background: transparent; color: var(--text, #172033); }
.admin-chat-dialog::backdrop { background: rgba(23, 32, 51, .58); }
.admin-chat-panel { max-height: 90vh; padding: 22px; overflow-y: auto; border: 1px solid #d8e0ea; border-radius: 10px; background: #ffffff; box-shadow: 0 24px 80px rgba(23, 32, 51, .25); font-family: Arial, Helvetica, sans-serif; }
.admin-chat-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-chat-panel h2 { margin: 0; color: #172033; }
.admin-chat-panel .eyebrow { margin: 0 0 6px; color: #1d74d8; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-chat-panel .chat-dialog-close { width: 38px; height: 38px; border: 1px solid #d8e0ea; border-radius: 50%; background: #ffffff; color: #172033; font-size: 1.4rem; cursor: pointer; }
.admin-chat-panel .admin-chat-problem { margin: 12px 0 0; color: #667085; line-height: 1.5; }
.admin-chat-panel .ticket-chat { margin-top: 16px; }
.admin-chat-panel .chat-messages { display: flex; min-height: 260px; max-height: 420px; flex-direction: column; gap: 10px; padding: 14px; overflow-y: auto; border: 1px solid #d8e0ea; border-radius: 8px; background: #f4f7fb; }
.admin-chat-panel .chat-message { width: min(82%, 520px); padding: 10px 12px; border: 1px solid #d8e0ea; border-radius: 10px; background: #ffffff; }
.admin-chat-panel .chat-message.admin { align-self: flex-end; border-color: rgba(29, 116, 216, .28); background: #e7f1ff; }
.admin-chat-panel .chat-message.customer { align-self: flex-start; }
.admin-chat-panel .chat-message-meta { margin-bottom: 5px; color: #667085; font-size: .68rem; font-weight: 700; }
.admin-chat-panel .chat-message p { margin: 0; color: #172033; line-height: 1.45; white-space: pre-wrap; }
.admin-chat-panel .chat-empty { margin: auto; color: #667085; text-align: center; }
.admin-chat-panel .message-toolbar { display: flex; justify-content: flex-end; margin: 8px 0; }
.admin-chat-panel .message-toolbar button { padding: 0; border: 0; background: transparent; color: #1d74d8; font: inherit; font-size: .76rem; font-weight: 700; cursor: pointer; }
.admin-chat-panel .chat-status, .admin-chat-panel .chat-closed-notice { min-height: 20px; margin: 6px 0; color: #667085; font-size: .82rem; }
.admin-chat-panel .chat-compose { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 10px; }
.admin-chat-panel .chat-compose textarea { min-height: 78px; padding: 11px 12px; resize: vertical; border: 1px solid #d8e0ea; border-radius: 8px; color: #172033; font: inherit; }
.admin-chat-panel .chat-compose button { min-width: 88px; border: 0; border-radius: 8px; background: #1d74d8; color: #ffffff; font-weight: 800; cursor: pointer; }

.edas-elementor-placeholder { padding: 14px; border: 1px dashed #9aa8ba; border-radius: 8px; background: #f4f7fb; color: #667085; font: 600 13px/1.5 Arial, Helvetica, sans-serif; }
.edas-visual-actions { position: relative; }
.edas-visual-actions .card-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.edas-visual-actions .card-action-form { margin: 0; }
.edas-visual-actions .card-button { min-height: 38px; padding: 9px 13px; border: 0; border-radius: 8px; background: #1d74d8; color: #fff; font: 800 13px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.edas-visual-actions .card-button.undo { background: #eef3f8; color: #44546a; }
.edas-visual-actions .access-key-link-form { margin: 12px 0 0; }
.edas-visual-actions .access-key-link-form button { padding: 0; border: 0; background: transparent; color: #1d74d8; font: 700 12px/1.4 Arial, Helvetica, sans-serif; text-decoration: underline; cursor: pointer; }
.edas-board-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-family: Arial, Helvetica, sans-serif; }
.edas-board-tools__total { display: grid; min-width: 82px; padding: 10px 14px; border: 1px solid #d8e0ea; border-radius: 8px; background: #fff; text-align: center; }
.edas-board-tools__total strong { color: #1d74d8; font-size: 22px; line-height: 1.05; }
.edas-board-tools__total span { margin-top: 3px; color: #667085; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.edas-board-tools > .logout-button { display: inline-flex; min-height: 42px; align-items: center; padding: 0 16px; border: 1px solid #d8e0ea; border-radius: 8px; background: #fff; color: #172033; font-weight: 700; text-decoration: none; }
.elementor-widget-edas-secure-ticket-form .edas-ticketing-form-page,
.elementor-widget-edas-ticket-messages .edas-ticketing-messages-page { min-height: 0; background: transparent; }
.elementor-widget-edas-secure-ticket-form .edas-ticketing .form-page,
.elementor-widget-edas-ticket-messages .edas-ticketing .messages-shell { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }

@keyframes edas-recording-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.72); } }
@media (prefers-reduced-motion: reduce) { .edas-ticketing *, .edas-ticketing *::before, .edas-ticketing *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 920px) { .edas-ticketing .page-header { align-items: stretch; flex-direction: column; } .edas-ticketing .summary-strip { max-width: 320px; } }
@media (max-width: 620px) { .edas-ticketing .attachment-options { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .edas-ticketing .form-page, .edas-ticketing .login-shell { margin: 20px auto; }
  .edas-ticketing .app-shell { width: min(100% - 20px, 1680px); padding: 24px 0; }
  .edas-ticketing .method-options, .edas-ticketing .card-list { grid-template-columns: 1fr; }
  .edas-ticketing .summary-strip { grid-template-columns: 1fr; max-width: none; }
  .edas-ticketing .header-actions { align-items: stretch; flex-direction: column; }
  .edas-ticketing .voice-toolbar, .edas-ticketing .voice-preview { align-items: stretch; flex-direction: column; }
  .edas-ticketing .voice-record-button, .edas-ticketing .voice-preview audio, .edas-ticketing .clear-recording { width: 100%; }
  .edas-ticketing .voice-record-button { justify-content: center; }
  .edas-ticketing .summary-strip div, .edas-ticketing .status-column, .edas-ticketing .problem-card { padding: 14px; }
  .edas-ticketing .ticket-credentials, .edas-ticketing .ticket-message-summary, .edas-ticketing .chat-compose { grid-template-columns: 1fr; }
  .edas-ticketing .chat-message { width: 94%; }
}
