
:root{--labeler-red:#e51d2a;--labeler-ink:#1f2937;--labeler-line:#d9dee7;--labeler-soft:#f7f8fa}
.labeler-chat-page{position:fixed;inset:0;z-index:9000;background:#f8fafc;color:var(--labeler-ink);display:flex;flex-direction:column;min-height:100dvh;overflow:hidden;font-family:Inter,Pretendard,"Noto Sans KR",Arial,sans-serif}
.labeler-chat-page.hidden{display:none!important}.labeler-chat-header{height:74px;min-height:74px;display:grid;grid-template-columns:88px 1fr 88px;align-items:center;padding:0 22px;border-bottom:1px solid #e7ebf1;background:rgba(255,255,255,.96)}
.labeler-chat-logo{display:block;justify-self:center;width:auto;height:74px;max-height:74px;max-width:min(420px,70vw);object-fit:contain}.labeler-close-btn{justify-self:end;border:0;background:transparent;color:#4b5563;font-size:15px;font-weight:800;padding:12px;cursor:pointer}.labeler-header-spacer{width:1px}
.labeler-chat-layout{height:calc(100dvh - 74px);display:grid;grid-template-rows:80% 20%;min-height:0}.labeler-response-panel{position:relative;min-height:0;overflow:auto;padding:clamp(22px,4vw,52px) clamp(18px,4vw,54px);background:linear-gradient(145deg,#fff 0%,#f8fafc 74%,#f3f7fb 100%)}
.labeler-intro{max-width:850px;margin:auto;padding-top:min(9vh,88px)}.labeler-agent-title{font-size:clamp(25px,3vw,34px);font-weight:750;letter-spacing:-.03em;display:flex;align-items:center;gap:9px}.labeler-sparkle{color:#4355dc;font-size:27px}.labeler-agent-description{max-width:760px;margin:10px 0 30px;color:#6b7280;font-size:clamp(14px,1.6vw,17px);line-height:1.7;word-break:keep-all}
.labeler-quick-prompts{display:grid;gap:12px}.labeler-quick-prompt{width:100%;text-align:left;padding:16px 18px;border:1.5px solid var(--labeler-red);border-radius:15px;background:#fff;color:#374151;font-size:14px;cursor:pointer;box-shadow:0 8px 24px rgba(30,41,59,.04)}.labeler-quick-prompt:hover{background:#fff7f7}.labeler-conversation{max-width:900px;margin:0 auto;display:grid;gap:14px}.labeler-conversation:empty{display:none}.labeler-conversation:not(:empty)+*{}.labeler-response-panel.has-conversation .labeler-intro{display:none}
.labeler-message{max-width:86%;padding:14px 17px;border-radius:18px;line-height:1.65;white-space:pre-wrap;word-break:break-word;font-size:15px}.labeler-message.user{justify-self:end;background:#1f2937;color:#fff;border-bottom-right-radius:5px}.labeler-message.assistant{justify-self:start;background:#fff;border:1px solid #e5e7eb;color:#263244;border-bottom-left-radius:5px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.labeler-message.error{border-color:#fecaca;color:#991b1b;background:#fff7f7}.labeler-typing{opacity:.68;font-style:italic}
.labeler-input-panel{min-height:0;background:#fff;border-top:1px solid #e3e8ef;padding:10px clamp(16px,4vw,46px) max(10px,env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center}.labeler-personal-message{max-width:900px;width:100%;margin:0 auto 7px;color:#566174;font-size:12px}.labeler-input-card{max-width:1100px;width:100%;margin:0 auto;display:grid;grid-template-columns:1fr 84px;grid-template-rows:minmax(48px,1fr) auto 24px;gap:6px 10px;border:1px solid #d8dee8;border-radius:17px;padding:10px 11px 7px;background:#fff;box-shadow:0 10px 30px rgba(35,45,70,.07);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.labeler-input-card.drag-over{border-color:var(--labeler-red);box-shadow:0 0 0 4px rgba(229,29,42,.10),0 10px 30px rgba(35,45,70,.07);background:#fff8f8}.labeler-question-row{grid-column:1;grid-row:1;display:flex;align-items:flex-start;gap:8px;min-width:0}.labeler-upload-controls{position:relative;flex:0 0 auto;display:flex;align-items:center;gap:7px}.labeler-add-image-btn{width:38px;height:38px;flex:0 0 38px;border:0;border-radius:8px;background:var(--labeler-red);color:#fff;font-size:28px;font-weight:400;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 5px 12px rgba(229,29,42,.22)}.labeler-add-image-btn:hover{filter:brightness(.96)}.labeler-photo-upload-btn{position:absolute;left:0;bottom:46px;z-index:4;white-space:nowrap;min-height:38px;padding:0 13px;border:1px solid #f1a4ad;border-radius:9px;background:#fff;color:#c9182b;font-size:12px;font-weight:850;cursor:pointer;box-shadow:0 8px 22px rgba(30,41,59,.12)}.labeler-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.labeler-image-preview{grid-column:1/3;grid-row:2;display:grid;gap:8px;padding:8px 10px;border:1px solid #f2c4c9;border-radius:11px;background:#fff7f8;min-width:0}.labeler-image-preview-item{display:flex;align-items:center;gap:10px;min-width:0}.labeler-image-preview.hidden{display:none!important}.labeler-image-preview img{width:48px;height:48px;border-radius:9px;object-fit:cover;border:1px solid #ead7da}.labeler-image-preview-info{min-width:0;flex:1}.labeler-image-preview-name{font-size:12px;font-weight:850;color:#3f4651;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.labeler-image-preview-hint{font-size:10px;color:#8a6570;margin-top:3px}.labeler-image-remove{width:30px;height:30px;border:0;border-radius:50%;background:#fff;color:#b21629;font-size:17px;font-weight:900;cursor:pointer}.labeler-drop-hint{font-size:10px;color:#9a6570;margin-left:auto}
#labelerQuestionInput{flex:1 1 auto;min-width:0;width:100%;min-height:44px;max-height:90px;border:0;outline:0;resize:none;background:transparent;color:#273244;font:inherit;padding:8px 6px}#labelerQuestionInput::placeholder{color:#9aa3b3}.labeler-send-btn{grid-column:2;grid-row:1;border:0;border-radius:12px;background:var(--labeler-red);color:#fff;font-weight:850;cursor:pointer}.labeler-send-btn:disabled{opacity:.45;cursor:default}.labeler-input-meta{grid-column:1/3;grid-row:3;display:flex;align-items:center;gap:16px;color:#6b7280;font-size:11px;padding:0 4px}.labeler-auto-label{display:flex;align-items:center;gap:6px;cursor:pointer}.labeler-auto-label input{display:none}.labeler-switch{width:26px;height:15px;background:#cbd5e1;border-radius:999px;position:relative}.labeler-switch:after{content:"";width:11px;height:11px;background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;transition:.2s}.labeler-auto-label input:checked+.labeler-switch{background:#5667d8}.labeler-auto-label input:checked+.labeler-switch:after{transform:translateX(11px)}
@media(max-width:640px){.labeler-chat-header{height:62px;min-height:62px;grid-template-columns:62px 1fr 62px;padding:0 10px}.labeler-chat-logo{height:62px;max-height:62px;max-width:68vw;object-fit:contain}.labeler-chat-layout{height:calc(100dvh - 62px)}.labeler-response-panel{padding:18px 14px}.labeler-intro{padding-top:5vh}.labeler-agent-title{font-size:24px}.labeler-agent-description{font-size:13px;margin-bottom:18px}.labeler-quick-prompt{padding:13px 14px;font-size:13px}.labeler-input-panel{padding-left:10px;padding-right:10px}.labeler-input-card{grid-template-columns:1fr 70px}.labeler-message{max-width:94%;font-size:14px}}

/* v2026.11.22.5 - photo upload */
@media(max-width:640px){.labeler-add-image-btn{width:36px;height:36px;flex-basis:36px;font-size:26px}.labeler-photo-upload-btn{left:0;bottom:43px}.labeler-question-row{gap:5px}.labeler-image-preview{padding:7px 8px}.labeler-image-preview img{width:42px;height:42px}}
