/* SmartDesk 1.4.28 · mesma linguagem visual do Smart IA, Visão geral e Supervisão. */
.sd-root{--sd-ink:#1d1238;--sd-text:#4a3f66;--sd-muted:#8a80a3;--sd-line:#ece7f4;--sd-soft:#f8f6fc;--sd-violet:#6a3df0;--sd-violet-soft:#f1ecfe;
  --sd-amber:#b7791f;--sd-red:#c2334d;--sd-green:#1f8a5b;
  display:flex;flex-direction:column;gap:14px;color:var(--sd-text);font-family:'Nunito Sans',Arial,sans-serif;min-height:calc(100vh - 120px)}
.sd-root *{box-sizing:border-box}
/* 1.4.228: cabeçalho e abas vêm do padrão Smart (smart-ui.css: sm-head, sm-tabs); aqui só o que é do Smart Desk */
:where(.sd-root,.cp-modal) .sd-top{margin:0}
:where(.sd-root,.cp-modal) .sd-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sd-root form.sd-search{display:block;margin:0;padding:0;border:0;background:none;box-shadow:none}
:where(.sd-root,.cp-modal) .sd-top .sd-search input{width:min(360px,70vw);border:1px solid var(--sd-line);border-radius:12px;padding:10px 12px;font:inherit;font-size:13px;background:#fff;color:var(--sd-ink)}
:where(.sd-root,.cp-modal) .sd-top .sd-search input:focus{outline:2px solid var(--sd-violet);outline-offset:1px}
:where(.sd-root,.cp-modal) .sd-top .sd-new{font-size:13px!important;font-weight:800;padding:10px 16px;border-radius:12px}
.sd-root.focus>.sd-top,.sd-root.focus>.sd-nav{display:none!important}
:where(.sd-root,.cp-modal) .sd-nav .sd-view{display:inline-flex;align-items:center;gap:8px}
:where(.sd-root,.cp-modal) .sd-nav .sd-view b{min-width:20px;padding:1px 7px;border-radius:999px;background:var(--sd-soft);border:1px solid var(--sd-line);font-size:11px;font-weight:800;color:var(--sd-muted);text-align:center}
:where(.sd-root,.cp-modal) .sd-nav .sd-view.active b{background:#fff;border-color:transparent;color:var(--sd-violet)}
:where(.sd-root,.cp-modal) .sd-nav-more{align-self:flex-start;max-width:100%}
:where(.sd-root,.cp-modal) .sd-main{min-width:0;display:flex;flex-direction:column;gap:12px}
:where(.sd-root,.cp-modal) .sd-loading,:where(.sd-root,.cp-modal) .sd-empty{padding:40px;text-align:center;color:var(--sd-muted);background:#fff;border:1px dashed var(--sd-line);border-radius:18px}
/* título de seção dentro da tela (a página já tem o cabeçalho Smart): título de cartão, sem repetir eyebrow */
:where(.sd-root,.cp-modal) .sd-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
:where(.sd-root,.cp-modal) .sd-head h3{margin:0;color:var(--sd-ink);font-size:17px;font-weight:900;letter-spacing:-.2px}
:where(.sd-root,.cp-modal) .sd-head p{margin:3px 0 0;color:#6f6798;font-size:13px;line-height:1.5}
:where(.sd-root,.cp-modal) .sd-head-actions{display:flex;gap:8px;flex-wrap:wrap}
:where(.sd-root,.cp-modal) .sd-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:#8a5cf6}
:where(.sd-root,.cp-modal) .sd-table-wrap{background:#fff;border:1px solid var(--sd-line);border-radius:16px;overflow:auto;box-shadow:0 6px 20px rgba(29,18,56,.04)}
:where(.sd-root,.cp-modal) .sd-table{width:100%;border-collapse:collapse;font-size:13px}
:where(.sd-root,.cp-modal) .sd-table th{position:sticky;top:0;background:var(--sd-soft);text-align:left;padding:12px 14px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--sd-muted);font-weight:800;border-bottom:1px solid var(--sd-line);white-space:nowrap}
:where(.sd-root,.cp-modal) .sd-table th button{border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:0}
:where(.sd-root,.cp-modal) .sd-table th button.sorted.asc:after{content:' ↑'}:where(.sd-root,.cp-modal) .sd-table th button.sorted.desc:after{content:' ↓'}
:where(.sd-root,.cp-modal) .sd-table td{padding:12px 14px;border-bottom:1px solid #f3f0f8;vertical-align:middle}
:where(.sd-root,.cp-modal) .sd-table tbody tr[data-row]{cursor:pointer}
:where(.sd-root,.cp-modal) .sd-table tbody tr[data-row]:hover{background:#faf8ff}
:where(.sd-root,.cp-modal) .sd-table tbody tr.selected{background:var(--sd-violet-soft)}
:where(.sd-root,.cp-modal) .sd-table tr.off{opacity:.55}
:where(.sd-root,.cp-modal) .sd-check{width:34px}
:where(.sd-root,.cp-modal) .sd-number{color:var(--sd-muted);font-weight:700;white-space:nowrap}
:where(.sd-root,.cp-modal) .sd-subject{color:var(--sd-ink);font-weight:700}
:where(.sd-root,.cp-modal) .sd-status{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap;color:#4a3f66;background:#f1f0f5}
:where(.sd-root,.cp-modal) .sd-status:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.85}
:where(.sd-root,.cp-modal) .sd-status.new{background:#fff3d6;color:#8a5a00}:where(.sd-root,.cp-modal) .sd-status.open{background:#fde8ec;color:#b02a42}:where(.sd-root,.cp-modal) .sd-status.pending{background:#e6f0ff;color:#1f5fa8}
:where(.sd-root,.cp-modal) .sd-status.hold{background:#ece9f5;color:#4a3f66}:where(.sd-root,.cp-modal) .sd-status.solved{background:#e7f7ef;color:#1f8a5b}:where(.sd-root,.cp-modal) .sd-status.closed{background:#f1f0f5;color:#7b728f}
:where(.sd-root,.cp-modal) .sd-priority{font-size:11px;font-weight:700}
:where(.sd-root,.cp-modal) .sd-priority.urgent{color:var(--sd-red)}:where(.sd-root,.cp-modal) .sd-priority.high{color:var(--sd-amber)}:where(.sd-root,.cp-modal) .sd-priority.low{color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-sla{display:inline-block;padding:3px 8px;border-radius:999px;font-size:10.5px;font-weight:800;white-space:nowrap}
:where(.sd-root,.cp-modal) .sd-sla.green{background:#e7f7ef;color:var(--sd-green)}:where(.sd-root,.cp-modal) .sd-sla.amber{background:#fdf3e1;color:var(--sd-amber)}
:where(.sd-root,.cp-modal) .sd-sla.red{background:#fde8ec;color:var(--sd-red)}:where(.sd-root,.cp-modal) .sd-sla.paused{background:#f1f0f5;color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-tag{display:inline-block;padding:2px 7px;border-radius:6px;background:var(--sd-soft);border:1px solid var(--sd-line);font-size:10.5px;color:var(--sd-text)}
:where(.sd-root,.cp-modal) .sd-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;background:var(--sd-violet-soft);border-radius:14px;font-size:12px;font-weight:700;color:var(--sd-violet)}
:where(.sd-root,.cp-modal) .sd-pager{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-help{background:#fff;border:1px solid var(--sd-line);border-radius:14px;padding:10px 14px;font-size:12px}
:where(.sd-root,.cp-modal) .sd-help summary{cursor:pointer;font-weight:800;color:var(--sd-ink)}
:where(.sd-root,.cp-modal) .sd-help code,:where(.sd-root,.cp-modal) .sd-code{background:var(--sd-soft);border-radius:6px;padding:1px 5px;font-size:11.5px}
:where(.sd-root,.cp-modal) .sd-code{display:block;padding:12px;white-space:pre-wrap;overflow:auto}
:where(.sd-root,.cp-modal) .sd-link{border:0;background:none;color:var(--sd-violet);font:inherit;font-size:12px;font-weight:700;cursor:pointer;padding:2px 0}
:where(.sd-root,.cp-modal) .sd-inline{display:inline-flex!important;align-items:center;gap:6px;font-weight:600!important}
:where(.sd-root,.cp-modal) .sd-grow{flex:1}
:where(.sd-root,.cp-modal) .sd-chip{display:inline-flex;align-items:center;gap:4px;margin:2px 4px 2px 0;padding:3px 8px;border-radius:999px;background:var(--sd-soft);border:1px solid var(--sd-line);font-size:11.5px}
:where(.sd-root,.cp-modal) .sd-chip button{border:0;background:none;cursor:pointer;color:var(--sd-muted);font-size:14px;line-height:1}
:where(.sd-root,.cp-modal) /* ticket page */
.sd-ticket{display:flex;flex-direction:column;gap:10px}
:where(.sd-root,.cp-modal) .sd-ticket-head{margin:0}
:where(.sd-root,.cp-modal) .sd-ticket-title .sd-back{display:block;margin:0 0 6px;font-size:12.5px}
:where(.sd-root,.cp-modal) .sd-ticket-badges{margin-top:10px}
:where(.sd-root,.cp-modal) .sd-ticket-badges{display:flex;gap:6px;align-items:center}
:where(.sd-root,.cp-modal) .sd-ticket-menu{display:flex;gap:6px;align-items:center}
:where(.sd-root,.cp-modal) .sd-menu{position:relative}
:where(.sd-root,.cp-modal) .sd-menu summary{list-style:none;cursor:pointer}
:where(.sd-root,.cp-modal) .sd-menu summary::-webkit-details-marker{display:none}
:where(.sd-root,.cp-modal) .sd-menu>div{position:absolute;right:0;top:calc(100% + 6px);z-index:20;display:flex;flex-direction:column;min-width:240px;background:#fff;border:1px solid var(--sd-line);border-radius:12px;box-shadow:0 12px 30px rgba(29,18,56,.12);padding:6px}
:where(.sd-root,.cp-modal) .sd-menu>div button{border:0;background:none;text-align:left;padding:9px 10px;border-radius:8px;font:inherit;font-size:12.5px;cursor:pointer;color:var(--sd-text)}
:where(.sd-root,.cp-modal) .sd-menu>div button:hover{background:var(--sd-soft)}
:where(.sd-root,.cp-modal) .sd-presence{padding:8px 14px;border-radius:12px;background:#eef6ff;color:#1f5fa8;font-size:12px;font-weight:700}
:where(.sd-root,.cp-modal) .sd-stale{padding:8px 14px;border-radius:12px;background:#fff6e5;color:#8a5a00;font-size:12px;font-weight:700}
:where(.sd-root,.cp-modal) .sd-ticket-grid{display:grid;grid-template-columns:260px minmax(0,1fr) 280px;gap:12px;align-items:start}
:where(.sd-root,.cp-modal) .sd-props,:where(.sd-root,.cp-modal) .sd-context>section,:where(.sd-root,.cp-modal) .sd-conversation{background:#fff;border:1px solid var(--sd-line);border-radius:18px}
:where(.sd-root,.cp-modal) .sd-props{padding:14px;position:sticky;top:12px;max-height:calc(100vh - 120px);overflow:auto}
:where(.sd-root,.cp-modal) .sd-props fieldset{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:10px}
:where(.sd-root,.cp-modal) .sd-props label,:where(.sd-root,.cp-modal) .sd-new-form label{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:800;color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-props input,:where(.sd-root,.cp-modal) .sd-props select,:where(.sd-root,.cp-modal) .sd-props textarea,:where(.sd-root,.cp-modal) .sd-new-form input:not([type=checkbox]),:where(.sd-root,.cp-modal) .sd-new-form select,:where(.sd-root,.cp-modal) .sd-new-form textarea,:where(.sd-root,.cp-modal) .sd-rule-row input,:where(.sd-root,.cp-modal) .sd-rule-row select,:where(.sd-root,.cp-modal) .sd-rule-row textarea{border:1px solid #e3ddef;border-radius:9px;padding:8px 9px;font:inherit;font-size:12.5px;color:var(--sd-ink);background:#fff;min-width:0;width:100%}
:where(.sd-root,.cp-modal) .sd-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
:where(.sd-root,.cp-modal) .sd-people>div{display:flex;flex-wrap:wrap;align-items:center;gap:2px;font-size:12px;margin-bottom:6px}
:where(.sd-root,.cp-modal) .sd-people small{width:100%;font-size:11px;font-weight:800;color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-requester-pick{position:relative}
:where(.sd-root,.cp-modal) .sd-requester-pick input{width:100%}
:where(.sd-root,.cp-modal) .sd-suggest{position:absolute;z-index:15;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid var(--sd-line);border-radius:10px;box-shadow:0 12px 30px rgba(29,18,56,.12);max-height:240px;overflow:auto}
:where(.sd-root,.cp-modal) .sd-suggest button{display:block;width:100%;text-align:left;border:0;background:none;padding:8px 10px;font:inherit;font-size:12px;cursor:pointer}
:where(.sd-root,.cp-modal) .sd-suggest button:hover{background:var(--sd-soft)}
:where(.sd-root,.cp-modal) .sd-suggest small{color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-conversation{display:flex;flex-direction:column;min-width:0}
:where(.sd-root,.cp-modal) .sd-thread{display:flex;flex-direction:column;gap:2px;padding:10px}
:where(.sd-root,.cp-modal) .sd-comment{padding:12px 14px;border-radius:14px}
:where(.sd-root,.cp-modal) .sd-comment+.sd-comment{border-top:1px solid #f3f0f8}
:where(.sd-root,.cp-modal) .sd-comment header{display:flex;gap:10px;align-items:center}
:where(.sd-root,.cp-modal) .sd-comment header div{flex:1}
:where(.sd-root,.cp-modal) .sd-comment header b{display:block;color:var(--sd-ink);font-size:13px}
:where(.sd-root,.cp-modal) .sd-comment header small{color:var(--sd-muted);font-size:11px}
:where(.sd-root,.cp-modal) .sd-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--sd-violet-soft);color:var(--sd-violet);font-weight:900;font-size:12px;flex:0 0 30px}
:where(.sd-root,.cp-modal) .sd-comment.customer .sd-avatar{background:#e8f3ff;color:#1f5fa8}
:where(.sd-root,.cp-modal) .sd-comment.internal{background:#fff8e6;border-top:0}
:where(.sd-root,.cp-modal) .sd-comment.internal .sd-avatar{background:#ffe9b3;color:#8a5a00}
:where(.sd-root,.cp-modal) .sd-comment-body{margin:8px 0 0 40px;font-size:13.5px;line-height:1.55;color:var(--sd-text);overflow-wrap:anywhere}
:where(.sd-root,.cp-modal) .sd-comment-actions{display:flex;gap:8px;align-self:flex-start}
:where(.sd-root,.cp-modal) .sd-comment-actions .sd-link{font-size:11px;font-weight:600;color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-comment-actions .sd-link:hover{color:var(--sd-violet)}
:where(.sd-root,.cp-modal) .sd-files{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0 40px}
:where(.sd-root,.cp-modal) .sd-composer .sd-files{margin:6px 0}
:where(.sd-root,.cp-modal) .sd-file{border:1px solid var(--sd-line);background:var(--sd-soft);border-radius:10px;padding:5px 9px;font:inherit;font-size:11.5px;cursor:pointer}
:where(.sd-root,.cp-modal) .sd-closed{margin:10px;padding:10px 12px;border-radius:12px;background:var(--sd-soft);color:var(--sd-muted);font-size:12px}
:where(.sd-root,.cp-modal) .sd-composer{border-top:1px solid var(--sd-line);padding:12px;display:flex;flex-direction:column;gap:8px;background:#fff;border-radius:0 0 18px 18px;position:sticky;bottom:0}
:where(.sd-root,.cp-modal) .sd-composer.internal{background:#fffbf0}
:where(.sd-root,.cp-modal) .sd-composer textarea{width:100%;border:1px solid #e3ddef;border-radius:12px;padding:10px;font:inherit;font-size:13px;resize:vertical;min-height:110px}
:where(.sd-root,.cp-modal) .sd-composer.internal textarea{border-color:#f2d58a;background:#fffdf6}
:where(.sd-root,.cp-modal) .sd-composer footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
:where(.sd-root,.cp-modal) .sd-composer-tabs{display:flex;gap:4px;align-items:center}
:where(.sd-root,.cp-modal) .sd-composer-tabs button{border:0;background:none;padding:6px 10px;border-radius:8px;font:inherit;font-size:12px;font-weight:800;color:var(--sd-muted);cursor:pointer}
:where(.sd-root,.cp-modal) .sd-composer-tabs button.active{background:var(--sd-violet-soft);color:var(--sd-violet)}
:where(.sd-root,.cp-modal) .sd-composer.internal .sd-composer-tabs button.active{background:#ffe9b3;color:#8a5a00}
:where(.sd-root,.cp-modal) .sd-wa{margin-left:auto;font-size:11.5px}
:where(.sd-root,.cp-modal) .sd-attach{cursor:pointer}
:where(.sd-root,.cp-modal) .sd-split{display:inline-flex;position:relative}
:where(.sd-root,.cp-modal) .sd-split>.cp-button{border-radius:9px 0 0 9px}
:where(.sd-root,.cp-modal) .sd-split-menu summary{list-style:none;border-radius:0 9px 9px 0;border-left:1px solid rgba(255,255,255,.35)}
:where(.sd-root,.cp-modal) .sd-split-menu summary::-webkit-details-marker{display:none}
:where(.sd-root,.cp-modal) .sd-split-menu>div{position:absolute;right:0;bottom:calc(100% + 6px);z-index:20;display:flex;flex-direction:column;min-width:220px;background:#fff;border:1px solid var(--sd-line);border-radius:12px;box-shadow:0 12px 30px rgba(29,18,56,.12);padding:6px}
:where(.sd-root,.cp-modal) .sd-split-menu>div button{display:flex;align-items:center;gap:8px;border:0;background:none;text-align:left;padding:8px 10px;border-radius:8px;font:inherit;font-size:12.5px;cursor:pointer}
:where(.sd-root,.cp-modal) .sd-split-menu>div button:hover{background:var(--sd-soft)}
:where(.sd-root,.cp-modal) .sd-context{display:flex;flex-direction:column;gap:10px}
:where(.sd-root,.cp-modal) .sd-card{background:#fff;border:1px solid var(--sd-line);border-radius:18px;padding:14px 16px;min-width:0}
:where(.sd-root,.cp-modal) .sd-context h4,:where(.sd-root,.cp-modal) .sd-card h4{margin:0 0 6px;font-size:12px;font-weight:900;color:var(--sd-ink);text-transform:uppercase;letter-spacing:.04em}
:where(.sd-root,.cp-modal) .sd-context summary h4{display:inline}
:where(.sd-root,.cp-modal) .sd-context p{margin:4px 0;font-size:12px}
:where(.sd-root,.cp-modal) .sd-context h5{margin:10px 0 4px;font-size:11px;color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px;font-size:12px}
:where(.sd-root,.cp-modal) .sd-links a{color:var(--sd-violet);font-weight:800;text-decoration:none}
:where(.sd-root,.cp-modal) .sd-sla-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;font-size:12px}
:where(.sd-root,.cp-modal) .sd-sla-list li{display:grid;grid-template-columns:1fr auto;gap:2px}
:where(.sd-root,.cp-modal) .sd-sla-list small{grid-column:1/-1;color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-sla-state.breached{color:var(--sd-red)}:where(.sd-root,.cp-modal) .sd-sla-state.fulfilled{color:var(--sd-green)}:where(.sd-root,.cp-modal) .sd-sla-state.paused{color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-history{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:8px;font-size:11.5px;max-height:420px;overflow:auto}
:where(.sd-root,.cp-modal) .sd-history span{display:block;color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-context .ticket-contact{border:0;padding:0;margin:0}
:where(.sd-root,.cp-modal) /* new ticket */
.sd-new-form{background:#fff;border:1px solid var(--sd-line);border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:12px}
:where(.sd-root,.cp-modal) .sd-fieldset{border:1px solid var(--sd-line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:10px}
:where(.sd-root,.cp-modal) .sd-fieldset legend{font-size:11px;font-weight:900;color:var(--sd-ink);padding:0 4px}
:where(.sd-root,.cp-modal) /* review lists */
.sd-suspended{background:#fff;border:1px solid var(--sd-line);border-radius:16px;padding:12px 16px}
:where(.sd-root,.cp-modal) .sd-suspended header{display:flex;justify-content:space-between;gap:8px}
:where(.sd-root,.cp-modal) .sd-suspended header span{font-size:11px;color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-suspended footer{display:flex;gap:8px}
:where(.sd-root,.cp-modal) .sd-settings{display:flex;flex-direction:column;gap:12px}
:where(.sd-root,.cp-modal) .sd-card h3{margin:0 0 6px;font-size:15px;font-weight:900;color:var(--sd-ink)}
:where(.sd-root,.cp-modal) .sd-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}
:where(.sd-root,.cp-modal) .sd-card-head>div:last-child{display:flex;gap:8px}
:where(.sd-root,.cp-modal) .sd-general{display:flex;flex-direction:column;gap:10px;max-width:920px}
:where(.sd-root,.cp-modal) .sd-general h3{margin-top:12px}
:where(.sd-root,.cp-modal) .sd-general label:not(.cp-toggle-row){display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:800;color:var(--sd-muted)}
:where(.sd-root,.cp-modal) .sd-general input:not([type=checkbox]),:where(.sd-root,.cp-modal) .sd-general select,:where(.sd-root,.cp-modal) .sd-general textarea{border:1px solid #e3ddef;border-radius:9px;padding:8px 9px;font:inherit;font-size:12.5px}
:where(.sd-root,.cp-modal) .sd-group-title{margin:14px 0 6px;font-size:12px;color:var(--sd-ink)}
:where(.sd-root,.cp-modal) .sd-rule-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
:where(.sd-root,.cp-modal) .sd-rule-list li{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--sd-line);border-radius:12px;background:#fff}
:where(.sd-root,.cp-modal) .sd-rule-list li.off{opacity:.6}
:where(.sd-root,.cp-modal) .sd-rule-list li>div{flex:1;min-width:0}
:where(.sd-root,.cp-modal) .sd-rule-list li b{color:var(--sd-ink);font-size:13px}
:where(.sd-root,.cp-modal) .sd-rule-list li small{display:block;color:var(--sd-muted);font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.sd-root,.cp-modal) .sd-drag{color:var(--sd-muted);font-weight:900;width:20px;text-align:center}
:where(.sd-root,.cp-modal) .sd-conditions{border:1px solid var(--sd-line);border-radius:14px;padding:10px 12px;margin:8px 0;display:flex;flex-direction:column;gap:6px}
:where(.sd-root,.cp-modal) .sd-conditions legend{font-size:11px;font-weight:900;color:var(--sd-ink);padding:0 4px}
:where(.sd-root,.cp-modal) .sd-rule-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(120px,.8fr) minmax(180px,1.4fr) 30px;gap:6px;align-items:start}
:where(.sd-root,.cp-modal) .sd-rule-row[data-action]{grid-template-columns:minmax(180px,1fr) minmax(220px,2fr) 30px}
:where(.sd-root,.cp-modal) .sd-rule-row[data-holiday]{grid-template-columns:1fr 150px 150px 30px}
:where(.sd-root,.cp-modal) .sd-rule-value{display:flex;flex-direction:column;gap:4px}
:where(.sd-root,.cp-modal) .sd-novalue{color:var(--sd-muted);font-size:12px;padding:8px 0}
:where(.sd-root,.cp-modal) .sd-columns{display:flex;flex-wrap:wrap;gap:6px 14px}
:where(.sd-root,.cp-modal) .sd-sla-grid input{width:84px;border:1px solid #e3ddef;border-radius:8px;padding:6px}
:where(.sd-root,.cp-modal) .sd-token{width:100%;font-family:monospace;padding:10px;border:1px solid var(--sd-line);border-radius:10px}
:where(.sd-root,.cp-modal) .sd-merge-list{display:flex;flex-direction:column;gap:4px;max-height:220px;overflow:auto}
@media(max-width:1280px){:where(.sd-root,.cp-modal) .sd-ticket-grid{grid-template-columns:240px minmax(0,1fr)}:where(.sd-root,.cp-modal) .sd-context{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}}
@media(max-width:900px){:where(.sd-root,.cp-modal) .sd-ticket-grid{grid-template-columns:1fr}:where(.sd-root,.cp-modal) .sd-props{position:static;max-height:none}:where(.sd-root,.cp-modal) .sd-rule-row,:where(.sd-root,.cp-modal) .sd-rule-row[data-action]{grid-template-columns:1fr}}
:where(.sd-root,.cp-modal) /* 1.4.29: campos obrigatórios na abertura e partes da configuração do canal dentro das abas */
.sd-req{color:#c4253a;font-weight:700}
:where(.sd-root,.cp-modal) .sd-card .ticket-part+.ticket-part{margin-top:22px;padding-top:18px;border-top:1px solid var(--sd-line)}
:where(.sd-root,.cp-modal) .sd-card .ticket-part h3{margin:0 0 6px}
:where(.sd-root,.cp-modal) .sd-card .ticket-part h3:not(:first-child){margin-top:18px}
:where(.sd-root,.cp-modal) .sd-card .ticket-part .cp-toggle-row small{display:block;font-weight:400;color:var(--sd-muted,#6f6888);margin-top:2px}
:where(.sd-root,.cp-modal) .sd-card .ticket-part .cp-card-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
:where(.sd-root,.cp-modal) .sd-settings [data-part=activation],:where(.sd-root,.cp-modal) .sd-settings [data-part=outbound]{max-width:760px}
:where(.sd-root,.cp-modal) .sd-card .ticket-part .ticket-check{display:inline-flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:6px;text-align:left;font-size:12.5px;font-weight:600;color:var(--sd-text)}
:where(.sd-root,.cp-modal) .sd-card .ticket-part .ticket-required{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px 16px;margin:8px 0 4px}
:where(.sd-root,.cp-modal) .sd-card .ticket-part .ticket-settings-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}
/* 1.4.106: aviso do cliente escolhido no novo ticket (o que falta do cadastro) e a caixa "Mensagem pública" em linha */
:where(.sd-root,.cp-modal) .sd-requester-note{margin:0;padding:8px 10px;border-radius:10px;background:var(--sd-soft,#f8f6fc);color:var(--sd-text,#4a3f66);font-size:12px}
:where(.sd-root,.cp-modal) .sd-requester-note.warn{background:#fff7e6;color:#8a5a12}
:where(.sd-root,.cp-modal) .sd-new-form label.sd-inline{flex-direction:row;align-self:flex-start}

/* 1.4.208: Analistas por setor */
:where(.sd-root,.cp-modal) .sd-note{margin:10px 0;padding:10px 12px;border-radius:10px;background:var(--sd-soft);border:1px solid var(--sd-line);font-size:12.5px;line-height:1.5}
:where(.sd-root,.cp-modal) .sd-note.warn{border-color:#e0b65a;background:#fff7e0;color:#5c4300}
:where(.sd-root,.cp-modal) .sd-note .cp-button{margin-left:8px}
:where(.sd-root,.cp-modal) input.sd-search{display:block;width:100%;max-width:360px;margin:8px 0 12px;border:1px solid var(--sd-line);border-radius:10px;padding:9px 10px;font:inherit;font-size:12.5px;background:var(--sd-soft)}
:where(.sd-root,.cp-modal) .sd-chips{max-width:640px}
:where(.sd-root,.cp-modal) .sd-chip-check{display:inline-flex;align-items:center;gap:6px;margin:2px 6px 2px 0;padding:4px 10px;border-radius:999px;background:var(--sd-soft);border:1px solid var(--sd-line);font-size:12px;cursor:pointer}
:where(.sd-root,.cp-modal) .sd-chip-check.muted{opacity:.65}
:where(.sd-root,.cp-modal) .sd-chip-check input{margin:0}

@media(max-width:700px){:where(.sd-root,.cp-modal) .sd-top-actions,:where(.sd-root,.cp-modal) .sd-top .sd-search,:where(.sd-root,.cp-modal) .sd-top .sd-search input{width:100%}:where(.sd-root,.cp-modal) .sd-nav{flex-wrap:nowrap;overflow-x:auto}}
