.pc{max-width:1450px;margin:0 auto;height:max(600px,calc(100dvh - 125px));display:flex;flex-direction:column}.pc-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.4rem}.pc-heading h1,.pc-heading p{margin:.25rem 0}.pc-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);flex:1 1 auto;min-height:0;border:1px solid var(--admincn-border,#e5e7eb);border-radius:18px;overflow:hidden;background:var(--admincn-card,#fff);box-shadow:0 12px 35px #1921320a}.pc-list{padding:1rem;overflow-y:auto;border-right:1px solid var(--admincn-border,#e5e7eb);min-width:0}.pc-list h2{font-size:1rem;margin:0 0 1rem}.pc-list label{display:grid;gap:.25rem;font-size:.85rem;margin-bottom:.8rem}.pc-compose textarea,.pc-list input,.pc-list select{width:100%;border:1px solid #c9ced5;border-radius:9px;padding:.65rem;color:inherit;background:transparent;font:inherit}.pc-thread{display:grid;gap:.3rem;width:100%;text-align:left;padding:.8rem;border:0;border-radius:10px;color:inherit;background:transparent;cursor:pointer}.pc-compose-meta,.pc-file small,.pc-hint,.pc-message-meta,.pc-thread span{color:var(--admincn-muted-foreground,#647084);font-size:.8rem}.pc-thread--active{background:#ed78251a;box-shadow:inset 3px 0 #e77724}.pc-conversation{min-width:0;min-height:0;display:flex;flex-direction:column}.pc-conversation-head{padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center;gap:.8rem;border-bottom:1px solid var(--admincn-border,#e5e7eb)}.pc-conversation-head h2{font-size:1.05rem;margin:0 0 .35rem}.pc-conversation-head p{margin:.2rem 0 .45rem}.pc-status{color:#a74c0b;background:#fff1e5;padding:.25rem .55rem;border-radius:20px;font-size:.78rem}.pc-actions,.pc-compose-actions,.pc-quick,.pc-recorder{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.pc button:not(.button),.pc-attach{cursor:pointer;font:inherit}.pc-actions button,.pc-alert button,.pc-attach,.pc-file button,.pc-quick button,.pc-recorder button,.pc-upload button{border:1px solid #d5d8dc;color:inherit;background:transparent;border-radius:8px;padding:.45rem .65rem}.pc button:disabled{opacity:.55;cursor:not-allowed}.pc-messages{flex:1 1 140px;min-height:140px;overflow:auto;padding:1.25rem;display:flex;flex-direction:column;gap:.8rem;background:color-mix(in srgb,currentColor 3%,transparent)}.pc-message{max-width:min(80%,680px);padding:.8rem 1rem;border-radius:14px;background:var(--admincn-card,#fff);border:1px solid var(--admincn-border,#e5e7eb);overflow-wrap:anywhere}.pc-message--user{align-self:flex-end;background:#fff2e6;color:#342318}.pc-message--note{background:#fff7d9;color:#4a3913;border-color:#eddda0}.pc-message-meta{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:space-between}.pc-message p{white-space:pre-wrap;margin:.5rem 0 0}.pc-file{display:grid;gap:.3rem;margin-top:.6rem}.pc-file audio{max-width:100%}.pc-quick{padding:.7rem 1rem;border-top:1px solid var(--admincn-border,#e5e7eb);font-size:.84rem}.pc-quick small{width:100%}.pc-compose{flex:0 1 auto;max-height:min(60%,360px);overflow-y:auto;padding:1rem;border-top:1px solid var(--admincn-border,#e5e7eb);display:grid;gap:.45rem}.pc-compose textarea{resize:vertical;min-height:70px}.pc-compose-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.4rem}.pc-compose-actions .button{margin-left:auto}.pc-attach input{position:absolute;width:1px;height:1px;opacity:0}.pc-attach:focus-within{outline:2px solid #c65b10}.pc-upload{flex-wrap:wrap;font-size:.85rem}.pc-note,.pc-upload{display:flex;align-items:center;gap:.5rem}.pc-empty{margin:auto;padding:2rem;text-align:center}.pc-alert{border:1px solid #e4b672;border-radius:10px;padding:.8rem;margin-bottom:1rem}.pc-conversation>.pc-hint{padding:.5rem 1.25rem;margin:0}@media(max-width:700px){.pc{height:auto}.pc-heading{align-items:flex-start;flex-direction:column}.pc-layout{display:flex;flex-direction:column;min-height:0}.pc-list{border-right:0;border-bottom:1px solid var(--admincn-border,#e5e7eb);max-height:320px;overflow:auto}.pc-conversation-head{align-items:flex-start;flex-direction:column}.pc-messages{flex:none;height:42vh;min-height:230px}.pc-compose{max-height:none;overflow:visible}.pc-message{max-width:92%}.pc-compose-actions .button{margin-left:0}.pc-empty{min-height:200px}}@media(min-width:701px){.pc-heading{margin-bottom:.7rem}.pc-compose{padding:.5rem .75rem;gap:.25rem}.pc-compose textarea{height:60px;min-height:60px}}