:root{--bg:#f7f8fa;--ink:#202a32;--muted:#5d6d64;--line:#e7ebed;--green:#236b52;--light:#eaf4ee;--purple:#7465a6;--amber:#ab7830}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;color:var(--ink);background:var(--bg);font-size:1.0625rem;letter-spacing:-.3px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button,input,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--green)}button{border:0}a{color:var(--green)}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:34px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:9px;font-size:1.4375rem;font-weight:750;text-decoration:none;color:var(--ink);letter-spacing:-1px}.brand>span:last-child{font-size:1.125rem;color:var(--muted);font-weight:400}.logo{display:grid;place-items:center;background:var(--green);color:#fff;width:34px;height:34px;border-radius:10px;font-size:1.75rem;font-family:Georgia,serif;font-weight:700}.store-label{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:14px 10px;margin:34px 0 22px;font-size:0.875rem;font-weight:600;letter-spacing:-.5px}.store-label small{display:block;margin-top:6px;color:var(--muted);font-size:0.875rem;font-weight:400}.store-icon{font-size:1.375rem;color:#7a9084}.nav-caption{font-size:0.875rem;letter-spacing:1.6px;color:#a0a8ad;margin:12px}.nav{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border-radius:8px;background:transparent;padding:14px;margin-bottom:6px;color:#748087;font-weight:550}.nav>span{font-size:1.1875rem;width:20px}.nav.active{background:var(--light);color:var(--green)}.nav b{margin-left:auto;background:#fff;border-radius:5px;min-width:22px;padding:3px;text-align:center;font-size:0.875rem}.sidebar-bottom{margin-top:auto;font-size:1.0rem;color:#53685b}.sidebar-bottom>div{font-size:0.875rem;color:#9ba5a9;margin-top:9px}.status-dot,.dot{display:inline-block;width:6px;height:6px;background:#72a485;border-radius:50%;margin-right:7px}.purple{background:var(--purple)}.amber{background:#d6a453}.green{background:var(--green)}main{margin-left:238px}header{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.breadcrumb{font-size:1.0rem;color:#9ca4a9}.breadcrumb span{margin:0 13px;color:#c3c9cd}.breadcrumb b{color:#5d666c;font-weight:500}.mode-control{display:flex;background:#f4f6f5;border:1px solid var(--line);border-radius:8px;padding:4px}.mode-control button{border-radius:5px;padding:6px 11px;background:transparent;color:#90999e;font-size:0.875rem}.mode-control .active{background:#fff;box-shadow:0 1px 4px #2031240d;color:var(--green);font-weight:600}.page{max-width:1530px;margin:auto;padding:24px 36px 34px}.notice{display:flex;align-items:center;gap:10px;border:1px solid #e2e8e5;background:#f0f5f2;color:#6a7e73;padding:12px 16px;border-radius:8px;font-size:0.875rem;line-height:1.7}.notice strong{color:#466655;font-weight:600;margin-right:7px}.notice>span{font-size:1.125rem}.title-row{display:flex;justify-content:space-between;align-items:center;margin:28px 0 25px;gap:15px}.eyebrow{font-size:0.875rem;font-weight:600;letter-spacing:1.8px;color:#87958d;margin-bottom:10px}h1{font-size:1.75rem;letter-spacing:-1.2px;margin:0 0 10px;font-weight:700}h2{font-size:1.125rem;font-weight:650;margin:0 0 16px}p{color:var(--muted);font-size:1.0rem;line-height:1.8;margin:0}.live-pill{display:inline-block;font-size:0.875rem;vertical-align:middle;color:#7d8d84;background:#edf1ee;border:1px solid #e1e7e2;border-radius:5px;padding:4px 7px;margin-left:8px;letter-spacing:0;font-weight:500}.top-actions{display:flex;gap:8px}.button{padding:11px 15px;border-radius:7px;background:#fff;border:1px solid #dee4e1;font-size:1.0rem;color:#56645d;font-weight:550;white-space:nowrap}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button:hover:not(:disabled){filter:brightness(.96)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:11px;padding:22px 0;margin-bottom:23px}.metrics>div{padding:0 24px;border-right:1px solid var(--line)}.metrics>div:last-child{border:0}.metrics span{color:#85908b;font-size:0.875rem}.metrics strong{display:block;font-size:1.8125rem;font-weight:600;margin-top:10px;letter-spacing:-1px}.metrics small{font-size:0.875rem;color:#a2aaa6;font-weight:400;margin-left:6px}.workspace{display:grid;grid-template-columns:minmax(280px,37%) minmax(0,1fr);border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden;min-height:550px}.queue{border-right:1px solid var(--line)}.queue-tools{padding:20px 19px 0}.queue-tools h2{font-size:1.0625rem}.queue-tools h2 span{font-size:0.875rem;color:#8b9791;margin-left:5px}.search{display:flex;gap:10px;align-items:center;background:#f7f9f8;border:1px solid #e8eeeb;padding:9px 12px;border-radius:7px;color:#84928a}.search span{font-size:1.25rem;line-height:1}.search input{background:transparent;border:0;min-width:0;width:100%;font-size:0.875rem;color:#46584e}.search input::placeholder{color:#a0aaa5}.filters{display:flex;gap:15px;border-bottom:1px solid var(--line);margin-top:12px}.filters button{font-size:0.875rem;padding:12px 0;background:none;color:#99a39d;white-space:nowrap;border-bottom:2px solid transparent}.filters .active{color:var(--green);border-color:var(--green);font-weight:600}.queue-list{max-height:490px;overflow:auto}.inquiry{position:relative;display:block;width:100%;text-align:left;background:#fff;padding:19px 20px;border-bottom:1px solid #f0f2f1}.inquiry.selected{background:#f1f7f3;box-shadow:inset 3px 0 var(--green)}.inquiry-top{display:flex;gap:6px;align-items:center;margin-bottom:11px}.tag{font-size:0.875rem;line-height:1.4;border-radius:4px;background:#f0f2f3;padding:4px 6px;color:#81908a}.tag.draft{color:#8671aa;background:#f2eef7}.tag.hold,.tag.unknown{color:#af8641;background:#fbf4e5}.tag.approved,.tag.sent{color:#437b5d;background:#e5f1e9}.tag.external{color:#839199}.inquiry-top time{margin-left:auto;font-size:0.875rem;color:#a7afa9}.inquiry-title{font-size:1.0rem;line-height:1.7;font-weight:550;color:#485b50;margin-bottom:10px}.inquiry-product{font-size:0.875rem;color:#95a098;display:flex;justify-content:space-between;gap:5px}.detail{padding:23px 26px}.detail-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.detail-top small{color:#9ca8a1;font-size:0.875rem}.detail h2{font-size:1.25rem;line-height:1.65;color:#314c3e;margin-bottom:9px}.detail-meta{font-size:0.875rem;color:#96a29a;display:flex;gap:10px}.customer-message{font-size:1.0rem;line-height:1.8;background:#f7f8f9;border-radius:7px;padding:15px 16px;margin:20px 0 23px;color:#596c60;white-space:pre-wrap}.section-label{display:flex;align-items:center;justify-content:space-between;font-size:0.875rem;font-weight:650;color:#567660;margin-bottom:10px}.section-label small{font-weight:400;color:#a3ada6;font-size:0.875rem}.evidence{border:1px solid #e6ede8;border-radius:7px;background:#fafcf9;padding:12px 14px;margin-bottom:20px}.evidence strong{display:block;font-size:0.875rem;color:#77927e;margin-bottom:6px}.evidence p{font-size:0.875rem;color:#8a9a8e;white-space:pre-wrap}.evidence a{font-size:0.875rem}.draft-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.draft-heading strong{font-size:1.0rem}.draft-heading span{font-size:0.875rem;color:#a1aca4}.answer-editor{display:block;width:100%;min-height:148px;resize:vertical;border:1px solid #dce6df;border-radius:8px;padding:14px;line-height:1.9;font-size:1.0rem;color:#48604f;background:#fff}.editor-note{font-size:0.875rem;line-height:1.7;color:#98a69a;margin:9px 0 17px}.detail-actions{display:flex;justify-content:space-between;gap:8px}.detail-actions>div{display:flex;gap:7px}.detail-actions .button{font-size:0.875rem;padding:9px 12px}.batch-bar{margin-top:16px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:15px}.batch-bar>div{display:flex;align-items:center;gap:11px}.batch-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf5ef;color:#5c8466}.batch-bar strong{font-size:1.0rem}.batch-bar span:last-child{font-size:0.875rem;color:#96a297}.empty{padding:45px 24px;text-align:center;line-height:1.9;color:#91a097;font-size:1.0rem}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px}.card p{white-space:pre-wrap}.card li{color:#738178;font-size:1.0rem;line-height:2}.form{max-width:800px;margin-top:24px}.form label,dialog label{display:block;margin-bottom:22px;font-size:1.0rem}.form input,.form textarea,dialog input{display:block;width:100%;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:6px}.form .button{margin-top:20px}.history-row{display:grid;grid-template-columns:150px 1fr 1fr;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);font-size:1.0rem}.history-row small{color:#909a94}dialog{width:min(620px,94vw);max-height:85vh;border:1px solid var(--line);border-radius:14px;padding:28px;color:var(--ink);box-shadow:0 20px 100px #19352233}dialog::backdrop{background:#23352b66;backdrop-filter:blur(3px)}.dialog-close{float:right;background:none;color:#7a8580;font-size:1.5rem}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.send-item{margin-top:18px;border:1px solid var(--line);padding:15px;border-radius:7px}.send-item strong{font-size:1.0rem}.send-item p{font-size:1.0rem;white-space:pre-wrap;margin-top:10px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-30%);max-width:90vw;background:#233d30;color:#fff;padding:14px 22px;box-shadow:0 4px 20px #0002;border-radius:9px;z-index:10;font-size:1.0rem}[hidden]{display:none!important}section:not(#inboxView){padding-top:28px}section:not(#inboxView) .title-row{margin-top:0}section:not(#inboxView)>h1{margin-bottom:15px}section:not(#inboxView)>p{margin-bottom:25px}
@media(min-width:1450px){.detail{padding:25px 35px}.customer-message{margin:23px 0}.workspace{min-height:580px}.answer-editor{min-height:170px}}@media(max-width:1120px){.sidebar{width:195px;padding:26px 14px}.store-label{font-size:0.875rem}.page{padding:22px}main{margin-left:195px}header{padding:0 22px}.top-actions{flex-direction:column}.workspace{grid-template-columns:310px minmax(0,1fr)}.detail{padding:20px}.detail-actions{flex-wrap:wrap}.filters{gap:12px}.batch-bar span:last-child{display:none}}@media(max-width:860px){.sidebar{position:static;width:100%;padding:14px 18px;flex-direction:row;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.brand{font-size:1.25rem}.sidebar nav{display:flex;overflow-x:auto}.nav{width:auto;white-space:nowrap;margin:0;padding:10px}.nav span,.nav b,.store-label,.nav-caption,.sidebar-bottom{display:none}main{margin:0}header{height:60px}.workspace{grid-template-columns:1fr}.queue{border-right:0;border-bottom:1px solid var(--line)}.queue-list{max-height:270px}.queue-tools{padding-top:15px}.metrics>div{padding:0 16px}.product-grid{grid-template-columns:1fr}}@media(max-width:560px){.sidebar{gap:12px}.nav{font-size:0.875rem;padding:8px}.brand>span:last-child{display:none}.logo{width:27px;height:27px;font-size:1.4375rem}.brand{font-size:1.25rem}.page{padding:15px}header{padding:0 16px}.notice{font-size:0.875rem}.notice strong{display:block}.title-row{align-items:flex-start;flex-direction:column;margin:23px 0}.top-actions{flex-direction:row}h1{font-size:1.5625rem}.metrics{padding:16px 0}.metrics>div{padding:0 10px}.metrics strong{font-size:1.5625rem}.metrics span{font-size:0.875rem}.metrics .dot{display:none}.batch-bar{flex-wrap:wrap}.batch-bar .button{width:100%}.detail{padding:20px 17px}.history-row{grid-template-columns:1fr;gap:5px}.breadcrumb{font-size:0.875rem}}
#knowledgeSources{margin:20px 0}.source-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.source-links a{font-size:0.875rem;background:#eef5ef;padding:8px 12px;border-radius:6px;text-decoration:none}

/* A usable entry point even when the HTML file is opened directly. */
.startup-unavailable>main,.startup-unavailable>.sidebar{display:none}
.startup-panel{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(ellipse at top left,#e7f1e9,transparent 65%),#f6f8f7}
.startup-card{width:min(600px,100%);padding:42px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 80px #234a3510}
.startup-card .logo{width:48px;height:48px;margin-bottom:28px;font-size:2.125rem}
.startup-card h1{font-size:1.625rem;line-height:1.5}.startup-card p,.startup-card li{font-size:1.0625rem;color:#64746b;line-height:1.9}
.startup-card ol{padding-left:20px;margin:24px 0}.startup-card li{padding:5px 0}
.startup-actions{display:flex;gap:12px;margin:28px 0}.startup-actions a{text-decoration:none}
.startup-card small{font-size:1.0rem;color:#849087;line-height:1.8;display:block}
.sidebar nav{min-width:0}.brand{flex-shrink:0}
@media(max-width:560px){.startup-card{padding:26px}.startup-card h1{font-size:1.4375rem}.startup-actions{flex-wrap:wrap}.detail-actions>div{flex-wrap:wrap}.detail-top{gap:8px;flex-wrap:wrap}.draft-heading,.section-label{gap:8px;flex-wrap:wrap}.title-row .top-actions{flex-wrap:wrap}.mode-control{flex-shrink:0}.breadcrumb span{margin:0 6px}.metrics{grid-template-columns:repeat(2,1fr);gap:20px}.metrics>div:nth-child(2){border:0}}

.capture-source{padding:14px 16px;border:1px solid #d7e6df;background:#f1f7f3;border-radius:8px;margin:0 0 22px;line-height:1.8}.capture-source strong{font-size:1.0rem;color:#236b52}.capture-source p,.capture-source a{font-size:0.875rem}.capture-source a{display:inline-block;margin:7px 0}

.connection-setup{margin-top:24px;max-width:850px}.setup-heading{display:flex;gap:14px;align-items:flex-start;margin:10px 0 18px}.setup-heading h2{margin:2px 0 6px}.step-number{display:grid;place-items:center;flex-shrink:0;background:var(--light);color:var(--green);width:28px;height:28px;border-radius:50%;font-weight:700}.connection-setup .form{margin:0 0 30px;padding-left:42px}.connection-setup a{font-size:1.0rem}.setup-actions{display:flex;gap:10px;margin:20px 0 14px;flex-wrap:wrap}#connectionResult{white-space:pre-wrap;color:var(--green)}body[aria-busy=true] button{pointer-events:none;opacity:.65}#deliveryHint{white-space:normal}.batch-bar>div{flex-wrap:wrap}

#sizePreviewForm{margin-top:20px}#sizeSource{border:1px solid var(--line,#dce3df);border-radius:8px;padding:12px;background:white;color:inherit;font:inherit}.size-preview-result{padding:18px;border-radius:10px;background:#f0f7f3}.size-answer{white-space:pre-wrap;line-height:1.8}.size-preview-result p{color:#53655d}

/* TalkTalk is a separate, read-only conversation collection. */
.talktalk-metrics{grid-template-columns:repeat(3,1fr);margin-top:22px}.talktalk-workspace .queue-tools{padding-bottom:18px}.talktalk-workspace .queue-list{max-height:620px}.talktalk-workspace .detail{min-width:0}.talktalk-footnote{margin:15px 0;line-height:1.8}.talktalk-messages{display:flex;flex-direction:column;gap:16px;max-height:580px;overflow:auto;padding:2px}.talktalk-message{align-self:flex-start;width:88%;background:#f4f6f7;border:1px solid #edf0f1;border-radius:10px;padding:14px 16px;overflow-wrap:anywhere}.talktalk-message.outbound{align-self:flex-end;background:#edf6ef;border-color:#dcebe1}.talktalk-message.system{align-self:center;width:100%;background:#fafafa}.talktalk-message>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:0.875rem;color:#607568}.talktalk-message time{font-size:0.875rem;color:#91a098}.talktalk-message p{white-space:pre-wrap;color:#4c5f54;font-size:1.0rem;line-height:1.8}.talktalk-message small{display:block;font-size:0.875rem;color:#819087;margin-top:8px}.talktalk-setup{margin-top:22px}.talktalk-setup>p+p{margin-top:12px}.talktalk-setup a.button,.top-actions a.button{text-decoration:none}.talktalk-inquiry .inquiry-product{flex-wrap:wrap}.talktalk-setup #talktalkSetupStatus{color:var(--green)}
@media(max-width:560px){.talktalk-metrics{grid-template-columns:repeat(3,1fr);gap:0}.talktalk-metrics>div:nth-child(2){border-right:1px solid var(--line)}.talktalk-metrics span{font-size:0.875rem}.talktalk-message{width:96%;padding:12px}.talktalk-message>div{flex-wrap:wrap;gap:5px}.talktalk-workspace .detail-top{align-items:flex-start}}

.latest-talk-question{background:#eef6f1;border:1px solid #bcd5c7;border-radius:12px;padding:18px;margin:18px 0}.latest-talk-question p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:10px 0}.latest-talk-question small{color:#67766f}.talktalk-inquiry .inquiry-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}

/* Readable type on every view; retain the chosen scale across visits. */
html{font-size:16px}html[data-text-size="larger"]{font-size:20px}
body{line-height:1.6;letter-spacing:0}
header{height:auto;min-height:88px;gap:16px;padding-top:14px;padding-bottom:14px;flex-wrap:wrap}
.header-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.text-size-control{display:flex;gap:6px;align-items:center;font-size:.875rem;color:#46584e}
.text-size-control button{padding:7px 10px;background:#f3f6f4;border:1px solid #d8e1db;border-radius:6px;color:#43584b;min-height:40px}
.text-size-control button[aria-pressed="true"]{background:#236b52;color:white}
.sidebar{width:260px}.store-label{flex-wrap:wrap}.sidebar nav{overflow-y:auto}main{margin-left:260px}
.nav{font-size:1rem;padding:12px 10px}.button{min-height:44px}
p,.capture-source p,.talktalk-message p,.customer-message,.answer-editor{font-size:1rem;line-height:1.8}
.inquiry-title{font-size:1.0625rem}.talktalk-message time,.inquiry-product,.editor-note,.capture-source a{color:#596d60}
.tag,.metrics span,.detail-meta,.breadcrumb,.notice{color:#52685a}
.title-row,.detail-top,.draft-heading,.section-label,.detail-actions,.detail-actions>div,.inquiry-product{flex-wrap:wrap}
.metrics{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px 0}.metrics>div{min-width:0}
.filters{flex-wrap:wrap;gap:12px}.search input{font-size:1rem}.queue-list{max-height:660px}
.workspace{grid-template-columns:minmax(310px,38%) minmax(0,1fr)}
.talktalk-message{width:96%}.talktalk-message>div{flex-wrap:wrap}
@media(max-width:1200px){.workspace{grid-template-columns:1fr}.queue{border-right:0;border-bottom:1px solid var(--line)}.queue-list,.talktalk-workspace .queue-list{max-height:350px}.page{padding:22px}}
@media(max-width:860px){.sidebar{width:100%}main{margin-left:0}.sidebar nav{overflow-y:visible}.header-controls{gap:10px}.page{padding:16px}.top-actions{flex-wrap:wrap}.talktalk-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.metrics,.talktalk-metrics{grid-template-columns:1fr 1fr}.sidebar{flex-wrap:wrap;gap:10px}.sidebar nav{width:100%}.detail{padding:16px}.connection-setup .form{padding-left:0}}

.talktalk-composer{padding:20px 0!important;margin-bottom:24px;border-bottom:1px solid var(--line)}.talktalk-composer .answer-editor{font-size:1rem;min-height:170px}.talktalk-send-block{font-size:.875rem;line-height:1.8;margin:10px 0 18px;color:#8a682b}.talktalk-composer .detail-actions{flex-wrap:wrap}.talktalk-composer .detail-actions>div{flex-wrap:wrap}.talktalk-connect-link{margin-top:14px}#talktalkConnectionForm>p{margin-bottom:20px}#talktalkDeliveryStatus{margin-top:15px;color:var(--green)}#talktalkSendPreview p{font-size:1rem}#talktalkSendPreview small{display:block;margin-top:12px;color:var(--muted)}
.order-context{padding:20px;margin:24px 0;border:1px solid #cddfd4;background:#f7faf8;border-radius:12px}
.order-context-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.order-context-heading h3{margin:0;font-size:1.125rem}.order-context p{margin:12px 0;line-height:1.7}
.order-cards{display:grid;gap:12px;margin:18px 0}.order-card{min-width:0;background:white;border:1px solid var(--line);padding:16px;border-radius:8px}
.order-card strong,.order-card dd,.order-card a{overflow-wrap:anywhere}.order-card dl{margin:16px 0}
.order-card dl>div{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;margin:10px 0}
.order-card dt{color:#52685a}.order-card dd{margin:0}.order-card [data-order-popup]{font-weight:700;text-decoration:underline;text-underline-offset:4px}
.order-context .order-provenance,.order-context .order-open-note,.order-context .order-direct-link{font-size:.875rem;color:#52685a}
.order-context .order-lookup-result{color:#8a682b}.order-lookup-result:empty{display:none}
@media(max-width:560px){.order-context{padding:16px}.order-card dl>div{grid-template-columns:1fr;gap:4px}.order-context-heading .button{width:100%}}

/* One inbox for product questions, customer questions and TalkTalk. */
.inbox-overview{display:grid;grid-template-columns:1fr;gap:18px;margin:26px 0 12px}
.overview-group{min-width:0}.overview-group>h2{font-size:1rem;color:#465d50;margin-bottom:10px}
.inbox-overview .metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;margin:0;overflow:hidden}
.metrics>button{appearance:none;text-align:left;min-width:0;padding:18px 20px;background:#fff;color:var(--ink);border-right:1px solid var(--line);border-bottom:3px solid transparent;transition:background .15s}
.metrics>button:last-child{border-right:0}.metrics>button:hover{background:#f4f8f5}
.metrics>button.active,.metrics>button[aria-pressed="true"]{background:#eaf4ee;border-bottom-color:var(--green)}
.metrics>button span{font-size:.9375rem;color:#52685a}.metrics>button strong{font-size:1.625rem;margin-top:5px}
.filter-hint{font-size:.875rem;margin:10px 0 20px;color:#617267}.filter-hint:empty{display:none}
.channel-filters{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 16px}
.channel-filters button{background:#fff;border:1px solid #dbe4de;border-radius:24px;padding:10px 18px;min-height:44px;color:#52685a;font-weight:550}
.channel-filters button:hover{background:#f0f6f2}.channel-filters button.active,.channel-filters button[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff}
.filters button[aria-pressed="true"]{color:var(--green);border-bottom-color:var(--green);font-weight:650}
.detail-host{min-width:0;background:#fff}.detail-host:empty{min-height:360px}
.unified-workspace .queue-list{max-height:780px}.unified-workspace .inquiry-top{flex-wrap:wrap;row-gap:8px}
.unified-workspace .inquiry-title{color:#30493b}.unified-workspace .inquiry-product{color:#5b7062;line-height:1.6}
.tag.needs-reply,.tag.waiting{background:#fff3de;color:#8b5a13}.tag.answered,.tag.external{background:#edf0f2;color:#546671}
.tag.in_progress{background:#eaf3fb;color:#396284}.tag.channel{background:#f0f4f1;color:#526b5b}
.inquiry-answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:20px 0 24px;align-items:start}
.inquiry-answer-grid>div,.inquiry-answer-grid>section{min-width:0;padding-top:0!important}
.inquiry-answer-grid h3,.conversation-history h3{font-size:1rem;margin:0 0 12px;color:#314c3e}
.inquiry-answer-grid .customer-message{margin:0;min-height:190px;overflow-wrap:anywhere;color:#30463a;background:#f3f6f4}
.inquiry-answer-grid .answer-editor{min-height:240px;color:#30463a}
.inquiry-answer-grid .draft-heading{min-height:28px}.inquiry-answer-grid .draft-heading span{color:#607267}
.inquiry-answer-grid .detail-actions{justify-content:flex-end}.inquiry-answer-grid .detail-actions>div{gap:8px}
.inquiry-answer-grid .registered-answer{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;padding:16px;background:#edf6ef;border:1px solid #dbe9df;border-radius:8px;color:#304c3c}
.conversation-history{margin:16px 0 20px;max-height:560px;overflow:auto;overscroll-behavior:contain;padding:0 4px 4px 0}
.conversation-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 16px;align-items:start}
.conversation-pair>div{min-width:0}.conversation-pair .talktalk-message{width:100%;margin:0 0 10px;align-self:auto;padding:15px;border-radius:10px}
.conversation-pair .talktalk-message p{font-size:1rem;color:#30463a}.conversation-pair .talktalk-message.outbound{background:#edf6ef}
.conversation-pair .conversation-empty{color:#748278;padding:18px 12px;font-size:.9375rem}
.conversation-column-labels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:12px 0;font-size:1rem;font-weight:650;color:#314c3e}
.conversation-history .talktalk-message.system{grid-column:1/-1;background:#fafbfa;color:#6b7b71}
.support-details{border:1px solid #e1e8e3;border-radius:9px;margin:20px 0;background:#fafcfb;overflow:hidden}
.support-details>summary{cursor:pointer;padding:15px 18px;font-size:1rem;font-weight:600;color:#45614e;line-height:1.7}
.support-details[open]>summary{border-bottom:1px solid #e1e8e3}.support-details>div{padding:16px 18px}
.support-details .evidence{margin:0 0 12px}.support-details .evidence:last-child{margin-bottom:0}
.support-details p,.support-details .evidence p{color:#52695a;font-size:.9375rem}
.detail-meta a{font-weight:600;text-underline-offset:3px}.detail-meta{line-height:1.8;flex-wrap:wrap}
.talktalk-composer{margin-bottom:20px;padding-top:8px!important}.talktalk-composer .answer-editor{min-height:200px}
.editor-note,.section-label small,.draft-heading span{color:#617468}
@media(min-width:1350px){.unified-workspace{grid-template-columns:minmax(280px,29%) minmax(0,1fr)}.unified-workspace .queue{border-right:1px solid var(--line);border-bottom:0}.unified-workspace .detail{padding:24px}.unified-workspace .queue-list{max-height:900px}}
@media(min-width:1800px){.inbox-overview{grid-template-columns:1fr 1fr}.page{max-width:1750px}}
@media(max-width:1349px){.unified-workspace{grid-template-columns:1fr}.unified-workspace .queue{border-right:0;border-bottom:1px solid var(--line)}.unified-workspace .queue-list{max-height:340px}}
@media(max-width:680px){.inquiry-answer-grid,.conversation-pair{grid-template-columns:1fr;gap:12px}.conversation-column-labels{display:none}.inquiry-answer-grid .customer-message{min-height:0}.inbox-overview .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics>button{padding:14px 16px}.metrics>button:nth-child(2){border-right:0}.metrics>button:nth-child(-n+2){border-bottom:1px solid var(--line)}.metrics>button.active,.metrics>button[aria-pressed="true"]{box-shadow:inset 0 -3px var(--green)}.conversation-pair{padding-bottom:12px;border-bottom:1px solid var(--line)}.channel-filters button{padding:8px 14px}.inbox-overview{gap:14px}}

/* Conversation turns pair each customer turn with its following answer. */
.conversation-side{padding:16px;border:1px solid #dce7df;border-radius:10px;background:#f5f8f6;overflow-wrap:anywhere}
.conversation-side:nth-child(2){background:#edf6ef}.conversation-side>strong{display:block;margin-bottom:12px;color:#294d39}
.conversation-side article+article{border-top:1px solid #d6e2d9;padding-top:12px;margin-top:12px}
.conversation-side p{white-space:pre-wrap;color:#30463a;line-height:1.8}.conversation-side time{display:block;font-size:.875rem;color:#617468;margin-top:10px}
.conversation-side .no-message{color:#738179}.conversation-order{font-size:.875rem}.inquiry-info{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.support-details>p{padding:12px 18px}
.tag.external{color:#4c6673;background:#eaf0f3}.inquiry-top{flex-wrap:wrap}.queue-list .inquiry-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

@media(min-width:1450px){.inbox-overview{grid-template-columns:1fr 1fr}.metrics>button{padding:14px 12px}.metrics>button .dot{display:none}}

/* CS통합관리: readable fixed scale, chronological chat and anchored composer. */
html,html[data-text-size="larger"]{font-size:14px}
body,input,textarea,button,select{font-size:1rem}
.sidebar{padding-top:30px}.brand{font-size:1.4rem;white-space:nowrap;letter-spacing:-.04em;margin-bottom:34px}
.sidebar nav{margin-top:0}.nav{gap:8px}.nav b{margin-left:auto}
header{min-height:66px;padding-top:10px;padding-bottom:10px;justify-content:space-between}
.session-controls{display:flex;align-items:center;gap:14px;color:#53685b}.session-controls:has(#logoutButton[hidden]){display:none}
.integration-form{margin:22px 0}.integration-form .form{margin:16px 0}.integration-form .form .button{margin-top:0}
.talk-conversation-shell{display:flex;flex-direction:column;height:min(78vh,850px);min-height:540px;border:1px solid #dce7df;border-radius:12px;overflow:hidden;background:#f5f8f6}
.talk-conversation-shell .conversation-history{flex:1;min-height:140px;max-height:none;overflow-y:auto;margin:0;padding:22px;display:flex;flex-direction:column;gap:14px;scrollbar-gutter:stable;overscroll-behavior:contain}
.chat-bubble{width:fit-content;max-width:88%;border:1px solid #dce5df;background:#fff;border-radius:14px 14px 14px 3px;padding:14px 18px;align-self:flex-start;overflow-wrap:anywhere}
.chat-bubble.outbound{align-self:flex-end;background:#e4f2e9;border-color:#cce2d4;border-radius:14px 14px 3px 14px}
.chat-bubble strong{font-size:.875rem;color:#42604d}.chat-bubble p{white-space:pre-wrap;line-height:1.7;color:#263e30;margin:5px 0}
.chat-bubble time{display:block;font-size:.875rem;color:#63776b;margin-top:8px}.chat-bubble small{font-size:.875rem;color:#65766b}
.talk-conversation-shell .talktalk-composer{position:sticky;bottom:0;flex:none;padding:16px!important;margin:0;border:0;border-top:1px solid #d8e4dc;background:white;z-index:1}
.talktalk-composer .draft-heading{margin-bottom:8px}.talktalk-composer .draft-heading span{font-size:.875rem}
.talktalk-composer .answer-editor{min-height:90px;max-height:180px;resize:vertical;padding:12px;line-height:1.6}
.talktalk-composer .detail-actions{margin-top:12px;align-items:center;gap:12px;justify-content:space-between}
.talktalk-composer .detail-actions>div{display:flex;gap:8px;align-items:center}.talktalk-send-block{margin:5px 0;font-size:.875rem;line-height:1.5}
.editor-note{font-size:.875rem;line-height:1.5;min-height:0;margin:8px 0}.editor-note:empty{display:none}
.attach-button{position:relative;display:inline-flex;align-items:center;cursor:pointer;overflow:hidden}.attach-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.attach-button:has(input:disabled){opacity:.5;cursor:default}.attach-button:has(input:focus-visible){outline:3px solid #88b49a;outline-offset:2px}
.attachment-previews{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}.attachment-previews:empty{display:none}
.attachment-preview{display:flex;align-items:center;gap:7px;padding:6px;background:#f2f6f3;border:1px solid #dce5df;border-radius:8px}
.attachment-preview img{width:66px;height:66px;object-fit:contain}.attachment-preview .button{font-size:.875rem;padding:5px 8px;min-height:32px}
.button.subtle{background:transparent;color:#6a7b70}.inquiry-answer-grid .detail-actions{justify-content:space-between}.inquiry-answer-grid .detail-actions>div{display:flex;gap:8px}
#sendInquiryBtn,#sendTalktalkDraft{min-width:98px}.inquiry-answer-grid .answer-editor{margin-top:12px}
.login-page{min-height:100vh;display:grid;place-items:center;margin:0;background:#f4f7f5;padding:24px}
.login-card{width:100%;max-width:440px;display:grid;gap:18px;padding:36px;background:white;border:1px solid #dce5df;border-radius:16px;box-shadow:0 12px 50px #203e3010}
.login-card h1{font-size:1.7rem}.login-card form{display:grid;gap:18px}.login-card label{display:grid;gap:8px}.login-card input{width:100%;padding:12px;border:1px solid #cddbd1;border-radius:7px}.login-card #loginMessage{color:#9a463b;font-size:.9rem;min-height:1.4em}
@media(min-width:1150px){.unified-workspace{grid-template-columns:minmax(270px,30%) minmax(0,1fr);align-items:start}.unified-workspace .queue{border-right:1px solid var(--line);border-bottom:0}.detail-host:has(#talktalkDetail:not([hidden])){position:sticky;top:12px;align-self:start}.unified-workspace .queue-list{max-height:1000px}}
@media(max-width:1149px){.talk-conversation-shell{height:78vh;min-height:560px}.unified-workspace .queue-list{max-height:280px}}
@media(max-width:680px){.talk-conversation-shell .conversation-history{padding:12px}.talk-conversation-shell .talktalk-composer{padding:12px!important}.talktalk-composer .draft-heading span{display:none}.chat-bubble{max-width:94%;padding:12px}.talktalk-composer .detail-actions>div{gap:5px}.talktalk-composer .button{font-size:.875rem;padding:8px}.talktalk-composer .answer-editor{min-height:80px;max-height:130px}.brand{margin-bottom:0}.login-card{padding:24px}.session-controls #sessionUser{display:none}}

.sent-chat-image{display:block;max-width:100%;max-height:260px;object-fit:contain;margin:10px 0;border-radius:8px}

/* Explicit selection reveals the chat; only its history scrolls above the composer. */
#detail,#talktalkDetail{scroll-margin-top:12px}
.talk-conversation-shell{height:calc(100vh - 150px);height:calc(100dvh - 150px);max-height:950px;min-height:0}
.talk-conversation-shell .conversation-history{min-height:0}
.chat-bubble{flex-shrink:0}
@media(max-width:680px){
 .inbox-overview{gap:8px;margin:14px 0 8px}
 .overview-group>h2{font-size:.9rem;margin-bottom:5px}
 .inbox-overview .metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
 .metrics>button{padding:9px 6px}.metrics>button span{font-size:.875rem;line-height:1.4;display:block}.metrics>button strong{font-size:1.2rem;margin-top:2px}
 .metrics>button:nth-child(2){border-right:1px solid var(--line)}.metrics>button:nth-child(-n+2){border-bottom:3px solid transparent}
 .filter-hint{font-size:.875rem;margin:8px 0 12px;line-height:1.5}
 .channel-filters{gap:6px;margin:12px 0}.channel-filters button{padding:7px 10px;font-size:.875rem;min-height:36px}
 .title-row{margin:14px 0}.title-row p{font-size:.9rem}.top-actions .button{font-size:.875rem;padding:8px}
 .talk-conversation-shell{height:calc(100vh - 110px);height:calc(100dvh - 110px);max-height:none;min-height:0}
 .talktalk-composer .detail-actions{flex-wrap:nowrap;align-items:flex-end;gap:6px}
 .talktalk-composer .detail-actions>div{flex-wrap:wrap;gap:5px}
 .talktalk-composer .answer-editor{height:88px;min-height:65px;max-height:120px}
 .attachment-preview img{width:46px;height:46px}
}

.size-product-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0}.size-product-controls label{font-size:.875rem;color:#4b6255}.size-product-controls select{min-width:140px;flex:1;width:auto;padding:7px;border:1px solid #cddbd1;border-radius:7px;background:white;font-size:.875rem}.size-product-controls .button{font-size:.875rem;padding:7px 9px;min-height:36px}

/* Saved settings and current verification are distinct, visible steps. */
#connectionsView>.card{margin:22px 0;max-width:none}.connection-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.connection-stage{padding:20px;border:1px solid #dce5df;border-radius:12px;background:#f7f9f7}.connection-stage.complete{border-color:#b6d7c3;background:#edf6ef}
.connection-stage .step-number{display:inline-grid;margin-bottom:12px}.connection-stage h3{font-size:1rem;margin:0 0 9px}.connection-stage>strong{display:block;font-size:.95rem;color:#986324}.connection-stage.complete>strong{color:#246748}.connection-stage>p{font-size:.875rem;line-height:1.6;margin:9px 0 0}
.connection-next{padding:16px 20px;border-radius:10px;background:#f3f6f4}.connection-next>p{margin:0 0 14px;line-height:1.7}.connection-next .setup-actions{margin:0}
.connection-credentials{border-top:1px solid #e0e8e2;margin-top:22px;padding-top:17px}.connection-credentials>summary{cursor:pointer;font-weight:600;color:#3e5848;line-height:1.6}.connection-credentials>p{line-height:1.7}
.talk-connection-states{display:grid;grid-template-columns:1fr 1fr;gap:22px}.talk-connection-states>section{padding:18px;background:#f5f8f6;border:1px solid #dce5df;border-radius:10px}.talk-connection-states h3{font-size:1rem;margin:0 0 8px}.talk-connection-states p{line-height:1.7;margin:0;font-size:.95rem}
@media(max-width:850px){.connection-stages,.talk-connection-states{grid-template-columns:1fr}.connection-stage{display:grid;grid-template-columns:36px 1fr;column-gap:12px;padding:16px}.connection-stage .step-number{grid-row:1/4;margin:0}.connection-stage h3,.connection-stage>strong,.connection-stage>p{grid-column:2}.connection-next{padding:16px}.connection-next .setup-actions{flex-wrap:wrap}}

#sessionHeader{justify-content:flex-end;min-height:58px}#sessionHeader[hidden]{display:none}
.collection-status{font-size:.85rem;line-height:1.6;color:#617367;margin:0 0 16px}
.talk-product-card{display:flex;align-items:center;gap:14px;margin:0 0 14px;padding:12px 14px;border:1px solid #dce5df;border-radius:10px;background:#f8faf8;text-decoration:none;color:#304c3b}
.talk-product-card>img,.product-image-placeholder{width:64px;height:64px;flex:none;border-radius:7px;object-fit:contain;background:#fff}.product-image-placeholder{display:grid;place-items:center;font-size:.8rem;color:#7c8e82;background:#edf2ee}
.talk-product-card>span:last-child{display:grid;gap:6px;min-width:0}.talk-product-card strong{font-size:.95rem;line-height:1.5;overflow-wrap:anywhere}.talk-product-card>span>span{font-size:.85rem;color:#426b51}
.talk-product-card:hover{border-color:#85b79a;background:#f0f6f1}.talk-product-card:focus-visible{outline:3px solid #85b79a;outline-offset:2px}
.talk-product-card+.talk-conversation-shell{height:calc(100dvh - 220px)}
@media(max-width:680px){.talk-product-card>img,.product-image-placeholder{width:50px;height:50px}.talk-product-card{padding:10px;gap:10px}.talk-product-card+.talk-conversation-shell{height:calc(100dvh - 205px)}}

.inbox-overview .talktalk-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
.tag.local-completed{color:#496b5b;background:#e7f0eb}.talk-completion-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.talk-completion-actions .button{font-size:.85rem;padding:8px 11px}
.talk-completion-note{font-size:.8rem;line-height:1.6;margin:0 0 12px;color:#677d6f}.talk-completion-note.needs-attention{color:#99652a}
@media(max-width:680px){.inbox-overview .talktalk-metrics>button{padding:9px 4px}.talk-completion-actions{justify-content:flex-start}.talk-completion-actions .button{font-size:.8rem}.talk-completion-note{font-size:.75rem}}

#coupangCollectionStatus{margin-top:-8px}
.confirmation-note{padding:14px 16px;margin-bottom:16px!important;border:1px solid #ead9b6;border-radius:9px;background:#fff9ed;color:#8c662b;line-height:1.7}

.external-gpt-host:empty{display:none}.external-gpt-panel{margin-top:12px;padding:13px 15px;background:#f5f7fc;border:1px solid #dce1ee;border-radius:9px}.external-gpt-panel>strong{font-size:.95rem;color:#45587d}.external-gpt-panel p{font-size:.8rem;line-height:1.6;margin:6px 0!important;color:#65718c}.gpt-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.gpt-actions .button,.external-gpt-panel .button{font-size:.8rem;padding:7px 10px;min-height:34px;text-decoration:none}.external-gpt-panel details>summary{cursor:pointer;font-size:.85rem;line-height:1.8;font-weight:600;color:#4f6080}.external-gpt-panel textarea,#sizePreviewResult textarea{display:block;width:100%;margin:9px 0;padding:10px;border:1px solid #d5dce8;border-radius:7px;font-size:.85rem;line-height:1.6;max-height:160px;resize:vertical}.external-gpt-panel .gpt-question{min-height:85px;background:white}.external-gpt-panel .gpt-copy-note:empty{display:none}.talktalk-composer:has(.external-gpt-panel){max-height:65%;overflow-y:auto}.external-gpt-panel details[open]{padding-top:5px}

.manual-coupang-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0;align-items:start}.manual-coupang-grid .form{margin:0;max-width:none}.manual-coupang-grid select{display:block;width:100%;margin-top:10px;padding:12px;border:1px solid #dce5df;border-radius:7px;background:white}.manual-coupang-grid .form>p{font-size:.85rem;line-height:1.7;margin:8px 0}.manual-coupang-answer{padding-top:24px!important}.manual-coupang-answer>.answer-editor{min-height:270px}.manual-coupang-answer .detail-actions{margin-top:14px}
@media(max-width:1000px){.manual-coupang-grid{grid-template-columns:1fr}.manual-coupang-answer>.answer-editor{min-height:200px}}

.draft-evidence-host:empty{display:none}.draft-evidence{margin:12px 0;border:1px solid #dbe5e0;border-radius:9px;background:#f7faf8;padding:11px 13px}.draft-evidence>summary{font-size:.85rem;font-weight:600;color:#405e4c;cursor:pointer;line-height:1.6}.draft-evidence>article{padding:11px 0;border-top:1px solid #e0e8e3;margin-top:10px}.draft-evidence>article>strong{display:block;font-size:.85rem;line-height:1.5}.draft-evidence p{font-size:.8rem;line-height:1.65;margin:7px 0!important;white-space:pre-wrap}.draft-evidence small{display:block;font-size:.75rem;color:#718177;margin-top:6px}.draft-evidence a{display:inline-block;font-size:.8rem;margin-top:6px}.draft-evidence[open]{max-height:300px;overflow:auto}.draft-evidence-note{color:#85602a}.talktalk-composer:has(.draft-evidence){max-height:65%;overflow-y:auto}
.draft-evidence h4{font-size:.85rem;margin:12px 0 6px;color:#526a5b}.draft-evidence ul{margin:6px 0;padding-left:20px}.draft-evidence li{font-size:.8rem;line-height:1.65;color:#62766a}

.learning-summary{padding-top:24px!important;margin:22px 0}.learning-summary>p{font-size:.9rem;line-height:1.7;margin:0 0 14px!important}.learning-summary-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.learning-summary-counts>div{padding:15px;background:#f4f8f5;border:1px solid #e0e9e2;border-radius:9px}.learning-summary-counts dt{font-size:.8rem;line-height:1.5;color:#64796b}.learning-summary-counts dd{margin:9px 0 0;font-size:1.6rem;font-weight:650;color:#355942}.learning-summary-counts dd small{font-size:.8rem;font-weight:400;margin-left:5px}.learning-summary>p.learning-summary-note{font-size:.8rem;color:#748377}.learning-summary>a{font-size:.85rem}
@media(max-width:800px){.learning-summary-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.guidance-summary{margin:22px 0}.guidance-summary>p{font-size:.9rem;line-height:1.7}.guidance-item{border-top:1px solid #dfe8e2;padding:18px 0}.guidance-item summary{cursor:pointer;font-weight:600}.guidance-item p{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.guidance-proposal{padding:16px;background:#f0f7f2;border-radius:8px}.guidance-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.guidance-comparison section{padding:16px;background:#f7f9f7;border:1px solid #e1e8e2;border-radius:8px}.guidance-comparison h3{font-size:.95rem;margin:0 0 10px}.guidance-comparison p{margin:0;font-size:.9rem}.guidance-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}@media(max-width:800px){.guidance-comparison{grid-template-columns:1fr}}

/* Three shared inbox states, including on narrow screens. */
.inbox-overview .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.inbox-overview .metrics>button{border-right:1px solid var(--line);border-bottom:3px solid transparent}
.inbox-overview .metrics>button:last-child{border-right:0}
.inbox-overview .metrics>button[aria-pressed="true"]{border-bottom-color:var(--green)}
.inbox-overview .metrics>.status-waiting{background:#fff7ed}
.inbox-overview .metrics>.status-waiting span,.inbox-overview .metrics>.status-waiting strong,.filters>.status-waiting{color:#b45309}
.inbox-overview .metrics>.status-waiting:hover,.inbox-overview .metrics>.status-waiting[aria-pressed="true"]{background:#ffedd5;border-bottom-color:#ea580c;box-shadow:inset 0 -3px #ea580c}
.filters>.status-waiting[aria-pressed="true"]{color:#b45309;border-bottom-color:#ea580c}
.tag.waiting{background:#ffedd5;color:#b45309}.tag.completed{background:#eaf4ee;color:#25694f}

.talk-question-picker{padding:10px 12px;margin-bottom:12px;background:#f5f8f6;border:1px solid #dce6df;border-radius:8px}
.talk-question-picker label{display:block;font-size:.875rem;font-weight:650;margin-bottom:7px;color:#395745}
.talk-question-picker select{width:100%;padding:8px;border:1px solid #ccd9d0;background:white;border-radius:5px;font:inherit;font-size:.875rem}
.talk-question-picker p{font-size:.875rem;line-height:1.6;white-space:pre-wrap;margin:8px 0;max-height:80px;overflow:auto}
.talk-question-picker small{display:block;color:#66796d;font-size:.8rem;line-height:1.5}
.chat-bubble.reply-target{border-color:#328062;box-shadow:0 0 0 1px #328062}
.question-select-button{display:block;margin-top:8px;padding:5px 8px;font-size:.8rem;background:#edf5f0;color:#25694f;border:1px solid #cadfd2;border-radius:5px}
.question-select-button[aria-pressed="true"]{background:#25694f;color:white}.question-select-button:disabled{cursor:default}

.talk-conversation-shell .talktalk-composer{max-height:65%;overflow-y:auto}

/* Readable full source editing and the shared correction dialog. */
.guideline-library{margin-bottom:20px}.guideline-selects{display:grid;grid-template-columns:1fr 2fr;gap:16px;margin:16px 0}.guideline-selects label,.guideline-dialog label{display:grid;gap:8px;font-weight:600}.guideline-library select,.guideline-dialog select{width:100%;padding:10px;border:1px solid var(--line,#dbe3df);border-radius:6px;background:white;font:inherit}.guideline-library textarea,.guideline-dialog textarea{width:100%;box-sizing:border-box;line-height:1.65;padding:14px;border:1px solid #dbe3df;border-radius:8px;font:inherit;resize:vertical}.guideline-library textarea{min-height:420px}.guideline-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px;flex-wrap:wrap}.guideline-library pre,.guideline-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-weight:400;line-height:1.65;max-height:320px;overflow:auto;background:#f5f8f6;padding:14px}.guideline-dialog{width:min(760px,calc(100vw - 40px));max-height:90vh;overflow:auto;border:1px solid #dbe3df;border-radius:14px;padding:24px;color:#263b34}.guideline-dialog::backdrop{background:#172e2866}.guideline-dialog header{display:flex;justify-content:space-between;align-items:center;gap:20px}.guideline-dialog h2{margin:0}.guideline-dialog details{margin:14px 0}.guideline-dialog p[role=status],#guidelineStatus{min-height:1.5em;color:#895014}.guidance-item>[data-guidance-edit]{margin:12px 0}.guideline-dialog textarea:read-only{background:#f6f8f7}@media(max-width:700px){.guideline-selects{grid-template-columns:1fr}.guideline-dialog{padding:16px}}
.draft-progress{display:flex;align-items:center;gap:12px;border:1px solid #c9ddd3;background:#edf7f1;color:#245d46;border-radius:8px;padding:13px 15px;margin:10px 0;font-size:14px;line-height:1.5}.draft-progress[hidden]{display:none}.draft-progress small{display:block;font-size:12px;color:#567264}.draft-progress strong{margin-left:8px;font-weight:600}.draft-spinner{width:20px;height:20px;flex:0 0 20px;border:3px solid #c4dacd;border-top-color:#267455;border-radius:50%;animation:draft-spin 1s linear infinite}@keyframes draft-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.draft-spinner{animation:none}}

.guideline-resources{margin-top:20px}.guideline-resources>summary{cursor:pointer;font-weight:700;font-size:16px}.guideline-resources[open]>summary{margin-bottom:16px}.guideline-resources .product-grid{margin-top:16px}.guideline-resources #knowledgeSources{margin:20px 0}.guideline-resources .form{margin-top:16px}

/* Keep every reply action aligned, including disabled and attachment buttons. */
.inquiry-answer-grid .detail-actions,.talktalk-composer .detail-actions,.manual-coupang-answer .detail-actions{margin-top:16px;gap:12px;align-items:center;flex-wrap:wrap}
.detail-actions>div{align-items:center;gap:8px;flex-wrap:wrap}
.detail-actions .button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:40px;min-height:40px;margin:0;padding:0 12px;line-height:1.4}
.detail-actions>.button.primary{min-width:88px;margin-left:auto}

.connection-history{margin-top:24px}.connection-history>summary{cursor:pointer;font-size:16px;font-weight:650}.connection-history>p{margin:14px 0}.source-inquiry-button{display:inline-flex;align-items:center;min-height:40px;text-decoration:none;white-space:normal;line-height:1.5}.detail-top{gap:12px}
.source-inquiry-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.source-inquiry-actions small{width:100%;text-align:right;font-size:12px;color:var(--muted);line-height:1.5}.source-inquiry-actions .button{min-height:40px;padding:8px 12px;font-size:13px}.talk-completion-actions{align-items:flex-start}

.ai-usage{margin:24px 0}.ai-usage-header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.ai-usage-header h2,.ai-usage-header h3{margin:0}.ai-usage-header select{font:inherit;border:1px solid var(--line);border-radius:6px;padding:7px;background:white;margin-left:8px}.ai-usage p,.ai-usage small{line-height:1.65}.ai-provider-snapshot{padding:16px;background:#f6f8fa;border:1px solid var(--line);border-radius:8px;margin:18px 0 22px}.ai-provider-snapshot h3{font-size:14px;margin:0}.ai-provider-snapshot h3 small{font-size:12px;font-weight:400;margin-left:8px;color:#697b72}.ai-provider-snapshot strong{font-size:22px}.ai-usage-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.ai-usage-metrics>div{padding:15px;background:#f0f7f3;border-radius:8px}.ai-usage-metrics dt{font-size:13px;color:#577265}.ai-usage-metrics dd{margin:8px 0 0;font-size:22px;font-weight:650;overflow-wrap:anywhere}.ai-usage details{margin:18px 0}.ai-usage summary{cursor:pointer}#aiUsageCaution{color:#896028}#aiUsageSince,#aiUsageStatus{font-size:12px;color:#687c71}@media(max-width:850px){.ai-usage-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
