:root{--bg:#f3f5f4;--paper:#fff;--ink:#25312d;--muted:#69736e;--line:#dce2dd;--green:#376556;--soft:#e8f0eb;--dark:#25332e;--amber:#846227;font-family:'Pretendard Variable',system-ui,-apple-system,'Apple SD Gothic Neo',sans-serif;color:var(--ink);background:var(--bg);font-variant-numeric:tabular-nums;font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:13px;line-height:1.6;height:100dvh;overflow:hidden}button,input,select,textarea{font:inherit;color:inherit}button{min-height:34px;border:1px solid #c1cbc4;border-radius:4px;background:#fff;padding:6px 11px;cursor:pointer}button:hover{border-color:#7b9586;background:#f0f5f1}button:disabled{cursor:not-allowed;opacity:.5}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#294f42}.quiet{border:0;background:transparent}.small{font-size:11px;min-height:30px;padding:4px 9px}input,select,textarea{border:1px solid #bdc9c0;background:#fff;border-radius:4px;padding:7px 10px;min-width:0}select,input{height:36px}textarea{resize:vertical;width:100%;line-height:1.7}a{color:inherit}:focus-visible{outline:3px solid #699c87;outline-offset:2px}[hidden]{display:none!important}.sr{position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);overflow:hidden}.skip{position:fixed;left:10px;top:-70px;z-index:1000;background:white;padding:12px}.skip:focus{top:8px}.top{height:59px;background:var(--dark);color:#fff;display:flex;align-items:center;gap:24px;padding:0 24px}.brand{font-size:23px;font-weight:700;letter-spacing:-1.3px;text-decoration:none;white-space:nowrap}.brand span{font-size:13px;font-weight:400;letter-spacing:.1px;margin-left:9px;color:#c7d4cc}.workspace{font-size:12px;color:#e0e8e2}.demo{margin-left:auto;font-size:10px;border:1px solid #73897c;padding:2px 7px;border-radius:3px}.top .quiet{font-size:11px;color:#e4ebe6}.agent{font-size:12px;border-left:1px solid #627769;padding-left:20px}.desk{height:calc(100dvh - 59px);display:grid;grid-template-columns:325px minmax(350px,1fr) 278px;max-width:2000px;margin:auto}.queue{background:#f8faf8;display:flex;flex-direction:column;border-right:1px solid var(--line);min-height:0;min-width:0}.queue-head{padding:24px 20px 17px;display:flex;justify-content:space-between;align-items:center;gap:10px}.queue-head>div{display:flex;gap:9px;align-items:baseline}h1{font-size:22px;letter-spacing:-.6px;margin:0;font-weight:650}.queue-head span{color:var(--muted);font-size:11px}.filters{padding:0 16px 13px;border-bottom:1px solid var(--line)}.filters>input{width:100%;font-size:12px;background:white}.status-tabs{display:flex;gap:13px;margin:14px 0 11px}.status-tabs button{padding:3px 0;border:0;border-bottom:2px solid transparent;background:none;border-radius:0;font-size:12px;min-height:29px;color:var(--muted);white-space:nowrap}.status-tabs button[aria-pressed=true]{color:var(--green);border-bottom-color:var(--green);font-weight:650}.status-tabs button span{font-size:10px;margin-left:4px}.filter-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.filter-row select{font-size:11px;width:100%;height:32px;padding:5px 7px}.filter-row select:last-child{grid-column:1/-1}.ticket-list{overflow-y:auto;flex:1;min-height:0}.ticket{position:relative;width:100%;border:0;border-bottom:1px solid #e4e9e5;border-radius:0;text-align:left;background:transparent;padding:17px 20px;display:block}.ticket:hover{background:#f0f4f1}.ticket[aria-current=true]{background:#e9f0eb;box-shadow:inset 3px 0 var(--green)}.ticket-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);gap:12px;margin-bottom:5px}.ticket-title{font-size:13px;font-weight:600;display:block;line-height:1.6;letter-spacing:-.1px;margin-bottom:6px}.ticket-preview{font-size:11px;color:#6d7771;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:8px;line-height:1.6}.ticket-bottom{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.status{display:inline-block;font-size:10px;padding:1px 6px;border:1px solid #cddacf;border-radius:3px;background:#edf3ee;color:#486655;white-space:nowrap}.status.waiting{background:#f9f2e5;color:#82612b;border-color:#e3d5b9}.status.open{background:#edf1f7;color:#4d627b;border-color:#d0dbe7}.priority{font-size:10px;color:#915545}.queue-foot{padding:10px 16px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);background:#f7faf8}.detail{display:flex;flex-direction:column;background:white;min-width:0;min-height:0}.detail-head{padding:23px 27px 15px;border-bottom:1px solid var(--line)}.detail-topline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}.ticket-reference{font-size:11px;color:var(--muted)}.detail-head h2{font-size:20px;font-weight:650;line-height:1.5;letter-spacing:-.5px;margin:0 0 12px;overflow-wrap:anywhere}.detail-actions{display:flex;gap:7px;flex-wrap:wrap}.back,.context-toggle{display:none}.detail-properties{display:flex;align-items:center;gap:14px;padding:11px 27px;border-bottom:1px solid var(--line);background:#fbfcfa;flex-wrap:wrap}.detail-properties label{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px}.detail-properties select{height:30px;font-size:11px;max-width:150px;padding:3px 6px}.detail-properties .status{margin-left:auto}.thread{flex:1;min-height:110px;overflow:auto;padding:24px 28px 8px;background:#fff}.thread-date{text-align:center;font-size:10px;color:#758177;margin-bottom:21px}.message{padding-bottom:23px;max-width:100%;display:flex;align-items:flex-start;gap:12px}.message-avatar{flex:none;width:29px;height:29px;display:grid;place-items:center;background:#e4eae6;border-radius:50%;color:#64746a;font-size:10px}.message.reply .message-avatar{background:#dfece5;color:#3c7158}.message.note .message-avatar{background:#f3e9d4;color:#8a713c}.message-body{flex:1;min-width:0}.message-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-bottom:7px}.message-meta strong{font-size:12px;color:var(--ink);font-weight:600}.message-text{border:1px solid var(--line);background:#fafbf9;border-radius:1px 7px 7px 7px;padding:12px 15px;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.message.reply .message-text{background:#f0f6f2;border-color:#dce8df}.message.note .message-text{background:#fbf5e8;border-color:#e7dcc4}.system-event{font-size:10px;color:var(--muted);margin:0 0 15px;padding-left:41px;line-height:1.8;overflow-wrap:anywhere}.attachment{margin-top:10px;min-height:34px;padding:6px 10px;font-size:11px;background:white}.composer{border-top:1px solid var(--line);padding:13px 25px 18px;background:#fcfdfa}.composer-tabs{display:flex;align-items:center;gap:14px;margin-bottom:9px}.composer-tabs button{font-size:12px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;min-height:30px;padding:4px 0;color:var(--muted)}.composer-tabs button[aria-pressed=true]{border-bottom-color:var(--green);color:var(--green);font-weight:600}.composer-tabs .draft-label{margin-left:auto;font-size:10px;color:var(--muted)}.composer-tabs .draft-label.saved{color:#477461}.composer textarea{min-height:92px;height:105px;border-color:#c6d1c8;font-size:13px}.composer.note-mode textarea{background:#fffaf0;border-color:#d7c9a8}.compose-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:9px 0}.compose-options select{font-size:11px;height:29px;max-width:240px;padding:3px 7px}.compose-options label{font-size:10px;display:flex;align-items:center;gap:5px;color:var(--muted)}.compose-options input{width:13px;height:13px;margin:0}.compose-footer{display:flex;align-items:center;justify-content:space-between;gap:15px}.compose-footer p{font-size:10px;color:var(--muted);margin:0;line-height:1.7}.compose-footer button{font-size:12px;flex:none}.resolved-box{padding:18px 25px;background:#f2f6f2;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.resolved-box strong{font-size:13px;display:block}.resolved-box p{font-size:11px;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}.context{border-left:1px solid var(--line);padding:23px 21px;overflow:auto;min-width:0;background:#f8faf8}.context-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.context-head h2{font-size:14px;font-weight:650;margin:0}.context-close{display:none}.context-block{padding-bottom:23px;margin-bottom:21px;border-bottom:1px solid var(--line)}.context-block h3{font-size:10px;letter-spacing:.6px;color:var(--muted);font-weight:600;margin:0 0 10px}.customer-title{font-size:17px;font-weight:600;letter-spacing:-.4px}.context p{font-size:11px;color:var(--muted);margin:6px 0 0;line-height:1.8}.context dl{margin:14px 0 0;font-size:11px}.context dl>div{display:flex;justify-content:space-between;gap:16px;margin:8px 0}.context dt{color:var(--muted);white-space:nowrap}.context dd{margin:0;text-align:right;overflow-wrap:anywhere}.order-item{padding:13px;background:white;border:1px solid var(--line);border-radius:4px;margin-top:12px}.order-item strong{font-size:12px;font-weight:550;line-height:1.8;display:block}.order-item span{font-size:15px;display:block;margin-top:8px;font-weight:600}.context .attachment{width:100%;text-align:left;font-size:10px}.context .note{font-size:10px;border:1px solid #dce2d8;background:#eef3ec;padding:10px;line-height:1.8;color:#60735f}.empty{padding:45px 24px;text-align:center;color:var(--muted);font-size:12px}.empty p{margin:8px 0 15px}.compose-error,.storage-warning{padding:9px 12px;border:1px solid #e4c7b7;background:#fdf0e7;color:#925537;font-size:12px;margin-bottom:10px}.storage-warning{position:fixed;top:59px;left:325px;right:278px;z-index:5;margin:0}.storage-warning:not([hidden])~.desk .detail{padding-top:50px}dialog{width:510px;max-width:calc(100vw - 26px);max-height:calc(100dvh - 36px);border:1px solid var(--line);border-radius:7px;padding:0;background:#fff;color:var(--ink);box-shadow:0 24px 70px #15243835}dialog::backdrop{background:#21362b70}.dialog-head{padding:20px 22px;display:flex;justify-content:space-between;align-items:flex-start;gap:14px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:18px;letter-spacing:-.4px;margin:0}.dialog-head p{font-size:11px;color:var(--muted);margin:5px 0 0}.dialog-body{padding:22px}.dialog-body p{font-size:13px;line-height:1.9;margin:0 0 12px}.dialog-body label{display:grid;gap:7px;font-size:12px}.dialog-body textarea{min-height:105px}.dialog-footer{border-top:1px solid var(--line);padding:15px 22px;display:flex;justify-content:flex-end;gap:8px}.scrim{position:fixed;inset:59px 0 0;background:#13281a50;z-index:20}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#253f32;color:white;font-size:12px;border-radius:5px;padding:12px 17px;max-width:calc(100vw - 24px);box-shadow:0 6px 24px #15231830;z-index:300}
@media(min-width:1550px){.desk{grid-template-columns:360px minmax(500px,1fr) 305px}.detail-head{padding:25px 36px 17px}.thread{padding:27px 36px 10px}.composer{padding:14px 36px 22px}.context{padding:26px}.storage-warning{left:360px;right:305px}}@media(max-width:1190px){.desk{grid-template-columns:300px minmax(0,1fr)}.context{display:none}.context-toggle{display:block}.context-open .context{display:block;position:fixed;top:59px;bottom:0;right:0;width:310px;z-index:30;background:#f8faf8;box-shadow:-12px 0 35px #142c2020}.context-close{display:block}.storage-warning{left:300px;right:0}.detail-head{padding:20px}.detail-properties{padding:10px 20px}.thread{padding:22px 20px 8px}.composer{padding:13px 20px 17px}.compose-options{align-items:flex-start;flex-wrap:wrap}}@media(max-width:750px){.top{height:54px;padding:0 15px;gap:15px}.brand{font-size:20px}.brand span{font-size:11px}.workspace,.agent{display:none}.demo{font-size:9px}.top .quiet{font-size:10px;padding:5px}.desk{display:block;height:calc(100dvh - 54px)}.queue{height:100%;border:0}.queue-head{padding:21px 20px 15px}.filters{padding:0 20px 14px}.filter-row{grid-template-columns:1fr 1fr 1fr}.filter-row select:last-child{grid-column:auto}.status-tabs{gap:20px}.ticket{padding:17px 20px}.ticket-title{font-size:14px}.ticket-preview{font-size:12px}.detail{display:none;height:100%}.mobile-detail .queue{display:none}.mobile-detail .detail{display:flex}.back{display:block}.context-toggle{display:block}.detail-head{padding:14px 17px 12px}.detail-head h2{font-size:18px;margin-bottom:10px;line-height:1.55}.detail-topline{margin-bottom:8px}.detail-actions{gap:5px}.detail-actions button{font-size:11px}.detail-properties{padding:9px 17px;gap:9px}.detail-properties label{gap:5px}.detail-properties select{max-width:108px}.detail-properties .status{margin-left:0}.thread{padding:20px 17px 8px}.message{gap:9px;padding-bottom:20px}.message-avatar{width:25px;height:25px;font-size:9px}.message-text{padding:10px 12px;font-size:12px}.message-meta strong{font-size:11px}.composer{padding:10px 15px 12px}.composer textarea{min-height:70px;height:76px;font-size:13px}.composer-tabs{gap:14px;margin-bottom:6px}.composer-tabs button{font-size:11px}.composer-tabs .draft-label{font-size:9px}.compose-options{margin:6px 0;gap:6px}.compose-options select{max-width:190px;font-size:10px;height:27px}.compose-options label{font-size:9px}.compose-footer{gap:10px}.compose-footer button{font-size:11px;padding:5px 9px;min-height:32px}.compose-footer p{font-size:9px;line-height:1.6}.context-open .context{top:54px;max-width:calc(100vw - 25px)}.scrim{top:54px}.storage-warning{top:54px;left:0;right:0;font-size:11px}.resolved-box{padding:16px;align-items:flex-start}.resolved-box button{font-size:11px;flex:none}}@media(max-height:700px) and (max-width:750px){.detail-head{padding-top:10px;padding-bottom:8px}.detail-head h2{font-size:16px;margin-bottom:6px}.detail-properties{padding-top:6px;padding-bottom:6px}.composer textarea{min-height:58px;height:62px}.thread{min-height:80px}.compose-options{display:none}.composer-tabs{margin:0 0 3px}.composer{padding-top:6px;padding-bottom:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
