:root{font-family:system-ui,PingFang SC,sans-serif;color:#17281e;background:#f1f5ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit}.top{height:64px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 max(1rem,calc((100vw - 1120px)/2));background:#172a21;color:#f4f8f1}.brand{display:flex;align-items:baseline;gap:.65rem;text-decoration:none}.brand b{font-size:1.2rem;letter-spacing:.06em}.brand span{font-size:.76rem;color:#c2d2c2;white-space:nowrap}.top nav{display:flex;gap:1rem;white-space:nowrap}.top nav a{font-size:.9rem;color:#d0ddcf;text-decoration:none}.top nav a[aria-current]{color:#d4f39d;text-decoration:underline;text-underline-offset:.4rem}.container{max-width:1160px;padding:1.55rem 1.25rem 2rem;margin:auto}h1{font-size:clamp(1.4rem,4vw,2rem);margin:0 0 1.2rem}h2{font-size:1rem;margin:0}h3{font-size:1rem;margin:1.5rem 0 .6rem}.panel{background:#fff;border:1px solid #dce6da;border-radius:14px;box-shadow:0 4px 16px #26472509}.form{padding:clamp(.85rem,2.5vw,1.65rem)}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:1rem}label{display:flex;flex-direction:column;gap:.4rem;font-size:.87rem;font-weight:600}input:not([type=checkbox]),select,textarea{width:100%;border:1px solid #c7d4c7;background:#fafcf9;color:#17281e;border-radius:7px;padding:.63rem .7rem;font:inherit;min-width:0}textarea{min-height:70px;resize:vertical}input[type=checkbox]{accent-color:#426c20;margin:0;width:1rem;height:1rem}label.inline,.switches label,.queue label{flex-direction:row;align-items:center}.switches,.tabs,.actions{display:flex;flex-wrap:wrap;gap:.55rem}.switches{gap:1.2rem;margin-bottom:1.2rem}.actions{margin-top:1rem}.tabs{margin-bottom:1rem}button{cursor:pointer;font:inherit;font-size:.86rem;font-weight:650;border:1px solid transparent;border-radius:7px;padding:.55rem .83rem;background:#416c20;color:#fff}button.secondary{background:#f3f7f1;border-color:#d4dfd3;color:#274128}button.selected{background:#d9edc2;border-color:#bbd7a3;color:#243925}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid #507b31;outline-offset:2px}button.danger{color:#963044}p[role=status],p[role=alert],.hint{font-size:.87rem;color:#435d46}p[role=alert]{color:#963044}p[role=status]:empty{display:none}.quick-edit{border:1px solid #d9e3d7;border-radius:9px;padding:.85rem;margin:.75rem 0}.quick-edit legend{font-size:.85rem;font-weight:650;padding:0 .35rem}.table-scroll{overflow-x:auto;margin-top:1rem}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:.83rem;text-align:left}th,td{padding:.65rem;border-bottom:1px solid #e0e8df}th{background:#f1f6ef}.login{max-width:410px;margin:4rem auto;padding:0 1rem}.login form button{width:100%;margin-top:1rem}.exit{position:absolute;top:78px;right:max(1.3rem,calc((100vw - 1120px)/2))}.workspace{display:grid;grid-template-columns:minmax(200px,29%) 1fr;min-height:min(660px,76dvh)}.queue{border-right:1px solid #dce6da;padding:.9rem;max-height:76dvh;overflow:auto}.queue header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.6rem}.queue label{font-size:.7rem}.queue-row{display:flex;flex-direction:column;gap:.24rem;text-align:left;width:100%;background:#f6f9f5;color:#243925;margin-bottom:.45rem}.queue-row span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.queue-row small{color:#527050}.conversation{padding:.9rem;min-width:0;display:flex;flex-direction:column}.thread-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.7rem;padding:.2rem .1rem .8rem;margin-bottom:.55rem;border-bottom:1px solid #dde7dc}.thread-identity,.thread-actions{display:flex;align-items:center;gap:.65rem;min-width:0}.thread-actions{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.thread-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;flex:none;background:#e6efdf;color:#365933;font-weight:700}.thread-details h2{display:flex;align-items:baseline;flex-wrap:wrap;gap:.4rem}.thread-details h2 span,.thread-details p{font-size:.75rem;color:#537058;font-weight:500}.thread-details p{margin:.23rem 0 0}.thread-details p strong{font-weight:650;color:#344e37}.thread-status{display:inline-flex;align-items:center;gap:.33rem;white-space:nowrap;background:#edf2ec;color:#435945;border-radius:20px;padding:.32rem .55rem;font-size:.75rem}.thread-status:before{content:"";border-radius:50%;width:.42rem;height:.42rem;background:currentColor}.thread-status.open{background:#fce7e7;color:#9d252a}.thread-status.resolved{background:#e0f2e5;color:#25623a}.queue-row .thread-status{padding:.17rem .45rem;max-width:none}.chat-log{display:flex;flex-direction:column;flex:1;gap:.6rem;overflow:auto;height:42dvh;padding:.4rem}.chat-log article{background:#edf2ec;border-radius:9px;padding:.55rem .65rem;align-self:flex-start;max-width:84%;overflow-wrap:anywhere}.chat-log article:not(.user){align-self:flex-end;background:#e2efcf}.chat-log p{margin:.3rem 0;white-space:pre-wrap}.chat-log span,.chat-log time{font-size:.71rem;color:#4c6550}.chat-log img{display:block;max-width:min(210px,100%);max-height:150px}.reply{display:flex;align-items:flex-end;gap:.5rem;margin-top:.7rem}.reply textarea{min-height:2.5rem}.reply button{white-space:nowrap}.no-selection{text-align:center;margin:auto;color:#537058}.sr-only{position:absolute;margin:-1px;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:610px){.top{height:auto;min-height:60px;gap:.6rem;padding-block:.7rem}.brand span{display:none}.workspace{display:flex;flex-direction:column}.queue{border-right:0;border-bottom:1px solid #dce6da;max-height:13rem}.section-tabs{gap:.35rem}.section-tabs button{padding:.45rem}}.audit-detail{margin-top:1rem;padding-top:1rem;border-top:1px solid #dce6da}.audit-detail .actions{align-items:center}.audit-message{border:1px solid #dce6da;padding:.65rem;border-radius:.55rem;margin:.5rem 0;overflow-wrap:anywhere}.audit-message p{white-space:pre-wrap}.audit-message time{margin-left:.55rem;font-size:.75rem;color:#48644b}.audit-message.user{background:#eaf4e1}.audit-message.removed,.chat-log article.removed{background:#eaefea}.audit-message.removed p,.chat-log article.removed p{text-decoration:line-through}.audit-message.note,.chat-log article.note{background:#fff4d2}.audit-message button{margin-left:.65rem}.message-remove{margin-left:.5rem;padding:.18rem .4rem}.chat-log article small{margin-left:.4rem}.reply{flex-wrap:wrap}.reply textarea{flex:1 1 14rem}.agent-file-chip{display:inline-flex;align-items:center;gap:.35rem;min-width:0;max-width:100%;font-size:.84rem}.agent-file-chip>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.queue-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin:.5rem 0 .8rem;color:#4a6150;font-size:.78rem}.queue-toolbar button{padding:.3rem .5rem}.queue-toolbar [aria-pressed=true]{background:#deedce;color:#2c4e27}.queue-row.unread{background:#eef6e7;border-color:#c2d9b2}.queue-row-heading,.queue-row-summary{display:flex;width:100%;gap:.35rem;align-items:center;justify-content:space-between}.queue-row-heading b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue-row-heading time{flex:none;font-size:.69rem;font-weight:500;color:#536657;font-variant-numeric:tabular-nums}.queue-row .queue-unread{flex:none;min-width:1.25rem;padding:.12rem .33rem;border-radius:20px;text-align:center;background:#416c20;color:#fff;font-size:.72rem;font-weight:700}.agent-file-chip img{width:32px;height:32px;object-fit:cover;border-radius:5px;background:#eaf0e7}.queue-row .queue-email{display:block;width:100%;color:#4a6150;font-size:.74rem}.thread-details{min-width:0}.thread-details .thread-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.75rem}.avatar-setting{display:flex;gap:.65rem;min-width:0;align-items:flex-start;padding:.65rem;border:1px solid #dce6da;border-radius:9px}.avatar-setting>div{min-width:0}.avatar-setting button{margin-top:.4rem}.avatar-sample{flex:0 0 42px;height:42px;display:grid;place-items:center;border-radius:50%;overflow:hidden;font-size:.67rem;background:#eaf2e3;color:#375a30}.avatar-sample img{width:100%;height:100%;object-fit:cover}.audit-hierarchy{margin-bottom:1rem;padding-bottom:.25rem;border-bottom:1px solid #dce6da}.audit-hierarchy button span{margin-left:.25rem;font-size:.75rem;font-variant-numeric:tabular-nums}.customer-alias-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:.55rem;margin:0 0 .65rem;padding:.65rem;border:1px solid #dce6da;border-radius:9px}.customer-alias-form label{flex:1 1 12rem}
