.sidebar-bottom .profile-avatar{display:grid;place-items:center;position:relative;width:38px;height:38px;flex:0 0 38px;overflow:hidden;border:1px solid #6c5b27;border-radius:50%;background:#292925}
.sidebar-bottom .profile-photo,.sidebar-bottom .profile-fallback{display:block;width:100%;height:100%;border:0;border-radius:50%;object-fit:cover;background:#000}
.sidebar-bottom .profile-photo{object-position:22% 32%;background:#292925}
.sidebar-bottom .profile-fallback{object-fit:cover;background:#fff}
.sidebar-bottom .profile-photo[hidden],.sidebar-bottom .profile-fallback[hidden]{display:none}
.profile{cursor:pointer}
.consult-bottom{grid-template-columns:minmax(0,1fr) 220px;gap:14px}
.results-grid{width:100%;min-width:0}
.results-table{width:100%;min-width:700px;table-layout:auto}
.results-table th,.results-table td{padding-left:14px;padding-right:14px}
.results-table td{height:55px;border-bottom:1px solid #eeece6;color:#57544c;vertical-align:middle}
.results-table tr:last-child td{border-bottom:0}
.ticket-number{font-weight:700;color:#62500e!important;white-space:nowrap}
.ticket-summary{min-width:200px}
.ticket-summary strong,.ticket-summary small{display:block;max-width:440px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-summary strong{color:#302f2b;font-size:11px;font-weight:650}
.ticket-summary small{margin-top:3px;color:#908c83;font-size:10px}
.ticket-state{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:5px 9px;font-size:9px;font-weight:700;white-space:nowrap}
.ticket-state:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.state-open{background:#fff5d1;color:#765c00}
.state-in_progress{background:#e8edf3;color:#435a75}
.state-closed{background:#e5eee8;color:#315e48}
.state-cancelled{background:#f3e7e5;color:#895045}
.progress-icon{background:#e8edf3;color:#435a75}
.ticket-status-action{height:28px;border:1px solid #e7dfc2;border-radius:5px;background:#fffaf0;color:#735a08;padding:0 9px;font-size:9px;font-weight:650;white-space:nowrap;cursor:pointer}
.ticket-status-action:hover{border-color:#d6bd63;background:#fff3c1}
.ticket-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}
.ticket-attachment{color:#786000;font-size:9px;font-weight:650;text-decoration:none}
.ticket-attachment:hover{text-decoration:underline}
.export-button:disabled{opacity:.45;cursor:not-allowed}
.export-button:disabled:hover{border-color:#e6e2d5;background:#fff;color:#68645a}
.empty-state{min-height:160px}
html[data-theme="dark"] .consult-intro{border:1px solid #514315;background:radial-gradient(ellipse at 88% 45%,#7c64172b,transparent 38%),linear-gradient(112deg,#222320 0%,#292820 58%,#342c1b 100%);box-shadow:inset 4px 0 0 #f2bc1b,0 12px 28px #0003}
html[data-theme="dark"] .consult-intro:after{right:12px;top:-42px;width:195px;height:195px;opacity:.24;mix-blend-mode:screen}
html[data-theme="dark"] .consult-status{border-color:#806916;background:#463919;color:#ffe17c}
html[data-theme="dark"] .results-table td{border-color:#393832;color:#d4cfc4}
html[data-theme="dark"] .ticket-number{color:#f2d77f!important}
html[data-theme="dark"] .ticket-summary strong{color:#f1efe9}
html[data-theme="dark"] .ticket-summary small{color:#aaa69c}
html[data-theme="dark"] .state-open{background:#3a321b;color:#f2d77f}
html[data-theme="dark"] .state-in_progress{background:#293541;color:#c0d5eb}
html[data-theme="dark"] .state-closed{background:#303b33;color:#b7d0bc}
html[data-theme="dark"] .state-cancelled{background:#432d29;color:#edbcb1}
html[data-theme="dark"] .progress-icon{background:#293541;color:#c0d5eb}
html[data-theme="dark"] .ticket-summary small.support-reply{color:#c0d5eb}
.ticket-edit-row>td{height:auto!important;padding:8px 14px 14px!important;border-bottom:1px solid #eeece6;background:#faf9f5;vertical-align:top}
.ticket-edit-panel{padding:16px 18px 14px;border:1px solid #e7e2d3;border-left:3px solid #f2bc1b;border-radius:8px;background:#fff;box-shadow:0 5px 16px #18181808}
.ticket-edit-heading{display:flex;flex-direction:column;gap:4px;margin-bottom:13px;color:#302f2b}
.ticket-edit-heading strong{font-size:12px}
.ticket-edit-heading small{font-size:10px;color:#858179}
.ticket-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 14px}
.ticket-edit-grid label{display:grid;gap:5px;color:#66635b;font-size:10px;font-weight:650}
.ticket-edit-grid input,.ticket-edit-grid textarea{width:100%;min-width:0;border:1px solid #dedbd1;border-radius:5px;background:#fff;color:#302f2b;padding:8px 9px;font:12px 'Segoe UI',Arial,sans-serif}
.ticket-edit-grid input{height:35px}
.ticket-edit-grid textarea{min-height:76px;resize:vertical}
.ticket-edit-grid input:focus,.ticket-edit-grid textarea:focus{outline:2px solid #f2bc1b55;border-color:#c79200}
.ticket-edit-request{grid-column:1/-1}
.ticket-edit-actions{display:flex;gap:8px;margin-top:13px}
.ticket-edit-actions button{height:32px;padding:0 13px;border:1px solid #e0d9c3;border-radius:5px;font-size:10px;font-weight:700;cursor:pointer}
.ticket-edit-save{background:#f2bc1b;color:#252319}
.ticket-edit-close{background:#f7f6f2;color:#625f57}
.ticket-edit-actions button:disabled{opacity:.55;cursor:wait}
html[data-theme="dark"] .ticket-edit-row>td{border-color:#393832;background:#1c1c1a}
html[data-theme="dark"] .ticket-edit-panel{border-color:#49473f;border-left-color:#f2bc1b;background:#22221f;box-shadow:0 5px 16px #0002}
html[data-theme="dark"] .ticket-edit-heading{color:#f1efe9}
html[data-theme="dark"] .ticket-edit-heading small,html[data-theme="dark"] .ticket-edit-grid label{color:#c3bfb5}
html[data-theme="dark"] .ticket-edit-grid input,html[data-theme="dark"] .ticket-edit-grid textarea{border-color:#49473f;background:#191918;color:#f1efe9;color-scheme:dark}
html[data-theme="dark"] .ticket-edit-close{border-color:#49473f;background:#35342f;color:#e7e3d9}
@media(max-width:760px){.ticket-edit-grid{grid-template-columns:minmax(0,1fr)}.ticket-edit-request{grid-column:auto}.ticket-edit-panel{padding:13px}}
.ticket-history-row>td{height:auto!important;padding:8px 14px 14px!important;border-bottom:1px solid #eeece6;background:#faf9f5;vertical-align:top}
.ticket-history-panel{padding:16px 18px 14px;border:1px solid #e7e2d3;border-left:3px solid #f2bc1b;border-radius:8px;background:#fff;box-shadow:0 5px 16px #18181808}
.ticket-history-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;color:#302f2b}
.ticket-history-heading>div{display:grid;gap:4px}
.ticket-history-heading strong{font-size:12px}
.ticket-history-heading small{font-size:10px;color:#858179}
.ticket-history-list{display:grid;gap:0;margin:0;padding:0;list-style:none}
.ticket-history-event{position:relative;display:grid;grid-template-columns:16px minmax(0,1fr);gap:9px;padding-bottom:13px}
.ticket-history-event:not(:last-child):before{position:absolute;top:11px;bottom:0;left:6px;width:1px;background:#e8dfbd;content:""}
.ticket-history-marker{z-index:1;width:13px;height:13px;margin-top:2px;border:3px solid #f2bc1b;border-radius:50%;background:#fff}
.ticket-history-event article{min-width:0;padding:0 0 3px}
.ticket-history-event article>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.ticket-history-event article>header strong{color:#302f2b;font-size:11px}
.ticket-history-event time,.ticket-history-event article>small{color:#858179;font-size:9px}
.ticket-history-event article>small{display:block;margin-top:3px}
.ticket-history-details{display:grid;gap:5px;margin-top:8px}
.ticket-history-detail{display:grid;grid-template-columns:minmax(115px,160px) minmax(0,1fr);gap:10px;padding:7px 9px;border-radius:5px;background:#faf9f5;font-size:10px;line-height:1.45}
.ticket-history-detail strong{color:#66635b;font-weight:650}
.ticket-history-detail span{min-width:0;color:#302f2b;white-space:pre-wrap;overflow-wrap:anywhere}
.ticket-history-empty{padding:12px 14px;border-radius:5px;background:#faf9f5;color:#858179;font-size:10px}
html[data-theme="dark"] .ticket-history-row>td{border-color:#393832;background:#1c1c1a}
html[data-theme="dark"] .ticket-history-panel{border-color:#49473f;border-left-color:#f2bc1b;background:#22221f;box-shadow:0 5px 16px #0002}
html[data-theme="dark"] .ticket-history-heading,html[data-theme="dark"] .ticket-history-event article>header strong{color:#f1efe9}
html[data-theme="dark"] .ticket-history-heading small,html[data-theme="dark"] .ticket-history-event time,html[data-theme="dark"] .ticket-history-event article>small{color:#aaa69c}
html[data-theme="dark"] .ticket-history-event:not(:last-child):before{background:#65531e}
html[data-theme="dark"] .ticket-history-marker{background:#22221f}
html[data-theme="dark"] .ticket-history-detail,html[data-theme="dark"] .ticket-history-empty{background:#191918}
html[data-theme="dark"] .ticket-history-detail strong{color:#c3bfb5}
html[data-theme="dark"] .ticket-history-detail span{color:#f1efe9}
@media(max-width:760px){.ticket-history-panel{padding:13px}.ticket-history-event article>header{align-items:flex-start;flex-direction:column;gap:3px}.ticket-history-detail{grid-template-columns:minmax(0,1fr);gap:2px}}
.ticket-view-back{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;padding:0;border:0;background:transparent;color:#715b14;font:600 11px 'Segoe UI',Arial,sans-serif;cursor:pointer}
.ticket-view-back span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #e5d79e;border-radius:50%;background:#fffaf0;font-size:16px;line-height:1;transition:transform .16s}
.ticket-view-back:hover{color:#30260b}.ticket-view-back:hover span{transform:translateX(-3px);background:#fff3c1}
.ticket-view-title-row{display:flex;align-items:center;gap:10px}
.ticket-view-title-row .page-heading{flex:1;min-width:150px}
.ticket-view-number{color:#756116;font-size:11px;font-weight:700;white-space:nowrap}
.ticket-view-status{white-space:nowrap}
.ticket-view-form .field-row input[readonly]{background:#faf9f5;color:#39372f;text-overflow:ellipsis}
.ticket-view-form .ticket-view-request-copy{display:-webkit-box;flex:1;min-width:0;max-height:62px;margin:0;overflow:hidden;color:#39372f;font-size:10px;line-height:1.45;white-space:pre-line;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:4}
.ticket-view-attachment{grid-column:1/-1;display:flex;align-items:center;gap:9px;margin:5px 0 0 82px;padding:10px 12px;border-left:3px solid #f2bc1b;border-radius:0 5px 5px 0;background:#fcf8e9;color:#70674b;font-size:10px}
.ticket-view-attachment[hidden]{display:none}
.ticket-view-page{padding:10px 16px 12px}
.ticket-view-page .ticket-view-back{margin-bottom:5px}
.ticket-view-page .ticket-view-title-row .page-heading{padding-bottom:6px;margin-bottom:8px}
#workspace[data-current-page="detail"] .page-content{padding-top:12px;padding-bottom:12px}
#workspace[data-current-page="detail"] .summary-bar{gap:8px;margin-bottom:8px}
#workspace[data-current-page="detail"] .summary-card{min-height:46px;width:165px;gap:9px;padding:6px 10px}
#workspace[data-current-page="detail"] .summary-icon{width:28px;height:28px;font-size:15px}
#workspace[data-current-page="detail"] .summary-copy{gap:2px}
#workspace[data-current-page="detail"] .summary-copy b{font-size:17px}
#workspace[data-current-page="detail"] .summary-copy small{font-size:8px}
.ticket-view-form.request-form{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:12px;row-gap:4px;max-width:100%;width:100%}
.ticket-view-form .form-column{display:contents}
.ticket-view-form .field-row{min-height:25px;font-size:10px}
.ticket-view-form .field-row>span:first-child{flex:0 0 91px}
.ticket-view-form .field-row input,.ticket-view-form .field-row select{height:25px;padding:2px 6px;font-size:10px}
.ticket-view-form .request-field{align-items:flex-start;min-height:0;margin-top:1px}
.ticket-view-form .request-field>span:first-child{padding-top:0}
.ticket-view-form .ticket-view-request-copy{max-height:58px;-webkit-line-clamp:4}
.ticket-view-attachment{margin-top:2px;padding:7px 10px}
html[data-theme="dark"] .ticket-view-back{color:#f2d77f}
html[data-theme="dark"] .ticket-view-back span{border-color:#65531e;background:#302b1a;color:#f2d77f}
html[data-theme="dark"] .ticket-view-back:hover span{background:#514315}
html[data-theme="dark"] .ticket-view-number{color:#f2d77f}
html[data-theme="dark"] .ticket-view-form .field-row input[readonly]{background:#2b2b27;color:#f1efe9}
html[data-theme="dark"] .ticket-view-form .ticket-view-request-copy{color:#f1efe9}
html[data-theme="dark"] .ticket-view-attachment{border-left-color:#f2bc1b;background:#302b1a;color:#ded2a7}
@media(max-width:1100px){.ticket-view-form.request-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ticket-view-page{padding:10px 12px}.ticket-view-title-row{flex-wrap:wrap}.ticket-view-title-row .page-heading{flex-basis:100%;margin-bottom:7px}.ticket-view-form.request-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px}.ticket-view-form .form-column{display:contents}.ticket-view-form .field-row>span:first-child{flex-basis:76px}.ticket-view-form .field-row{font-size:9px}.ticket-view-form .field-row input{font-size:9px}.ticket-view-form .ticket-view-request-copy{max-height:55px;-webkit-line-clamp:3}.ticket-view-attachment{margin-left:76px;flex-wrap:wrap}}
html[data-theme="dark"] .ticket-status-action{border-color:#65531e;background:#3a321b;color:#f2d77f}
html[data-theme="dark"] .ticket-status-action:hover{background:#514315}
html[data-theme="dark"] .ticket-attachment{color:#f2d77f}
html[data-theme="dark"] .export-button:disabled{border-color:#49473f;background:#292925;color:#aaa69c}
@media(max-width:760px){.consult-bottom{grid-template-columns:minmax(0,1fr)}.company-support{display:none}.results-table{min-width:620px}.results-table th,.results-table td{padding-left:10px;padding-right:10px}.ticket-summary{min-width:170px}}
.local-storage-note{grid-column:1/-1;margin:5px 0 0 82px;padding:9px 12px;border-left:3px solid #f2bc1b;border-radius:0 5px 5px 0;background:#fcf8e9;color:#70674b;font-size:10px;line-height:1.5}
html[data-theme="dark"] .local-storage-note{border-left-color:#f2bc1b;background:#302b1a;color:#ded2a7}
@media(max-width:760px){.local-storage-note{margin-left:82px}}
.search-options{gap:13px;padding-top:9px;padding-bottom:12px}
.search-options>span{color:#8a867e;font-size:9px;letter-spacing:.3px}
.search-options label{gap:6px;color:#514e46;font-size:10px}
.search-options input{appearance:none;display:grid;place-content:center;width:14px;height:14px;margin:0;border:1px solid #cbb45f;border-radius:3px;background:#fff;cursor:pointer}
.search-options input:before{content:"";width:7px;height:7px;clip-path:polygon(14% 44%,0 65%,42% 100%,100% 16%,80% 0,38% 62%);transform:scale(0);background:#171717}
.search-options input:checked{border-color:#d3a800;background:#f2bc1b}
.search-options input:checked:before{transform:scale(1)}
.search-options label:hover{color:#725900}
html[data-theme="dark"] .search-options>span{color:#aaa69c}
html[data-theme="dark"] .search-options label{color:#d6d2c8}
html[data-theme="dark"] .search-options input{border-color:#806916;background:#22221f}
html[data-theme="dark"] .search-options input:checked{border-color:#f2bc1b;background:#f2bc1b}
.advanced-filters .search-options{width:max-content;max-width:100%;align-items:center;align-self:flex-start;flex-wrap:wrap;padding:0 4px 10px}
.advanced-filters .search-options label{flex-direction:row}
.advanced-filters .search-options input[type="checkbox"]{width:14px;min-width:14px;height:14px;flex:0 0 14px;padding:0}
.save-query-link:disabled{opacity:.48;cursor:not-allowed;text-decoration:none}
html[data-theme="dark"] .save-query-link:disabled{color:#aaa69c;opacity:.5}
html[data-theme="dark"] .ticket-summary small.support-reply{color:#c0d5eb}
@media(max-width:760px){.summary-card{width:calc(33.333% - 6px);min-width:0;gap:6px;padding:6px}.summary-icon{width:28px;height:28px;flex:0 0 28px}.summary-copy small{font-size:7px}.summary-copy b{font-size:18px}}
.field-row input.field-invalid,.field-row select.field-invalid,.field-row textarea.field-invalid{border-color:#c43b36!important;box-shadow:0 0 0 2px #c43b3626}
html[data-theme="dark"] .field-row input.field-invalid,html[data-theme="dark"] .field-row select.field-invalid,html[data-theme="dark"] .field-row textarea.field-invalid{border-color:#ff7770!important;box-shadow:0 0 0 2px #ff777026}
.consult-bottom{align-items:start}
.results-grid{align-self:start}
.table-scroll{width:100%;min-width:0;max-width:100%;overflow-x:hidden;overflow-y:visible}
.results-table{width:100%;min-width:0;max-width:100%;table-layout:fixed}
.results-table th,.results-table td{min-width:0;overflow:hidden}
.results-table th{white-space:normal;line-height:1.25;text-align:center;vertical-align:middle;padding-right:8px;padding-left:8px}
.results-table th:nth-child(3){text-align:left;padding-left:14px}
.results-table th:nth-child(1),.results-table td:nth-child(1){width:10%}
.results-table th:nth-child(2),.results-table td:nth-child(2){width:12%}
.results-table th:nth-child(3),.results-table td:nth-child(3){width:35%}
.results-table th:nth-child(4),.results-table td:nth-child(4){width:11%}
.results-table th:nth-child(5),.results-table td:nth-child(5){width:12%}
.results-table th:nth-child(6),.results-table td:nth-child(6){width:20%}
#consult-page[data-user-role="support"] .results-table th:nth-child(1),#consult-page[data-user-role="support"] .results-table td:nth-child(1){width:9%}
#consult-page[data-user-role="support"] .results-table th:nth-child(2),#consult-page[data-user-role="support"] .results-table td:nth-child(2){width:10%}
#consult-page[data-user-role="support"] .results-table th:nth-child(3),#consult-page[data-user-role="support"] .results-table td:nth-child(3){width:28%}
#consult-page[data-user-role="support"] .results-table th:nth-child(4),#consult-page[data-user-role="support"] .results-table td:nth-child(4){width:11%}
#consult-page[data-user-role="support"] .results-table th:nth-child(5),#consult-page[data-user-role="support"] .results-table td:nth-child(5){width:12%}
#consult-page[data-user-role="support"] .results-table th:nth-child(6),#consult-page[data-user-role="support"] .results-table td:nth-child(6){width:30%}
.results-table td:nth-child(1),.results-table td:nth-child(2),.results-table td:nth-child(4),.results-table td:nth-child(5){text-align:center}
.results-table td:nth-child(3){text-align:left}
.results-table .ticket-summary{min-width:0}
.results-table .ticket-summary strong,.results-table .ticket-summary small{max-width:100%}
.results-table td:last-child{vertical-align:middle;text-align:center}
.results-table .ticket-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;white-space:normal;gap:6px;min-width:0}
.results-table .ticket-status-action{max-width:100%;white-space:normal;line-height:1.25}
#consult-page[data-user-role="support"] .ticket-actions{flex-wrap:nowrap;white-space:nowrap;gap:5px}
#consult-page[data-user-role="support"] .ticket-status-action{flex:0 0 auto;padding-right:7px;padding-left:7px;font-size:8px;white-space:nowrap}
@media(max-width:760px){
  .results-table{min-width:0}
  .results-table th{font-size:8px;letter-spacing:0}
  .results-table th,.results-table td{padding-left:5px;padding-right:5px}
  .results-table th:nth-child(1),.results-table td:nth-child(1){width:11%}
  .results-table th:nth-child(2),.results-table td:nth-child(2){width:12%}
  .results-table th:nth-child(3),.results-table td:nth-child(3){width:32%}
  .results-table th:nth-child(4),.results-table td:nth-child(4){width:11%}
  .results-table th:nth-child(5),.results-table td:nth-child(5){width:14%}
  .results-table th:nth-child(6),.results-table td:nth-child(6){width:20%}
  #consult-page[data-user-role="support"] .results-table th:nth-child(1),#consult-page[data-user-role="support"] .results-table td:nth-child(1){width:9%}
  #consult-page[data-user-role="support"] .results-table th:nth-child(2),#consult-page[data-user-role="support"] .results-table td:nth-child(2){width:10%}
  #consult-page[data-user-role="support"] .results-table th:nth-child(3),#consult-page[data-user-role="support"] .results-table td:nth-child(3){width:24%}
  #consult-page[data-user-role="support"] .results-table th:nth-child(4),#consult-page[data-user-role="support"] .results-table td:nth-child(4){width:10%}
  #consult-page[data-user-role="support"] .results-table th:nth-child(5),#consult-page[data-user-role="support"] .results-table td:nth-child(5){width:13%}
  #consult-page[data-user-role="support"] .results-table th:nth-child(6),#consult-page[data-user-role="support"] .results-table td:nth-child(6){width:34%}
  .results-table .ticket-actions{gap:4px}
  .results-table .ticket-status-action{height:auto;min-height:25px;padding:4px 5px;font-size:8px}
}
@media(max-width:520px){
  #consult-page[data-user-role="support"] .ticket-actions{flex-wrap:wrap;white-space:normal}
  #consult-page[data-user-role="support"] .ticket-status-action{white-space:normal}
}
#consult-page[data-user-role="requester"] .results-table{min-width:760px;table-layout:fixed}
#consult-page[data-user-role="requester"] .results-table th:nth-child(1),#consult-page[data-user-role="requester"] .results-table td:nth-child(1){width:9%}
#consult-page[data-user-role="requester"] .results-table th:nth-child(2),#consult-page[data-user-role="requester"] .results-table td:nth-child(2){width:12%}
#consult-page[data-user-role="requester"] .results-table th:nth-child(3),#consult-page[data-user-role="requester"] .results-table td:nth-child(3){width:24%}
#consult-page[data-user-role="requester"] .results-table th:nth-child(4),#consult-page[data-user-role="requester"] .results-table td:nth-child(4){width:10%}
#consult-page[data-user-role="requester"] .results-table th:nth-child(5),#consult-page[data-user-role="requester"] .results-table td:nth-child(5){width:12%}
#consult-page[data-user-role="requester"] .results-table th:nth-child(6),#consult-page[data-user-role="requester"] .results-table td:nth-child(6){width:250px}
#consult-page[data-user-role="requester"] .results-table .ticket-actions{justify-content:flex-start;flex-wrap:nowrap;white-space:nowrap;gap:5px}
#consult-page[data-user-role="requester"] .results-table .ticket-status-action{flex:0 0 auto;padding-right:6px;padding-left:6px;font-size:8px;white-space:nowrap}
.profile-settings-page .ticket-view-back{margin-bottom:5px}
.profile-settings-page .page-heading{margin-bottom:9px}
.profile-settings-intro{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.6}
.profile-settings-identity{display:grid;gap:4px;width:min(100%,480px);margin:0 0 20px;padding:13px 15px;border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:7px;background:var(--paper)}
.profile-settings-identity span{color:var(--muted);font-size:9px;font-weight:700;letter-spacing:1px}
.profile-settings-identity b{color:var(--ink);font-size:13px}
.profile-settings-identity small{color:var(--muted);font-size:11px}
.profile-settings-form{display:grid;grid-template-columns:repeat(3,minmax(170px,260px));gap:14px;max-width:860px}
.profile-settings-form>label{display:grid;align-content:start;gap:6px;color:var(--ink);font-size:11px;font-weight:650}
.profile-settings-form input{width:100%;height:37px;min-width:0;border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--ink);padding:0 10px;font:12px 'Segoe UI',Arial,sans-serif}
.profile-settings-form input:focus{outline:2px solid #f2bc1b66;border-color:#c79200}
.profile-settings-actions{grid-column:1/-1;display:flex;gap:8px;padding-top:4px}
.profile-settings-actions button{min-height:34px;padding:0 14px;border:0;border-radius:6px;font-size:11px;font-weight:700}
.profile-settings-actions .save-button{color:#171717}
.profile-settings-actions .back-button{border:1px solid var(--line);background:var(--paper);color:var(--ink)!important}
@media(max-width:760px){.profile-settings-form{grid-template-columns:minmax(0,1fr);max-width:100%}.profile-settings-actions{flex-wrap:wrap}}
.notification-wrap{position:relative;display:grid;place-items:center}
.notification-button:not(.has-unread)>i{display:none}
.notification-button.has-unread .notification-bell{transform-origin:50% 12%;animation:notification-ring 1.3s ease-in-out infinite}
.notification-button.has-unread>i{display:block;animation:notification-pulse 1.3s ease-in-out infinite}
.notification-popover{position:absolute;z-index:20;top:calc(100% + 10px);right:0;width:min(380px,calc(100vw - 28px));max-height:min(520px,70vh);overflow:auto;border:1px solid #e8e7e2;border-radius:10px;background:#fff;color:#302f2b;box-shadow:0 18px 48px #0003}
.notification-popover[hidden]{display:none}
.notification-popover>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #eeece6;background:#fff}
.notification-popover>header>div{display:grid;gap:3px}
.notification-popover>header strong{font-size:13px}
.notification-popover>header small{color:#858179;font-size:10px}
.notification-unread-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:12px;background:#f2bc1b;color:#252319;font-size:10px;font-weight:750}
.notification-unread-count[hidden]{display:none}
.notification-list{display:grid;padding:5px}
.notification-item{display:grid;gap:5px;width:100%;padding:11px 10px;border:0;border-bottom:1px solid #eeece6;background:#fff;color:#302f2b;text-align:left;cursor:pointer}
.notification-item:last-child{border-bottom:0}
.notification-item:hover{background:#faf7e9}
.notification-item.is-unread{box-shadow:inset 3px 0 #f2bc1b;background:#fffdf4}
.notification-item-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.notification-item-head b{min-width:0;overflow:hidden;color:#47390a;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.notification-item-head time{flex:0 0 auto;color:#858179;font-size:9px}
.notification-item>small{color:#77736a;font-size:10px;font-weight:650}
.notification-item>p{display:-webkit-box;margin:0;color:#4c4941;font-size:11px;line-height:1.45;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.notification-empty{margin:0;padding:20px 12px;color:#858179;font-size:11px;text-align:center}
html[data-theme="dark"] .notification-popover{border-color:#49473f;background:#22221f;color:#f1efe9}
html[data-theme="dark"] .notification-popover>header{border-color:#393832;background:#22221f}
html[data-theme="dark"] .notification-popover>header small,html[data-theme="dark"] .notification-item-head time,html[data-theme="dark"] .notification-item>small,html[data-theme="dark"] .notification-empty{color:#aaa69c}
html[data-theme="dark"] .notification-item{border-color:#393832;background:#22221f;color:#f1efe9}
html[data-theme="dark"] .notification-item:hover{background:#302e27}
html[data-theme="dark"] .notification-item.is-unread{background:#302b1a;box-shadow:inset 3px 0 #f2bc1b}
html[data-theme="dark"] .notification-item-head b{color:#f2d77f}
html[data-theme="dark"] .notification-item>p{color:#e0dcd2}
@keyframes notification-ring{0%,100%{transform:rotate(0)}8%,24%,40%{transform:rotate(-13deg)}16%,32%,48%{transform:rotate(13deg)}56%{transform:rotate(0)}}
@keyframes notification-pulse{0%,100%{opacity:1;box-shadow:0 0 0 0 #f2bc1b66}50%{opacity:.55;box-shadow:0 0 0 5px #f2bc1b00}}
@media(prefers-reduced-motion:reduce){.notification-button.has-unread .notification-bell,.notification-button.has-unread>i{animation:none}}
.ticket-reply-panel{margin-top:14px;padding:16px 18px 15px;border:1px solid #e7e2d3;border-left:3px solid #f2bc1b;border-radius:8px;background:#fff;box-shadow:0 5px 16px #18181808}
.ticket-reply-panel[hidden],#ticket-reply-form[hidden]{display:none}
.ticket-reply-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:13px}
.ticket-reply-panel>header h2{margin:0;color:#302f2b;font-size:13px}
.ticket-reply-panel>header p{margin:4px 0 0;color:#858179;font-size:10px;line-height:1.45}
#ticket-reply-email-target{flex:0 0 auto;color:#77736a;font-size:9px;text-align:right;overflow-wrap:anywhere}
#ticket-reply-form{display:grid;gap:7px}
#ticket-reply-form>label{color:#66635b;font-size:10px;font-weight:700}
#ticket-reply-message{width:100%;min-height:86px;resize:vertical;border:1px solid #dedbd1;border-radius:6px;background:#fff;color:#302f2b;padding:9px 10px;font:12px/1.5 'Segoe UI',Arial,sans-serif}
#ticket-reply-message:focus{outline:2px solid #f2bc1b55;border-color:#c79200}
.ticket-reply-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ticket-reply-actions small{color:#858179;font-size:9px;line-height:1.4}
.ticket-reply-submit{height:34px;flex:0 0 auto;border:0;border-radius:6px;background:#f2bc1b;color:#171717;padding:0 14px;font-size:10px;font-weight:750;cursor:pointer}
.ticket-reply-submit:hover{background:#e2ad12}
.ticket-reply-submit:disabled{opacity:.55;cursor:wait}
.ticket-conversation-list{display:grid;gap:8px;max-height:280px;margin:0 0 13px;padding:2px;overflow:auto;overscroll-behavior:contain}
.conversation-message{width:min(92%,760px);padding:10px 12px;border:1px solid #e7e2d3;border-radius:8px;background:#faf9f5}
.conversation-message.message-support{justify-self:start;border-left:3px solid #f2bc1b}
.conversation-message.message-requester{justify-self:end;border-right:3px solid #9ab6a1;background:#f1f6f2}
.conversation-message>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.conversation-message>header b{color:#504311;font-size:10px}
.conversation-message>header time{flex:0 0 auto;color:#858179;font-size:9px}
.conversation-message>p{margin:6px 0 0;color:#302f2b;font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.ticket-conversation-empty{margin:0;padding:15px;border:1px dashed #dedbd1;border-radius:6px;color:#858179;font-size:10px;text-align:center}
html[data-theme="dark"] .ticket-reply-panel{border-color:#49473f;border-left-color:#f2bc1b;background:#22221f;box-shadow:0 5px 16px #0002}
html[data-theme="dark"] .ticket-reply-panel>header h2{color:#f1efe9}
html[data-theme="dark"] .ticket-reply-panel>header p,html[data-theme="dark"] #ticket-reply-email-target,html[data-theme="dark"] .ticket-reply-actions small{color:#aaa69c}
html[data-theme="dark"] #ticket-reply-form>label{color:#c3bfb5}
html[data-theme="dark"] #ticket-reply-message{border-color:#49473f;background:#191918;color:#f1efe9;color-scheme:dark}
html[data-theme="dark"] .conversation-message{border-color:#49473f;background:#191918}
html[data-theme="dark"] .conversation-message.message-support{border-left-color:#f2bc1b}
html[data-theme="dark"] .conversation-message.message-requester{border-right-color:#78927e;background:#222a24}
html[data-theme="dark"] .conversation-message>header b{color:#f2d77f}
html[data-theme="dark"] .conversation-message>header time{color:#aaa69c}
html[data-theme="dark"] .conversation-message>p{color:#f1efe9}
html[data-theme="dark"] .ticket-conversation-empty{border-color:#49473f;color:#aaa69c}
@media(max-width:760px){.ticket-reply-panel{padding:13px}.ticket-reply-panel>header{flex-direction:column;gap:8px}#ticket-reply-email-target{text-align:left}.ticket-reply-actions{align-items:flex-start;flex-direction:column}.ticket-reply-submit{align-self:flex-end}}
.ticket-reply-attachments{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#858179;font-size:9px}
.side-link[hidden]{display:none!important}
.conversation-attach-button{min-height:29px;padding:0 10px;border:1px solid #e7dfc2;border-radius:5px;background:#fffaf0;color:#735a08;font-size:9px;font-weight:700;cursor:pointer}
.conversation-attach-button:hover{border-color:#d6bd63;background:#fff3c1}
.conversation-image-names{min-width:0;overflow-wrap:anywhere}
.conversation-images{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.conversation-image{display:grid;gap:4px;max-width:190px;color:#735a08;font-size:9px;text-decoration:none}
.conversation-image img{display:block;width:auto;max-width:190px;height:auto;max-height:145px;object-fit:contain;border:1px solid #e7e2d3;border-radius:5px;background:#fff}
.conversation-image small{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-resolution-controls{display:grid;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #eeece6}
.ticket-resolution-editor[hidden],.ticket-resolution-start[hidden],.ticket-reopen-button[hidden]{display:none}
.ticket-resolution-editor{display:grid;gap:7px;padding:11px;border:1px solid #e7e2d3;border-left:3px solid #f2bc1b;border-radius:6px;background:#faf9f5}
.ticket-resolution-editor>label,.ticket-resolution-form>strong{color:#62500e;font-size:10px;font-weight:750}
.ticket-resolution-error{color:#b53a34;font-size:9px;font-weight:650}
.ticket-resolution-error[hidden]{display:none}
.ticket-resolution-editor textarea[aria-invalid="true"],.ticket-resolution-form textarea[aria-invalid="true"]{border-color:#c43b36;box-shadow:0 0 0 2px #c43b3626}
.ticket-resolution-editor textarea,.ticket-resolution-form textarea{width:100%;min-height:48px;resize:vertical;border:1px solid #dedbd1;border-radius:5px;background:#fff;color:#302f2b;padding:7px 9px;font:11px/1.4 'Segoe UI',Arial,sans-serif}
.ticket-resolution-editor>div,.ticket-resolution-form>div{display:flex;gap:7px}
.ticket-resolution-editor button,.ticket-resolution-start,.ticket-reopen-button,.ticket-resolution-form button{min-height:29px;padding:0 11px;border:1px solid #e0d9c3;border-radius:5px;background:#fffaf0;color:#735a08;font-size:9px;font-weight:700;cursor:pointer}
.ticket-resolution-editor .ticket-resolution-confirm,.ticket-resolution-form button[type="submit"]{border-color:#e3b00e;background:#f2bc1b;color:#252319}
.ticket-resolution-start{justify-self:start}
.ticket-reopen-button{justify-self:start}
.ticket-resolution-row>td{height:auto!important;padding:8px 14px 13px!important;border-bottom:1px solid #eeece6;background:#faf9f5;vertical-align:top}
.ticket-resolution-form{display:grid;gap:7px;padding:12px 14px;border:1px solid #e7e2d3;border-left:3px solid #f2bc1b;border-radius:7px;background:#fff}
.ticket-resolution-form textarea{min-height:46px}
.ticket-resolution-form button:disabled,.ticket-resolution-editor button:disabled{opacity:.55;cursor:wait}
html[data-theme="dark"] .ticket-reply-attachments{color:#aaa69c}
html[data-theme="dark"] .conversation-attach-button,html[data-theme="dark"] .ticket-resolution-editor button,html[data-theme="dark"] .ticket-resolution-start,html[data-theme="dark"] .ticket-reopen-button,html[data-theme="dark"] .ticket-resolution-form button{border-color:#65531e;background:#302b1a;color:#f2d77f}
html[data-theme="dark"] .conversation-image{color:#f2d77f}
html[data-theme="dark"] .conversation-image img{border-color:#49473f;background:#191918}
html[data-theme="dark"] .ticket-resolution-controls{border-color:#393832}
html[data-theme="dark"] .ticket-resolution-editor,html[data-theme="dark"] .ticket-resolution-row>td{border-color:#49473f;border-left-color:#f2bc1b;background:#1c1c1a}
html[data-theme="dark"] .ticket-resolution-editor>label,html[data-theme="dark"] .ticket-resolution-form>strong{color:#f2d77f}
html[data-theme="dark"] .ticket-resolution-error{color:#ff9b94}
html[data-theme="dark"] .ticket-resolution-editor textarea,html[data-theme="dark"] .ticket-resolution-form textarea{border-color:#49473f;background:#191918;color:#f1efe9;color-scheme:dark}
html[data-theme="dark"] .ticket-resolution-form{border-color:#49473f;border-left-color:#f2bc1b;background:#22221f}
html[data-theme="dark"] .ticket-resolution-editor .ticket-resolution-confirm,html[data-theme="dark"] .ticket-resolution-form button[type="submit"]{border-color:#e3b00e;background:#f2bc1b;color:#252319}
@media(max-width:760px){.ticket-resolution-form{padding:10px}.conversation-image,.conversation-image img{max-width:150px}}
