@charset "UTF-8";
:root{--navy:#142e47;--navy-deep:#10273d;--teal:#167f96;--teal-dark:#116a7e;--blue:#2876cf;--bg:#f4f6fa;--panel:#fff;--ink:#24354b;--muted:#7a8799;--line:#e8edf3;--radius:14px;--sidebar:252px;--shadow:0 3px 14px rgba(30,55,85,.035)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55;color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}a{color:var(--teal);text-decoration:none}a:hover{color:var(--teal-dark)}a,button{transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button,input,select,textarea{min-width:0}input,select,textarea{color:var(--ink)}:focus-visible{outline:3px solid #54aaca;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:29px;line-height:1.22;letter-spacing:-.7px;font-weight:700;margin-bottom:10px}h2{font-size:17px;line-height:1.4;letter-spacing:-.2px;margin-bottom:0}h3{font-size:15px;line-height:1.4;margin-bottom:10px}p{margin-bottom:14px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;flex-shrink:0}code{font-family:Consolas,monospace;background:#eef3f8;border-radius:5px;padding:2px 6px;font-size:12px;word-break:break-all}small,.small{font-size:12px}.muted,.subtle{color:var(--muted)}.required{color:var(--teal);margin-left:2px}.break-word{overflow-wrap:anywhere}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-70px;left:20px;padding:12px 20px;background:var(--navy);color:#fff;z-index:9999}.skip-link:focus{top:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--navy);color:#fff;display:flex;flex-direction:column;padding:32px 20px 0;z-index:50}.brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:23px;font-weight:730;letter-spacing:-.6px;line-height:1.2}.brand:hover{color:#fff}.brand small{display:block;font-size:10.5px;font-weight:450;letter-spacing:.25px;color:#9cb1c5;margin-top:5px}.brand-mark{height:42px;width:42px;display:block;background:#259aaf;border-radius:13px;position:relative;flex-shrink:0;box-shadow:inset 0 1px 0 #ffffff20}.brand-mark:before,.brand-mark:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#fff;top:12px}.brand-mark:before{left:12px}.brand-mark:after{right:12px}.brand-mark span{position:absolute;left:11px;top:20px;width:20px;height:11px;border:2px solid #fff;border-top:0;border-radius:0 0 14px 14px}.nav-label{font-size:9px;letter-spacing:1.2px;font-weight:700;color:#8098b0;margin:47px 12px 14px}.main-nav{display:flex;flex-direction:column;gap:6px}.main-nav a{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:550;padding:13px 12px;color:#b5c6d6;border-radius:9px;min-height:47px}.main-nav a svg{width:19px;height:19px;opacity:.85}.main-nav a:hover{background:#ffffff0a;color:#fff}.main-nav a.active{background:#2b829326;color:#88d7dc;border:1px solid #67bfcc18;padding:12px 11px}.main-nav a.active svg{opacity:1}.sidebar-bottom{margin-top:auto;padding-top:40px}.telegram-link{display:flex;gap:10px;align-items:center;padding:15px 11px 23px;color:#aac3d6;font-size:10.5px}.telegram-link:hover{color:#fff}.telegram-link>svg{color:#72aec6;width:19px;height:19px}.telegram-link small{display:block;color:#6f8fa8;font-size:9px;margin-top:3px}.telegram-link>span:last-child{margin-left:auto}.account{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff12;padding:22px 1px 24px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:#e6f0f6;color:#3a728d;font-weight:700;flex-shrink:0;font-size:13px}.sidebar .avatar{background:#36546a;color:#c4e4ea}.account-info{flex:1;min-width:0}.account-info strong{font-size:11px;display:block;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.account-info small{font-size:9px;color:#8fa8bc}.account form{display:flex}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;color:inherit;padding:6px;border-radius:6px}.icon-button:hover{background:#ffffff0d}.logout{color:#8ea9bd}.logout svg{width:18px;height:18px}.mobile-header,.menu-overlay{display:none}.workspace{margin-left:var(--sidebar);padding:35px 38px 22px;min-height:100vh;max-width:2200px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 28px}.page-header p{color:var(--muted);font-size:12px;margin-bottom:0}.breadcrumb{display:flex;align-items:center;gap:9px;font-size:10px;color:#8c98a7;margin-bottom:15px}.breadcrumb a{color:#74859a}.breadcrumb a:hover{color:var(--teal)}.breadcrumb span{color:#c1cbd5}.button{border:1px solid transparent;min-height:41px;border-radius:8px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;text-align:center;text-decoration:none}.button.primary{background:var(--teal);color:#fff;box-shadow:0 3px 6px #167f9615}.button.primary:hover{background:var(--teal-dark);color:#fff;box-shadow:0 4px 12px #167f9625}.button.secondary{background:#fff;border-color:#dfe6ed;color:#56687f}.button.secondary:hover{background:#f5f8fb;border-color:#c4d3df}.button.success{background:#e7f5ee;color:#238366;border-color:#cfeadf}.button.success:hover{background:#d8eee4}.button.danger{background:#fff1f0;color:#b54e53;border-color:#f1d6d7}.button.danger:hover{background:#fbe4e4}.button.telegram{background:#e9f4fb;color:#267dae;border-color:#d7eaf6}.button.telegram:hover{background:#d9edf9}.button.telegram svg{width:18px;height:18px}.button.full{width:100%}.button.small{min-height:34px;padding:7px 12px;font-size:11px}.plus{font-size:20px;font-weight:400;line-height:15px}.text-link{font-weight:600}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:28px}.stat-card{display:flex;flex-direction:column;position:relative;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow);border-radius:var(--radius);padding:20px 21px;color:var(--ink);min-height:139px}.stat-card:hover{border-color:#b7d7e1;color:var(--ink);box-shadow:0 4px 18px #203c5a08}.stat-label{font-size:11px;color:#778699;font-weight:550;margin-bottom:8px;max-width:calc(100% - 35px)}.stat-card strong{font-size:30px;font-weight:650;letter-spacing:-1px;line-height:1.2}.stat-note{color:#9aa6b4;font-size:9px;margin-top:9px}.stat-icon{position:absolute;right:19px;top:19px;border-radius:10px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;font-size:22px;line-height:1}.stat-icon.blue{background:#eaf1fc;color:#5d92dc}.stat-icon.violet{background:#f0edfc;color:#a294dc}.stat-icon.amber{background:#fef4e2;color:#d5a34a}.stat-icon.teal{background:#e8f6f3;color:#53ad98}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 23px;gap:12px;border-bottom:1px solid var(--line)}.panel-heading .subtle{font-size:10px}.panel-heading p{margin:5px 0 0}.queue-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px 18px}.queue-heading h2{display:flex;align-items:center;gap:9px}.count-pill{background:#eff3f7;color:#788da4;font-size:10px;border-radius:5px;min-width:23px;padding:2px 6px;text-align:center;font-weight:550}.view-label{display:flex;align-items:center;gap:6px;color:#93a0b0;font-size:9px}.status-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#66b5a4;flex-shrink:0}.queue-filters{padding:0 24px 20px}.search-field{position:relative;margin-bottom:13px}.search-field input{padding-left:38px!important;background:#fafbfd;min-height:40px;font-size:11px}.search-field svg{position:absolute;left:13px;top:12px;width:16px;height:16px;color:#9aa8ba;z-index:1}.filter-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.filter-row select{font-size:10px;min-height:34px;padding-top:6px;padding-bottom:6px;min-width:140px;max-width:240px;background:#fff}.filter-row .text-link{margin-left:4px;font-size:10px}.ticket-table-wrap{overflow-x:auto}.ticket-table{width:100%;border-collapse:collapse;text-align:left;min-width:670px}.ticket-table th{background:#f9fafc;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 15px;color:#8a98a9;font-weight:550;font-size:9px;white-space:nowrap}.ticket-table th:first-child{padding-left:24px;width:43%}.ticket-table td{border-bottom:1px solid #edf1f5;padding:18px 15px;vertical-align:middle;font-size:11px}.ticket-table td:first-child{padding-left:24px}.ticket-table tbody tr:hover{background:#fcfdff}.ticket-title{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 10px;color:var(--ink);line-height:1.4}.ticket-title strong{font-size:12px;font-weight:600;overflow-wrap:anywhere;flex-basis:100%}.ticket-title:hover strong{color:var(--teal)}.ticket-number{color:#8598ae;font-size:9px;letter-spacing:.3px;font-weight:650;white-space:nowrap}.ticket-number.large{font-size:11px;letter-spacing:.6px;color:#7089a2}.ticket-meta{color:#99a6b5;font-size:9px;margin-top:6px;display:flex;flex-wrap:wrap;gap:3px 5px;overflow-wrap:anywhere}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:550;line-height:1.5;white-space:nowrap}.badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.7}.status-new{background:#eef0fc;color:#8079bd}.status-in_progress{background:#fff5e2;color:#b88a36}.status-waiting{background:#eaf3fc;color:#558aba}.status-resolved{background:#e8f6ee;color:#458e70}.status-closed{background:#edf2f6;color:#7b8d9e}.status-cancelled{background:#f7eeef;color:#ab858b}.person-cell{max-width:170px;color:#65758b}.unassigned{color:#b49158;font-size:10px}.date-cell{white-space:nowrap;color:#7f90a5;font-size:9px!important}.date-cell small{display:block;font-size:9px;color:#a9b4c1;margin-top:2px}.row-arrow{padding-left:0!important;padding-right:22px!important;width:30px}.row-arrow a{color:#9aabbb;font-size:17px}.row-arrow a:hover{color:var(--teal)}.table-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 24px;color:#a0adbc;font-size:9px}.pagination{display:flex;gap:8px}.pagination .button{font-size:9px;min-height:30px}.workspace-footnote{display:flex;justify-content:space-between;font-size:9px;color:#a3afbd;margin:22px 1px 0}.empty-state{text-align:center;padding:54px 20px 60px}.empty-icon{display:inline-flex;align-items:center;justify-content:center;background:#edf4f7;color:#6996a9;border-radius:17px;width:63px;height:63px;font-size:34px;margin-bottom:17px}.empty-state h3{font-size:18px;margin-bottom:9px}.empty-state p{color:#8c9aad;max-width:370px;margin:0 auto 22px;font-size:12px}.empty-inline{padding:18px 24px;color:var(--muted)}
/* Forms */
.stack-form{display:flex;flex-direction:column;gap:20px}.stack-form.compact{gap:13px}.field>label,.stack-form>p>label{display:block;font-size:11px;color:#53677e;font-weight:600;margin-bottom:7px}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]),select,textarea{width:100%;background:#fff;border:1px solid #dce4ed;border-radius:8px;padding:10px 12px;min-height:41px;font-size:12px;line-height:1.5;transition:border-color .15s,box-shadow .15s}input::placeholder,textarea::placeholder{color:#a6b2c0}textarea{resize:vertical;min-height:110px}input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,select:focus,textarea:focus{outline:none;border-color:#76afbf;box-shadow:0 0 0 3px #167f9610}.field input[type=password]{padding-right:78px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.help-text{font-size:10px;color:#94a0b1;line-height:1.6;margin:6px 0 0}.help-text ul{padding-left:18px}.field>ul.errorlist,.errorlist{list-style:none;margin:6px 0 0;padding:0;color:#bc5a62;font-size:11px}.form-errors{background:#fff0ef;color:#b05257;border:1px solid #f2d9d8;border-radius:8px;padding:12px 15px;font-size:12px}.form-errors ul{margin:0;padding:0;list-style:none}.form-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;border-top:1px solid var(--line);padding-top:20px;margin-top:4px}.form-actions>.draft-status,.form-actions>.checkbox-label{margin-right:auto}.form-panel{padding:29px 31px}.form-section-heading{display:flex;align-items:center;gap:12px;margin:0 0 4px}.form-section-heading h2{font-size:15px}.form-section-heading p{margin:3px 0 0;color:#98a5b4;font-size:10px}.step-number{width:29px;height:29px;flex-shrink:0;border-radius:9px;background:#eaf4f7;color:#4794a6;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}.section-divider{border-top:1px solid var(--line);padding-top:24px;margin-top:4px}.create-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start;max-width:1300px}.create-aside{display:flex;flex-direction:column;gap:17px}.tip-card{padding:25px;background:#eaf3f7;border:1px solid #dcebf1;border-radius:var(--radius)}.tip-icon{font-size:28px;color:#549aa9;line-height:1;display:block;margin-bottom:14px}.tip-card h3{font-size:13px;color:#446d81}.tip-card ol{padding-left:17px;margin:14px 0 0;color:#7592a4;font-size:11px;display:flex;flex-direction:column;gap:13px}.quiet-card{padding:20px 12px;color:#97a4b4;font-size:11px}.quiet-card h3{color:#73859b;font-size:12px}.quiet-card p:last-child{margin-bottom:0}.upload-box{border:1px dashed #c6d9e4;border-radius:10px;background:#fafcfd;text-align:center;padding:20px 15px 15px;display:flex;align-items:center;flex-direction:column;gap:5px;position:relative}.upload-box.dragging{background:#edf8fb;border-color:var(--teal)}.upload-icon{font-size:25px;width:39px;height:39px;background:#edf4f8;border-radius:10px;color:#6d9aa9;display:flex;align-items:center;justify-content:center;margin-bottom:4px}.upload-box strong{font-size:11px;color:#648298}.upload-box>span:not(.upload-icon){font-size:10px;color:#9aaebd}.upload-box input[type=file]{font-size:11px;width:100%;max-width:280px;margin-top:9px;color:#91a4b5}.upload-box input[type=file]::file-selector-button,.compact-upload input[type=file]::file-selector-button{padding:6px 10px;border:1px solid #cfdee7;background:#fff;color:#607f91;border-radius:5px;margin-right:8px;cursor:pointer}.file-preview{padding:0;margin:5px 0 0;list-style:none;width:100%;display:flex;gap:6px;flex-wrap:wrap}.file-preview li{font-size:10px;border:1px solid #dce8ed;border-radius:5px;background:#fff;color:#6f8697;padding:5px 8px;overflow-wrap:anywhere;max-width:100%;text-align:left}.file-preview .file-error{color:#b5535b;border-color:#e8bcc1}.notice{display:flex;gap:10px;background:#f3f7fb;padding:14px 15px;border:1px solid #e2ebf4;border-radius:9px;color:#70859a;font-size:10px}.notice strong{display:block;font-size:11px;color:#5a768e;margin-bottom:3px}.notice p{margin:0}.notice-icon{width:17px;height:17px;line-height:16px;text-align:center;border-radius:50%;border:1.5px solid #7b9fb4;font-size:10px;font-weight:700;flex-shrink:0;margin-top:2px}.notice.compact{padding:12px}.checkbox-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#667d91;cursor:pointer;line-height:1.4}.checkbox-label input{width:15px;height:15px;accent-color:var(--teal);flex-shrink:0;margin:0}.checkbox-label small{display:block;margin-top:4px;font-size:9px;color:#a0a9b2}.checkbox-grid{display:flex;flex-wrap:wrap;gap:12px 20px}.direction-checkboxes{border:0;padding:0;margin:0}.direction-checkboxes legend{font-size:11px;font-weight:600;color:#53677e;margin-bottom:3px}.direction-checkboxes .help-text{margin-bottom:12px}.stack-form>p{margin:0;font-size:12px}.stack-form>p>.helptext{font-size:10px;color:#94a0b1;display:block;margin-top:5px}.stack-form>p:has(input[type=checkbox]){display:flex;align-items:center;gap:9px}.stack-form>p:has(input[type=checkbox])>label{margin:0}.stack-form>p>select[multiple]{min-height:90px}.password-wrap{position:relative}.password-toggle{position:absolute;right:6px;top:7px;background:transparent;border:0;color:#8b9cab;font-size:10px;padding:7px}.password-toggle:hover{color:var(--teal)}
/* Ticket */
.detail-heading{align-items:flex-start;margin-bottom:25px}.detail-heading h1{font-size:25px;max-width:950px;overflow-wrap:anywhere}.detail-heading>.button{margin-top:27px}.title-line{display:flex;align-items:center;gap:12px;margin-bottom:12px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 277px;gap:23px;align-items:start}.conversation-column{min-width:0}.thread{padding:5px 23px 2px}.message{display:flex;gap:12px;padding:25px 0;border-bottom:1px solid #edf1f5}.message:last-child{border-bottom:0}.message-avatar{width:31px;height:31px;flex-shrink:0;background:#edf1f7;border-radius:9px;color:#7f94ac;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:650}.own-message .message-avatar{background:#e7f4f3;color:#5a9e9f}.message-content{flex:1;min-width:0}.message-header{display:flex;align-items:center;gap:5px 8px;flex-wrap:wrap;margin:0 0 9px;min-height:25px}.message-header strong{font-size:11px;color:#486078}.message-header time{font-size:9px;color:#a6b2be;margin-left:auto}.message-role{font-size:8px;color:#a1aebb}.message-text{font-size:12px;line-height:1.8;overflow-wrap:anywhere;color:#63768c;white-space:normal}.internal-message{margin:9px -10px;padding:17px 10px;background:#fffaf0;border:1px solid #f5ebd3!important;border-radius:9px}.internal-avatar{background:#f7ebce;color:#b79859}.internal-label{font-size:8px;padding:2px 5px;border-radius:4px;background:#f5eacb;color:#aa8b4a}.internal-message .message-text{color:#927e54}.source-tag{font-size:8px;color:#91abc0}.attachment-grid{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.attachment-grid:empty{display:none}.attachment{display:flex;align-items:center;gap:9px;border:1px solid #e1eaf0;border-radius:8px;background:#fff;min-width:180px;max-width:100%;padding:9px;color:#7890a6;flex:0 1 270px}.attachment:hover{border-color:#a7ccd9;color:var(--teal)}.file-icon{display:inline-flex;width:31px;height:36px;background:#edf4f8;color:#80a0b9;align-items:center;justify-content:center;font-size:21px;border-radius:5px;flex-shrink:0}.attachment-info{min-width:0;flex:1}.attachment-info strong{display:block;font-size:9px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-info small{font-size:8px;color:#9baebe;display:block;margin-top:3px}.attachment-arrow{font-size:14px;flex-shrink:0}.attachment-image{position:relative;display:flex;flex-direction:column;align-items:stretch;padding:0;max-width:230px;overflow:hidden;flex-basis:200px}.attachment-image img{width:100%;height:130px;object-fit:contain;background:#f4f7fa;border-bottom:1px solid #edf2f6}.attachment-image .attachment-info{padding:8px 28px 9px 9px}.attachment-image .attachment-arrow{position:absolute;right:10px;bottom:18px}.reply-box{background:#fafcfe;border-top:1px solid var(--line);padding:22px 23px;border-radius:0 0 var(--radius) var(--radius)}.reply-box h3{font-size:12px;margin:0}.reply-box .stack-form{gap:13px}.reply-box textarea{min-height:108px;background:#fff;font-size:12px}.reply-box.is-internal{background:#fffaf0}.reply-bottom{display:flex;align-items:flex-start;gap:14px;justify-content:space-between}.compact-upload{display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px;min-width:0}.compact-upload input[type=file]{width:100%;font-size:9px;color:#91a4b5}.compact-upload .help-text{font-size:8px;margin:0}.file-button{font-size:10px;color:#678ca1;font-weight:600;cursor:pointer}.file-button span{font-size:14px;margin-right:3px}.note-checkbox{font-size:10px}.note-checkbox small{font-size:8px}.history-panel{margin-top:19px;overflow:hidden}.history-panel>summary{padding:18px 23px;display:flex;gap:8px;align-items:center;cursor:pointer;font-weight:600;font-size:12px;list-style:none}.history-panel>summary .subtle{font-size:10px;font-weight:400}.chevron{margin-left:auto;display:inline-block;color:#9cabb9;font-size:16px;transition:transform .15s}details[open]>summary>.chevron{transform:rotate(180deg)}summary::-webkit-details-marker{display:none}.event-list{padding:3px 23px 14px;list-style:none;margin:0}.event-list li{position:relative;display:flex;gap:11px;padding:10px 0}.event-dot{width:6px;height:6px;border:1px solid #95b4c6;background:#fff;border-radius:50%;flex-shrink:0;margin-top:6px}.event-list p{font-size:10px;margin:0;color:#7890a5}.event-list small{font-size:8px;color:#a7b4c1}.ticket-sidebar{display:flex;flex-direction:column;gap:17px}.info-panel .panel-heading{padding:19px 20px}.info-panel h2{font-size:13px}.ticket-properties{margin:0;padding:4px 20px 18px}.ticket-properties>div{padding-top:15px}.ticket-properties dt{font-size:9px;color:#97a7b7;margin-bottom:4px}.ticket-properties dd{font-size:11px;color:#667b91;margin:0;font-weight:500}.actions-panel{padding:20px}.actions-panel h2{font-size:13px;margin-bottom:15px}.actions-panel>form{margin-bottom:9px}.actions-panel .button{font-size:10px;min-height:37px;padding:9px 11px}.actions-panel .help-text{font-size:9px;margin-top:0;margin-bottom:15px}.action-details{border-top:1px solid var(--line);margin-top:11px;padding-top:11px}.action-details>summary{display:flex;justify-content:space-between;font-size:10px;color:#7c91a5;cursor:pointer;list-style:none;padding:4px 0}.action-details .stack-form{padding-top:14px}.action-details textarea{min-height:65px;font-size:11px}.action-details .field>label{font-size:9px}.action-details select{font-size:10px}.danger-details>summary{color:#b28e92}.ticket-sidebar>.quiet-card{padding:0 8px;font-size:9px}
/* Account and management */
.profile-layout{display:grid;grid-template-columns:minmax(0,640px) 290px;gap:25px;align-items:start;max-width:960px}.profile-summary{display:flex;align-items:center;gap:13px;margin-bottom:26px;border-bottom:1px solid var(--line);padding-bottom:23px}.large-avatar{width:46px;height:46px;border-radius:14px;font-size:18px}.profile-summary h2{font-size:16px}.profile-summary p{font-size:10px;color:#99a8b7;margin:4px 0 0}.telegram-panel{padding:27px 25px}.telegram-circle{width:45px;height:45px;border-radius:14px;background:#e7f4fb;color:#5ba3ca;display:flex;align-items:center;justify-content:center;margin-bottom:18px}.telegram-circle svg{width:25px;height:25px}.telegram-panel h2{font-size:15px;margin-bottom:13px}.telegram-panel p{font-size:11px;color:#8c9daf;line-height:1.8}.telegram-panel .badge{margin-bottom:10px}.telegram-panel .help-text{font-size:9px}.telegram-panel .text-link{font-size:10px}.profile-layout aside .quiet-card{font-size:10px}.section-tabs{display:flex;gap:10px 24px;border-bottom:1px solid #e0e7f0;margin-bottom:23px;padding-bottom:13px;flex-wrap:wrap}.section-tabs a{display:flex;align-items:center;gap:7px;font-size:11px;color:#70849c;font-weight:600}.section-tabs a:hover{color:var(--teal)}.section-tabs a>span:not(.tab-dot){font-size:9px;background:#e8eef4;padding:1px 5px;border-radius:4px;color:#8c9eb2}.tab-dot{height:6px;width:6px;border-radius:50%;background:#d7b66d}.tab-dot.ready{background:#5eaf96}.management-section{margin-bottom:25px;scroll-margin-top:24px;overflow:hidden}.management-section>.panel-heading{padding:23px 26px}.management-section h2{font-size:16px}.management-section>.panel-heading p{font-size:10px}.role-guide{padding:16px 26px;display:flex;flex-wrap:wrap;gap:10px 23px;background:#fcfdfe;border-bottom:1px solid var(--line)}.role-guide>span{display:flex;align-items:center;gap:4px;font-size:9px;color:#8d9daf}.role-guide strong{font-weight:550;color:#7c8da2}.role-dot{display:inline-block;width:5px;height:5px;border-radius:50%;margin-right:3px}.role-dot.employee{background:#8ea8c2}.role-dot.operator{background:#d8b769}.role-dot.manager{background:#66b2aa}.member-item,.category-item{border-bottom:1px solid #edf1f6}.member-item>summary,.category-item>summary{padding:17px 25px;display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer}.member-item>summary:hover,.category-item>summary:hover{background:#fcfdff}.member-name,.category-name{flex:1;min-width:0}.member-name strong,.category-name strong{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:#5b7289;overflow-wrap:anywhere}.member-name small,.category-name small{font-size:9px;color:#9babbc;display:block;margin-top:3px}.member-role{font-size:10px;color:#8da1b5;margin-left:auto}.self-label{font-size:8px;background:#eef5f7;color:#7aa1ac;font-weight:500;padding:1px 4px;border-radius:3px}.connection-label{font-size:8px;color:#69a294;min-width:70px;text-align:right}.member-item .chevron{margin-left:8px}.member-item .avatar{width:31px;height:31px;border-radius:9px;font-size:11px}.member-form,.category-form{background:#fafcfe;border-top:1px solid var(--line);padding:23px 26px}.member-form .form-actions{padding-top:15px}.new-item>summary{display:flex;align-items:center;gap:9px;padding:18px 26px;list-style:none;color:var(--teal);font-size:11px;font-weight:600;cursor:pointer}.new-item>summary:hover{background:#fcfdfe}.new-user-form{background:#fafcfe;padding:24px 26px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:19px}.new-user-form>.form-actions,.new-user-form>.help-text,.new-user-form>.errorlist,.new-user-form>.form-errors{grid-column:1/-1}.category-symbol{width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;background:#f0f5f9;color:#91a8bb;border-radius:8px;font-size:18px}.category-item>summary{padding:16px 25px}.storage-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;padding:28px 27px}.storage-layout h3{font-size:13px}.storage-layout>div>p{font-size:11px;line-height:1.8}.setup-steps{padding:0;list-style:none;margin:22px 0 26px;display:flex;flex-direction:column;gap:20px}.setup-steps li{display:flex;gap:11px}.setup-steps li>span{width:23px;height:23px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#edf5f8;border-radius:7px;color:#6e9caa;font-size:10px;font-weight:700}.setup-steps strong{font-size:11px;color:#6b8297;font-weight:600}.setup-steps p{font-size:10px;color:#98a8b8;margin:4px 0 0}.storage-manual{border:1px solid #e7edf3;border-radius:10px;background:#fafcfe;padding:20px;height:fit-content}.storage-manual>.help-text{font-size:9px;margin-bottom:18px}.storage-note{border-top:1px solid #e4ecf3;padding-top:17px;margin-top:23px;color:#93a7b8;font-size:9px}.storage-note strong{font-size:10px;color:#7295a9}.storage-note p{margin:6px 0 0}.storage-manual .stack-form{gap:12px}
/* Sign in */
.guest-main{min-height:100vh}.login-layout{min-height:100vh;display:grid;grid-template-columns:46% 54%}.login-story{background:var(--navy);padding:43px 55px;color:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story:after{content:"";width:450px;height:450px;border-radius:50%;border:1px solid #ffffff08;box-shadow:0 0 0 65px #ffffff02,0 0 0 130px #ffffff02;position:absolute;right:-310px;bottom:-150px;pointer-events:none}.login-story .brand{font-size:26px}.login-story .brand-mark{height:45px;width:45px}.login-story-content{margin:auto 0;padding:70px 0;position:relative;z-index:1;max-width:410px}.eyebrow{font-size:8px;color:#69b5c0;letter-spacing:1.6px;font-weight:650}.login-story h1{font-size:43px;line-height:1.22;letter-spacing:-1.5px;font-weight:650;margin:23px 0 22px}.login-story p{font-size:12px;color:#99b0c6;line-height:1.9;max-width:330px}.story-points{margin-top:34px;display:flex;flex-direction:column;gap:13px;color:#b6c8d8;font-size:10px}.story-points>div{display:flex;align-items:center;gap:10px}.story-points span{display:inline-flex;width:18px;height:18px;background:#2e647226;color:#69b1b4;border:1px solid #63a9b525;border-radius:5px;align-items:center;justify-content:center;font-size:10px}.login-story-footer{font-size:9px;color:#658198;z-index:1}.login-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:55px 45px;background:#fbfcfe}.login-card{max-width:360px;width:100%}.mini-label{display:flex;align-items:center;gap:7px;font-size:7.5px;letter-spacing:1px;font-weight:600;color:#97a9b9;margin-bottom:24px}.mini-label .status-dot{width:5px;height:5px}.login-card h2{font-size:28px;letter-spacing:-.7px;margin-bottom:11px;color:#2e435b}.login-card>.muted{font-size:11px;line-height:1.8;margin-bottom:27px}.login-card .stack-form{gap:18px}.login-card .button{min-height:43px}.login-card .field>label{font-size:10px}.login-card input{font-size:12px}.divider{position:relative;text-align:center;margin:24px 0;color:#a6b3c1;font-size:9px;display:flex;align-items:center;gap:14px}.divider:before,.divider:after{content:"";height:1px;background:#e7edf4;flex:1}.login-card>form+.help-text{font-size:9px;text-align:center;margin-top:10px}.login-access{border-top:1px solid #e7edf3;padding-top:21px;margin-top:29px}.login-access strong{font-size:10px;color:#8599ad;font-weight:550}.login-access p{font-size:9px;color:#a2b1bf;margin:5px 0 0;line-height:1.8}.login-footnote{font-size:9px;color:#b2bdc9;margin:38px 0 0}.standalone-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);max-width:440px;margin:7vh auto;padding:36px;text-align:center}.standalone-card .brand{justify-content:center;margin-bottom:40px}.dark-brand{color:var(--ink)}.dark-brand:hover{color:var(--ink)}.dark-brand small{color:var(--muted)}.standalone-card .telegram-circle{margin:0 auto 20px}.standalone-card h1{font-size:24px}.standalone-card>p{color:#8b9eb0;font-size:12px;line-height:1.8}.standalone-card>.help-text{font-size:10px;margin:19px 0}.standalone-card>.text-link{font-size:11px}.login-wait-state{display:flex;align-items:center;justify-content:center;gap:8px;margin:21px 0!important;font-size:11px!important}.pulse-dot{width:6px;height:6px;border-radius:50%;background:#69a7bb;box-shadow:0 0 0 4px #69a7bb12;animation:pulse 2s ease-in-out infinite}@keyframes pulse{50%{opacity:.4}}.error-page{max-width:560px;text-align:center;margin:12vh auto;padding:25px}.error-code{font-size:87px;color:#d2e0ea;font-weight:650;letter-spacing:-5px}.error-page h1{font-size:25px;margin-top:12px}.error-page p{color:#8a9bae;font-size:12px;line-height:1.9;margin-bottom:26px}.flash-stack{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}.flash{position:relative;background:#edf5fa;border:1px solid #d9e8f1;border-radius:10px;padding:13px 40px 13px 17px;color:#648296;box-shadow:var(--shadow)}.flash>span{font-size:10px;display:block;font-weight:650;margin-bottom:2px}.flash p{font-size:11px;margin:0}.flash.success{background:#eef8f3;border-color:#d6ebdf;color:#4d8e73}.flash.error{background:#fdf0f0;border-color:#f0dada;color:#b3686e}.flash.warning{background:#fffaee;border-color:#eee3c3;color:#b09758}.flash-dismiss{background:none;border:0;position:absolute;top:10px;right:12px;color:inherit;font-size:18px;padding:0 5px;opacity:.7}.guest-main>.flash-stack{position:relative;margin:0;padding:15px;max-width:100%;z-index:10}.guest-main>.flash-stack:empty{display:none}
/* Responsive */
@media(min-width:1600px){.workspace{padding:43px 48px 25px}.page-header{margin-bottom:34px}.stat-grid{gap:23px}.stat-card{padding:24px 25px;min-height:151px}.stat-card strong{font-size:34px}.stat-label{font-size:12px}.stat-note{font-size:10px}.stat-icon{top:24px;right:25px}.ticket-table td{padding-top:21px;padding-bottom:21px}.ticket-title strong{font-size:13px}.ticket-meta,.ticket-number{font-size:10px}.ticket-table th{font-size:10px}.ticket-table td{font-size:12px}.date-cell{font-size:10px!important}.badge{font-size:10px}.detail-layout{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1250px){:root{--sidebar:224px}.sidebar{padding:28px 15px 0}.brand{font-size:21px}.main-nav a{font-size:11px;gap:10px}.nav-label{font-size:8px;letter-spacing:1px}.workspace{padding:28px 25px 20px}.stat-card{padding:17px 16px}.stat-icon{right:14px;top:16px;width:29px;height:29px}.stat-note{font-size:8px}.stat-label{font-size:10px}.stat-card strong{font-size:28px}.stat-grid{gap:12px}.create-layout{grid-template-columns:minmax(0,1fr) 220px;gap:18px}.tip-card{padding:21px 18px}.detail-layout{grid-template-columns:minmax(0,1fr) 245px;gap:17px}.ticket-properties{padding-left:17px;padding-right:17px}.actions-panel{padding:17px}.panel-heading{padding-left:20px;padding-right:20px}.thread{padding-left:19px;padding-right:19px}.message{gap:10px}.message-header time{font-size:8px}.message-role{display:none}.profile-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.storage-layout{grid-template-columns:minmax(0,1fr) 265px;gap:25px}.login-story{padding:38px}.login-story h1{font-size:37px}.login-story-content{padding:60px 0}.login-panel{padding:45px 35px}.login-story p{font-size:11px}}
@media(max-width:1050px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.stat-card{min-height:124px;padding:18px 21px}.stat-label{font-size:11px}.stat-note{font-size:9px}.stat-icon{top:19px;right:20px;width:33px;height:33px}.create-layout{grid-template-columns:minmax(0,1fr)}.create-aside{display:grid;grid-template-columns:1fr 1fr}.tip-card ol{font-size:10px;gap:9px}.detail-layout{grid-template-columns:minmax(0,1fr)}.ticket-sidebar{display:grid;grid-template-columns:1fr 1fr;align-items:start}.ticket-sidebar>.quiet-card{grid-column:1/-1}.detail-heading h1{font-size:23px}.detail-heading>.button{font-size:9px}.profile-layout{grid-template-columns:minmax(0,1fr)}.profile-layout>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.telegram-panel{padding:23px}.profile-layout>aside .quiet-card{padding:12px}.storage-layout{grid-template-columns:1fr}.storage-manual{max-width:450px}.member-role{font-size:9px}.connection-label{display:none}.member-name strong{font-size:10px}.page-header h1{font-size:26px}.page-header>.button{font-size:10px;padding:10px 12px}.filter-row select{min-width:125px}.new-user-form{grid-template-columns:1fr}.login-story h1{font-size:32px}.login-story{padding:34px 29px}.login-story .brand{font-size:24px}.login-layout{grid-template-columns:44% 56%}}
@media(max-width:760px){:root{--sidebar:250px}html{scroll-padding-top:88px}.sidebar{transform:translateX(-100%);transition:transform .2s ease;z-index:110;width:var(--sidebar);padding-top:28px}.sidebar .brand{font-size:23px}.sidebar .main-nav a{font-size:12px}.sidebar .nav-label{font-size:9px}.menu-open .sidebar{transform:translateX(0)}.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:13px 19px;position:sticky;top:0;z-index:80;background:var(--navy);box-shadow:0 2px 8px #122c4615;color:#aec4d5}.mobile-header .brand{font-size:18px;gap:9px}.mobile-header .brand-mark{width:33px;height:33px;border-radius:10px}.mobile-header .brand-mark:before,.mobile-header .brand-mark:after{top:9px;width:3px;height:3px}.mobile-header .brand-mark:before{left:10px}.mobile-header .brand-mark:after{right:10px}.mobile-header .brand-mark span{width:16px;height:8px;left:9px;top:16px;border-width:1.7px}.mobile-header .brand small{font-size:8px;margin-top:3px}.menu-overlay:not([hidden]){display:block;position:fixed;inset:0;background:#0c203c70;backdrop-filter:blur(2px);border:0;z-index:100}.menu-open{overflow:hidden}.workspace{margin-left:0;padding:24px 19px 18px}.page-header{margin-bottom:23px;gap:15px;align-items:flex-start}.page-header h1{font-size:25px}.page-header p{font-size:11px}.page-header>.button{font-size:10px;min-height:36px;white-space:normal;margin-top:27px;max-width:155px}.breadcrumb{font-size:9px;margin-bottom:13px}.stat-grid{gap:12px;margin-bottom:23px}.stat-card{padding:17px 18px;min-height:124px}.stat-card strong{font-size:29px}.stat-icon{top:18px;right:17px}.queue-heading{padding:19px 19px 16px}.queue-heading h2{font-size:16px}.view-label{font-size:8px}.queue-filters{padding:0 19px 17px}.filter-row{gap:7px}.filter-row>div{flex:1 1 140px}.filter-row select{max-width:none;width:100%;font-size:11px;min-height:37px}.filter-row .button{font-size:10px;min-height:35px}.search-field input{font-size:11px}.ticket-table,.ticket-table tbody,.ticket-table tr,.ticket-table td{display:block;min-width:0}.ticket-table thead{display:none}.ticket-table tr{padding:17px 19px;display:grid;grid-template-columns:1fr auto;gap:8px 12px;border-bottom:1px solid var(--line);position:relative}.ticket-table td{padding:0!important;border:0}.ticket-table td.ticket-main{grid-column:1/-1;padding-right:20px!important}.ticket-title{gap:6px}.ticket-title strong{font-size:13px}.ticket-number{font-size:9px}.ticket-meta{font-size:9px;margin-top:5px}.ticket-table td.person-cell{font-size:10px;max-width:none}.ticket-table td:nth-child(3){grid-column:1;grid-row:3}.ticket-table td:nth-child(4){grid-column:2;grid-row:3;text-align:right}.ticket-table td:nth-child(4):before{content:"Ответственный: ";font-size:8px;color:#a2b0bd}.ticket-table td:nth-child(2){grid-column:1;grid-row:2}.ticket-table td.date-cell{grid-column:2;grid-row:2;text-align:right;align-self:center;font-size:9px!important}.date-cell small{display:inline;margin-left:5px}.ticket-table td.row-arrow{position:absolute;right:17px;top:18px;width:20px}.ticket-table .badge{font-size:9px}.table-footer{padding:16px 19px;font-size:8px;flex-wrap:wrap}.workspace-footnote{font-size:8px}.form-panel{padding:24px}.form-actions{flex-wrap:wrap}.field-grid{gap:17px}.create-aside{gap:12px}.tip-card{padding:20px}.quiet-card{padding:20px 8px}.detail-heading{display:block}.detail-heading h1{font-size:23px}.detail-heading>.button{margin-top:15px;max-width:none}.title-line{margin-bottom:10px}.detail-layout{gap:18px}.panel-heading{padding:18px 20px}.thread{padding-left:18px;padding-right:18px}.reply-box{padding:20px 18px}.message-header strong{font-size:11px}.message-header time{font-size:8px}.message-text{font-size:12px}.ticket-sidebar{gap:14px}.history-panel>summary{padding:18px 20px}.attachment-image{flex-basis:160px;max-width:200px}.attachment-image img{height:110px}.profile-layout{gap:20px}.profile-layout>aside{grid-template-columns:1fr 1fr;gap:14px}.profile-layout>aside>.quiet-card{font-size:10px}.management-section{scroll-margin-top:88px;margin-bottom:20px}.management-section>.panel-heading{padding:20px}.management-section>.panel-heading h2{font-size:15px}.management-section>.panel-heading p{font-size:9px}.management-section>.panel-heading>.button{font-size:9px;max-width:120px;white-space:normal}.role-guide{padding:15px 20px;gap:7px}.role-guide>span{font-size:9px}.member-item>summary,.category-item>summary{padding:15px 20px}.member-name strong{font-size:11px}.member-role{font-size:8px;max-width:85px}.member-name small,.category-name small{font-size:8px}.member-form,.category-form,.new-user-form{padding:20px}.new-item>summary{padding:18px 20px}.section-tabs{gap:14px 21px}.section-tabs a{font-size:10px}.storage-layout{padding:24px 20px;gap:25px}.category-name strong{font-size:11px}.login-layout{display:block}.login-story{padding:27px 28px 28px}.login-story .brand{font-size:23px}.login-story-content{margin:0;padding:25px 0 0;max-width:none}.eyebrow{font-size:7px;letter-spacing:1.3px}.login-story h1{font-size:29px;line-height:1.2;margin:13px 0 11px}.login-story h1 br{display:none}.login-story p{font-size:10px;line-height:1.8;max-width:400px;margin-bottom:0}.story-points,.login-story-footer{display:none}.login-story:after{width:250px;height:250px;right:-180px;bottom:-190px}.login-panel{padding:34px 27px 24px}.login-card{max-width:410px}.mini-label{margin-bottom:15px;font-size:7px}.login-card h2{font-size:25px}.login-card>.muted{font-size:11px;margin-bottom:21px}.login-footnote{margin-top:27px}.login-card input{font-size:16px!important}.standalone-card{margin:35px 19px;max-width:none;padding:30px 25px}.error-page{margin-top:7vh}.flash{padding:13px 35px 13px 15px}.flash p{font-size:11px}}
@media(max-width:440px){.workspace{padding:21px 14px 17px}.page-header{flex-wrap:wrap;gap:13px}.page-header>.button{margin-top:0;max-width:none;min-height:36px;font-size:11px}.page-header h1{font-size:24px}.page-header p{font-size:10px}.stat-card{padding:16px 15px;min-height:118px}.stat-label{font-size:10px;max-width:calc(100% - 25px)}.stat-note{font-size:8px}.stat-card strong{font-size:27px}.stat-icon{width:25px;height:25px;right:13px;top:15px;font-size:19px;border-radius:7px}.stat-grid{gap:10px}.queue-heading{padding:17px 15px 15px}.view-label{display:none}.queue-filters{padding-left:15px;padding-right:15px}.filter-row>div{flex-basis:125px}.ticket-table tr{padding:17px 15px;gap:9px}.ticket-table td:nth-child(4):before{content:""}.ticket-title strong{font-size:12px}.ticket-table td.person-cell{font-size:9px}.table-footer{padding:15px}.table-footer>span{width:100%}.pagination{margin-left:auto}.form-panel{padding:21px 18px}.field-grid{grid-template-columns:1fr}.form-actions{gap:8px}.form-actions>.draft-status{width:100%;margin-bottom:4px}.form-actions .button{font-size:10px;padding:9px 11px}.field>label{font-size:11px}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]),select,textarea{font-size:16px}.help-text{font-size:9px}.form-section-heading p{font-size:9px}.create-aside{grid-template-columns:1fr}.create-aside .quiet-card{padding:10px 8px}.tip-card ol{gap:8px}.detail-heading h1{font-size:22px}.detail-heading>.button{font-size:10px}.detail-heading p{font-size:9px}.ticket-sidebar{grid-template-columns:1fr}.ticket-sidebar .info-panel{order:1}.ticket-sidebar .actions-panel{order:0}.ticket-sidebar>.quiet-card{order:2}.ticket-properties{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.thread{padding-left:14px;padding-right:14px}.message{gap:9px;padding:20px 0}.message-avatar{width:25px;height:25px;border-radius:8px;font-size:10px}.message-header{gap:3px 6px;margin-bottom:8px;min-height:24px}.message-header strong{font-size:10px}.message-header time{font-size:7.5px;margin-left:0;width:100%;order:5}.message-text{font-size:11px}.reply-box{padding:19px 15px}.reply-box textarea{font-size:16px}.reply-bottom{align-items:flex-end;gap:8px}.reply-bottom .button{font-size:10px;padding:9px 13px}.compact-upload{gap:4px}.compact-upload input[type=file]{font-size:8px}.compact-upload input[type=file]::file-selector-button{padding:5px;font-size:8px}.compact-upload .help-text{display:none}.attachment{flex-basis:100%;min-width:0}.attachment-image{max-width:100%;flex-basis:100%}.attachment-image img{height:155px}.profile-layout>aside{grid-template-columns:1fr}.profile-layout>aside .quiet-card{padding:5px 8px}.profile-summary h2{font-size:15px}.profile-summary p{font-size:9px}.member-item>summary,.category-item>summary{padding:14px 16px;gap:9px}.member-item>summary>.avatar{width:27px;height:27px;font-size:10px}.member-name strong,.category-name strong{font-size:10px}.member-role{font-size:7px;max-width:70px}.member-name small{font-size:7px}.member-item .badge,.category-item .badge{font-size:7px;padding:3px 5px}.member-item .chevron{margin-left:0}.management-section>.panel-heading{padding:19px 16px;align-items:flex-start}.management-section>.panel-heading h2{font-size:14px}.management-section>.panel-heading>.button{font-size:8px;min-width:95px;max-width:100px;min-height:31px;padding:6px 9px}.management-section>.panel-heading p{font-size:8px}.member-form,.category-form,.new-user-form{padding:19px 16px}.member-form .form-actions,.category-form .form-actions{justify-content:stretch}.member-form .form-actions>.checkbox-label,.category-form .form-actions>.checkbox-label{width:100%;margin-bottom:6px}.new-user-form{gap:17px}.new-item>summary{padding:17px 16px;font-size:10px}.role-guide{padding:14px 16px;gap:5px}.role-guide>span{font-size:8px}.section-tabs{gap:13px;font-size:9px}.section-tabs a{font-size:9px}.storage-layout{padding:22px 17px}.storage-layout>.storage-manual{padding:19px 16px}.setup-steps p{font-size:10px}.storage-layout h3{font-size:12px}.storage-layout>.storage-manual input{font-size:16px}.section-tabs a>span:not(.tab-dot){font-size:8px}.management-section:target{outline:2px solid #9dcbd6;outline-offset:3px}.workspace-footnote{font-size:7px}.error-code{font-size:70px}.error-page h1{font-size:23px}.error-page p{font-size:11px}.error-page .button{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.crm-link{display:block;font-size:9px;font-weight:600;margin-top:5px}
.new-user-form .wide-field{grid-column:1/-1}.new-user-form #id_directions{display:flex;flex-wrap:wrap;gap:10px 20px}.new-user-form #id_directions label{display:flex;align-items:center;gap:7px;font-size:12px;color:#667d91}.new-user-form #id_directions input{width:15px;height:15px;margin:0;accent-color:var(--teal)}
/* Working text stays readable in long queues and conversations. */
.main-nav a{font-size:13px}.page-header p{font-size:13px}.stat-label{font-size:12px}.stat-note{font-size:10px}.ticket-table th{font-size:11px}.ticket-table td{font-size:12px}.ticket-title strong{font-size:14px}.ticket-number,.ticket-meta{font-size:11px}.date-cell{font-size:11px!important}.date-cell small{font-size:10px}.badge{font-size:11px}.person-cell .unassigned{font-size:11px}.field>label{font-size:12px}.help-text{font-size:11px}.form-section-heading p{font-size:11px}.message-header strong{font-size:12px}.message-header time{font-size:10px}.message-text{font-size:13px}.ticket-properties dt{font-size:11px}.ticket-properties dd{font-size:12px}.action-details>summary{font-size:12px}.actions-panel .button{font-size:12px}.member-name strong,.category-name strong{font-size:12px}.member-name small,.category-name small{font-size:11px}.member-role{font-size:11px}.setup-steps strong{font-size:12px}.setup-steps p{font-size:12px}.storage-layout>div>p{font-size:12px}.filter-row select{font-size:12px}.attachment-info strong{font-size:11px}.attachment-info small{font-size:10px}.internal-label{font-size:10px}.event-list p{font-size:12px}.event-list small{font-size:10px}
@media(max-width:760px){.page-header p{font-size:12px}.stat-card{min-height:132px}.stat-label{font-size:11px}.stat-note{font-size:9px}.ticket-title strong{font-size:13px}.ticket-number,.ticket-meta{font-size:10px}.ticket-table td.person-cell{font-size:11px}.ticket-table td.date-cell{font-size:10px!important}.ticket-table .badge{font-size:10px}.field>label{font-size:12px}.help-text{font-size:10px}.message-header strong{font-size:12px}.message-header time{font-size:9px}.message-text{font-size:13px}.member-role{font-size:10px}.member-name small,.category-name small{font-size:10px}.category-name strong,.member-name strong{font-size:12px}.form-section-heading p{font-size:10px}.ticket-properties dt{font-size:11px}.ticket-properties dd{font-size:12px}}
@media(max-width:440px){.stat-card{min-height:129px}.stat-label{font-size:10px}.stat-note{font-size:9px}.ticket-table td.person-cell{font-size:10px}.ticket-table td:nth-child(4){max-width:145px}.member-name strong,.category-name strong{font-size:11px}.member-name small{font-size:9px}.member-role{font-size:9px}.message-header strong{font-size:11px}.message-header time{font-size:9px}.message-text{font-size:13px}.ticket-meta{font-size:10px}.ticket-properties{gap:0 12px}.ticket-properties dd{font-size:12px}.setup-steps p{font-size:12px}}
