*{margin:0;padding:0;box-sizing:border-box}:root{--bg-primary: #F5F5DC;--bg-secondary: #FFFFFF;--text-primary: #000000;--text-secondary: #333333;--accent-1: #FF6B6B;--accent-2: #4ECDC4;--accent-3: #FFE66D;--accent-4: #95E1D3;--border-color: #000000;--shadow-offset: 8px;--plugin-person: #FFE66D;--plugin-technical: #4A90E2}html,body{height:100%;overflow:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-overflow-scrolling:touch}body{font-family:Courier New,Monaco,Menlo,monospace;background-color:var(--bg-primary);color:var(--text-primary);line-height:1.6;margin:0;padding:0;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}#app{height:100vh;display:flex;flex-direction:column;overflow:hidden}.btn{background-color:var(--bg-secondary);color:var(--text-primary);border:4px solid var(--border-color);padding:16px 32px;font-size:18px;font-weight:700;font-family:inherit;cursor:pointer;text-transform:uppercase;letter-spacing:1px;box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color);transition:all .1s ease;position:relative}.btn:hover{transform:translate(2px,2px);box-shadow:calc(var(--shadow-offset) - 2px) calc(var(--shadow-offset) - 2px) 0 0 var(--border-color)}.btn:active{transform:translate(var(--shadow-offset),var(--shadow-offset));box-shadow:0 0 0 0 var(--border-color)}.btn-primary{background-color:var(--accent-2);color:var(--bg-secondary)}.btn-secondary{background-color:var(--accent-1);color:var(--bg-secondary)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color)}.input{background-color:var(--bg-secondary);color:var(--text-primary);border:4px solid var(--border-color);padding:16px;font-size:16px;font-family:inherit;width:100%;box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color);transition:all .1s ease}.input:focus{outline:none;transform:translate(2px,2px);box-shadow:calc(var(--shadow-offset) - 2px) calc(var(--shadow-offset) - 2px) 0 0 var(--border-color)}.textarea{resize:none;font-family:inherit;flex:1;font-size:16px;line-height:1.2;min-height:200px;overflow-y:auto}.input-section .card{display:flex;flex-direction:column;flex:1;min-height:0;margin-bottom:0;box-shadow:none;overflow:hidden;width:100%;min-width:0}.input-section form{display:flex;flex-direction:column;flex:1;min-height:0;gap:16px}.input-section form>div:last-of-type{flex-shrink:0;margin-top:auto;display:flex;justify-content:center;gap:16px}.card{background-color:var(--bg-secondary);border:4px solid var(--border-color);padding:32px;box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color);margin-bottom:24px}.output-section .card{flex:1;display:flex;flex-direction:column;margin-bottom:0;min-height:0;box-shadow:none;overflow:hidden;width:100%;min-width:0}.container{max-width:1200px;margin:0 auto;padding:24px;width:100%}.main-content{flex:1;padding:24px;width:100%;overflow:hidden;display:flex;flex-direction:column;min-height:0}.content-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:32px;max-width:1600px;margin:0 auto;flex:1;min-height:0;align-items:stretch;overflow:hidden;width:100%}.content-wrapper>*{min-width:0}.input-section,.output-section{display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%;min-width:0}.output-text{background:#f9f9f9;border:4px solid var(--border-color);padding:20px;font-size:16px;line-height:1.2;white-space:pre-wrap;word-break:break-word;flex:1;min-height:200px;overflow-y:auto;font-family:Courier New,Monaco,Menlo,monospace;margin-bottom:16px;box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color)}.textarea::-webkit-scrollbar,.output-text::-webkit-scrollbar{width:12px}.textarea::-webkit-scrollbar-track,.output-text::-webkit-scrollbar-track{background:transparent}.textarea::-webkit-scrollbar-thumb,.output-text::-webkit-scrollbar-thumb{background:#0003;border-radius:6px}.textarea::-webkit-scrollbar-thumb:hover,.output-text::-webkit-scrollbar-thumb:hover{background:#0000004d}.textarea,.output-text{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.2) transparent}.masked-tag{background-color:var(--accent-3);color:var(--text-primary);font-weight:700;padding:4px 8px;border:2px solid var(--border-color);box-shadow:2px 2px 0 0 var(--border-color);display:inline-block;margin:0 2px;font-size:14px;text-transform:uppercase;letter-spacing:.5px}.masked-tag-person{background-color:var(--plugin-person);color:var(--text-primary)}.masked-tag-technical{background-color:var(--plugin-technical);color:var(--bg-secondary)}.highlighted-text-inline{background-color:var(--accent-3);color:var(--text-primary);font-weight:700;padding:2px 4px;border:2px solid var(--border-color);box-shadow:2px 2px 0 0 var(--border-color);display:inline-block;margin:0 2px}.highlighted-person{background-color:var(--plugin-person);color:var(--text-primary)}.highlighted-technical{background-color:var(--plugin-technical);color:var(--bg-secondary)}.highlighted-input{background:#f9f9f9;border:3px solid var(--border-color);padding:20px;font-size:16px;line-height:1.2;white-space:pre-wrap;word-break:break-word;margin-top:16px;min-height:100px;max-height:300px;overflow-y:auto;font-family:Courier New,Monaco,Menlo,monospace}.highlighted-text{background-color:var(--accent-3);color:var(--text-primary);font-weight:700;padding:2px 4px;border:2px solid var(--border-color);box-shadow:2px 2px 0 0 var(--border-color)}.section-heading{margin-bottom:24px;font-size:28px;text-transform:uppercase;font-weight:700}.btn-icon{background-color:var(--bg-secondary);color:var(--text-primary);border:3px solid var(--border-color);padding:8px 12px;font-size:18px;font-weight:700;font-family:inherit;cursor:pointer;box-shadow:4px 4px 0 0 var(--border-color);transition:all .1s ease;min-width:40px;display:flex;align-items:center;justify-content:center}.btn-icon:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 0 var(--border-color)}.btn-icon:active{transform:translate(4px,4px);box-shadow:0 0 0 0 var(--border-color)}.feedback-buttons{display:flex;gap:24px;margin-top:auto;padding-top:16px;flex-shrink:0;justify-content:center;flex-wrap:nowrap}.btn-feedback{flex:0 0 auto;padding:16px 32px;font-size:20px;display:flex;align-items:center;justify-content:center;line-height:1;min-height:auto;height:auto;width:auto;min-width:150px}.btn-like{background-color:var(--accent-2);color:var(--bg-secondary)}.btn-dislike{background-color:var(--accent-1);color:var(--bg-secondary)}.header{background-color:var(--accent-3);border-bottom:4px solid var(--border-color);padding:16px 24px;box-shadow:0 var(--shadow-offset) 0 0 var(--border-color);margin-bottom:0;flex-shrink:0}.header h1{font-size:48px;font-weight:700;text-transform:uppercase;letter-spacing:2px;text-align:center;margin:0;flex:1}.header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.spinner{border:4px solid var(--bg-secondary);border-top:4px solid var(--border-color);border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:20px auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.results-section{margin-top:32px}.masked-names{background-color:var(--accent-4);border:4px solid var(--border-color);padding:24px;margin-top:24px;box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color);flex-shrink:0}.masked-names-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;width:100%}.masked-names h3{font-size:24px;margin-bottom:16px;text-transform:uppercase;letter-spacing:1px}.masked-name-item{background-color:var(--bg-secondary);border:3px solid var(--border-color);padding:12px 16px;font-weight:700}.masked-name-item .key{color:var(--accent-1);font-size:14px;text-transform:uppercase}.masked-name-item .key-person{color:var(--text-primary);background-color:var(--plugin-person);padding:2px 6px;border-radius:2px;font-weight:700}.masked-name-item .key-technical{color:var(--bg-secondary);background-color:var(--plugin-technical);padding:2px 6px;border-radius:2px;font-weight:700}.masked-name-item .value{color:var(--text-primary);font-size:16px;margin-top:4px}.error{background-color:var(--accent-1);color:var(--bg-secondary);border:4px solid var(--border-color);padding:16px;margin-top:16px;box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color);font-weight:700}.success{background-color:var(--accent-2);color:var(--bg-secondary);border:4px solid var(--border-color);padding:16px;margin-top:16px;box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color);font-weight:700}@media(max-width:1024px){.content-wrapper{grid-template-columns:1fr;gap:24px}.input-section,.output-section{height:auto;min-height:50vh}.output-text{max-height:400px}.sidebar{width:280px}}@media(max-width:768px){.header h1{font-size:20px;padding:12px 16px;line-height:1.2}.main-content{padding:12px;overflow-y:auto;-webkit-overflow-scrolling:touch}.content-wrapper{gap:16px;overflow:visible}.container{padding:12px}.card{padding:16px;border-width:3px}.section-heading{font-size:22px;margin-bottom:16px}.output-section{height:auto;min-height:400px;max-height:none;overflow:visible}.output-section .card{height:auto;min-height:400px;max-height:none;overflow:visible;display:flex;flex-direction:column}.btn{padding:14px 24px;font-size:16px;width:100%}.textarea{font-size:15px;min-height:150px}.output-text{font-size:15px;padding:16px;min-height:150px;max-height:300px;flex:0 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.input{font-size:15px;padding:12px}.sidebar{width:100%;max-width:320px}.side-tab{font-size:14px;padding:10px 20px;left:-48px}.notification{bottom:16px;right:16px;left:16px;max-width:none;padding:12px 20px;font-size:14px}.btn-icon{padding:6px 10px;font-size:16px}.feedback-buttons{gap:12px;padding-top:12px;margin-top:12px;flex-shrink:0;justify-content:stretch;flex-wrap:nowrap}.btn-feedback{flex:1 1 0;padding:12px 16px;font-size:18px;min-width:0;width:0}.masked-names-list{grid-template-columns:1fr;gap:12px;overflow-y:auto;-webkit-overflow-scrolling:touch;max-height:none;flex:1 1 auto;min-height:200px}.masked-name-item{padding:12px;word-break:break-word}.masked-name-item .key{font-size:13px;margin-bottom:4px}.masked-name-item .value{font-size:15px}.output-section .card>div:first-child{flex-wrap:wrap;gap:8px}.output-section .card>div:first-child .btn-icon{flex-shrink:0}}@media(max-width:480px){.header h1{font-size:18px;padding:10px 12px}.main-content{padding:8px}.content-wrapper{gap:12px}.card{padding:12px;border-width:3px}.section-heading{font-size:18px;margin-bottom:12px}.btn{padding:12px 20px;font-size:14px;border-width:3px;box-shadow:6px 6px 0 0 var(--border-color)}.btn:hover{box-shadow:4px 4px 0 0 var(--border-color)}.btn:active{box-shadow:0 0 0 0 var(--border-color)}.textarea{font-size:14px;min-height:120px;padding:12px}.output-section{height:auto;min-height:350px;max-height:none;overflow:visible}.output-section .card{height:auto;min-height:350px;max-height:none;overflow:visible;display:flex;flex-direction:column;padding:12px}.output-text{font-size:14px;padding:12px;min-height:120px;max-height:250px;border-width:3px;flex:0 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.input{font-size:14px;padding:10px;border-width:3px;box-shadow:6px 6px 0 0 var(--border-color)}.input:focus{box-shadow:4px 4px 0 0 var(--border-color)}.side-tab{font-size:12px;padding:8px 16px;left:-44px;border-width:3px;box-shadow:6px 6px 0 0 var(--border-color)}.side-tab:hover{left:-32px;box-shadow:4px 4px 0 0 var(--border-color)}.notification{bottom:12px;right:12px;left:12px;padding:10px 16px;font-size:13px;border-width:3px;box-shadow:6px 6px 0 0 var(--border-color)}.btn-icon{padding:5px 8px;font-size:14px;border-width:2px}.feedback-buttons{flex-direction:row;gap:8px;padding-top:10px;justify-content:stretch;flex-wrap:nowrap}.btn-feedback{flex:1 1 0;width:0;padding:12px 10px;font-size:16px;min-width:0}.plugin-item{padding:12px;font-size:14px}.plugin-footer{padding:12px;font-size:12px}.sidebar-header{padding:16px}.sidebar-title{font-size:20px}.sidebar-content{padding:16px;gap:12px}.input-section form>div:last-of-type{flex-direction:column;width:100%}.input-section form>div:last-of-type .btn{width:100%}.textarea,.output-text{-webkit-overflow-scrolling:touch}.masked-names-list{grid-template-columns:1fr;gap:10px;overflow-y:auto;-webkit-overflow-scrolling:touch;max-height:none;flex:1 1 auto;min-height:180px;padding:0}.masked-name-item{padding:10px;word-break:break-word;overflow-wrap:break-word}.masked-name-item .key{font-size:12px;margin-bottom:3px}.masked-name-item .value{font-size:14px;line-height:1.3}.output-section .card{padding:12px;min-height:320px}.output-section .card>div:first-child{flex-wrap:wrap;gap:6px;margin-bottom:12px}.output-section .card>div:first-child h2{font-size:16px;flex:1 1 100%;margin-bottom:8px}.output-section .card>div:first-child>div{display:flex;gap:6px;flex:1 1 auto}.btn,.btn-icon{min-height:44px;touch-action:manipulation}.input,.textarea{font-size:16px!important}}.side-tab{position:fixed;left:-52px;top:50%;transform:translateY(-50%) rotate(-90deg);transform-origin:center center;background-color:var(--accent-3);color:var(--text-primary);border:4px solid var(--border-color);padding:12px 24px;font-size:18px;font-weight:700;font-family:inherit;cursor:pointer;text-transform:uppercase;letter-spacing:1px;box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color);transition:all .2s ease;z-index:1000;white-space:nowrap;width:fit-content}.side-tab:hover{left:-36px;box-shadow:calc(var(--shadow-offset) - 2px) calc(var(--shadow-offset) - 2px) 0 0 var(--border-color)}.side-tab:active{left:-32px;box-shadow:0 0 0 0 var(--border-color)}.sidebar-overlay{position:fixed;inset:0;background-color:#0000004d;z-index:999;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.sidebar{position:fixed;left:0;top:0;bottom:0;width:320px;background-color:var(--bg-secondary);border-right:4px solid var(--border-color);box-shadow:var(--shadow-offset) 0 0 0 var(--border-color);z-index:1001;display:flex;flex-direction:column;transform:translate(-100%);animation:slideIn .3s ease forwards}@keyframes slideIn{0%{transform:translate(-100%)}to{transform:translate(0)}}.sidebar-open{transform:translate(0)}.sidebar-header{background-color:var(--accent-3);border-bottom:4px solid var(--border-color);padding:20px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.sidebar-title{font-size:24px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin:0}.sidebar-close{background-color:var(--bg-secondary);color:var(--text-primary);border:3px solid var(--border-color);padding:8px 12px;font-size:20px;font-weight:700;font-family:inherit;cursor:pointer;box-shadow:4px 4px 0 0 var(--border-color);transition:all .1s ease;min-width:40px;display:flex;align-items:center;justify-content:center}.sidebar-close:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 0 var(--border-color)}.sidebar-close:active{transform:translate(4px,4px);box-shadow:0 0 0 0 var(--border-color)}.sidebar-content{padding:24px;flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:16px}.plugin-item{display:flex;align-items:center;gap:12px;padding:16px;background-color:var(--bg-secondary);border:3px solid var(--border-color);box-shadow:4px 4px 0 0 var(--border-color);cursor:pointer;transition:all .1s ease;font-family:inherit;font-size:16px;font-weight:700}.plugin-item:hover:not(.plugin-item-disabled){transform:translate(2px,2px);box-shadow:2px 2px 0 0 var(--border-color)}.plugin-item-disabled{opacity:.5;cursor:not-allowed;background-color:#f0f0f0}.plugin-item-disabled:hover{cursor:not-allowed;transform:none;box-shadow:4px 4px 0 0 var(--border-color)}.plugin-item-checked{color:var(--bg-secondary)}.plugin-item-person.plugin-item-checked{background-color:var(--plugin-person);color:var(--text-primary)}.plugin-item-technical.plugin-item-checked{background-color:var(--plugin-technical);color:var(--bg-secondary)}.plugin-item input[type=checkbox]{width:20px;height:20px;border:3px solid var(--border-color);box-shadow:2px 2px 0 0 var(--border-color);cursor:pointer;accent-color:var(--border-color);flex-shrink:0}.plugin-item input[type=checkbox]:disabled{cursor:not-allowed;opacity:.6}.plugin-label{flex:1;-webkit-user-select:none;user-select:none}.plugin-footer{margin-top:24px;padding:16px;background-color:var(--accent-3);border:3px solid var(--border-color);box-shadow:4px 4px 0 0 var(--border-color);font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#000;text-align:center}.notification{position:fixed;bottom:24px;right:24px;padding:16px 24px;background-color:var(--bg-secondary);border:4px solid var(--border-color);box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color);font-size:16px;font-weight:700;color:var(--text-primary);z-index:1002;animation:slideInNotification .3s ease,fadeOutNotification .3s ease 2.7s forwards;max-width:300px;word-wrap:break-word}@keyframes slideInNotification{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeOutNotification{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100%)}}.chat-container{height:100vh;display:flex;flex-direction:column;background-color:var(--bg-primary)}.chat-header{background-color:var(--accent-3);border-bottom:4px solid var(--border-color);padding:16px 24px;box-shadow:0 var(--shadow-offset) 0 0 var(--border-color)}.chat-header-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.chat-header-left{display:flex;align-items:center;gap:16px}.back-button{padding:12px 20px;font-size:16px;white-space:nowrap}.chat-header h1{font-size:24px;font-weight:700;text-transform:uppercase;margin:0}.chat-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.toggle-column{display:flex;flex-direction:column;gap:8px}.model-selector{display:flex;align-items:center;gap:8px}.model-selector label{font-weight:700;font-size:14px}.select-input{background-color:var(--bg-secondary);color:var(--text-primary);border:3px solid var(--border-color);padding:8px 16px;font-size:14px;font-family:inherit;font-weight:700;cursor:pointer;box-shadow:4px 4px 0 0 var(--border-color);transition:all .1s ease}.select-input:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 0 var(--border-color)}.select-input:focus{outline:none;transform:translate(2px,2px);box-shadow:2px 2px 0 0 var(--border-color)}.toggle-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:700;font-size:14px}.toggle-label-large{font-size:18px;gap:12px}.toggle-input{width:40px;height:20px;appearance:none;background-color:var(--bg-secondary);border:3px solid var(--border-color);border-radius:0;position:relative;cursor:pointer;box-shadow:3px 3px 0 0 var(--border-color);transition:all .1s ease}.toggle-input-large{width:60px;height:30px;border:4px solid var(--border-color);box-shadow:4px 4px 0 0 var(--border-color)}.toggle-input:checked{background-color:var(--accent-2)}.toggle-input:checked:after{content:"";position:absolute;right:3px;top:50%;transform:translateY(-50%);width:12px;height:12px;background-color:var(--bg-secondary);border:2px solid var(--border-color)}.toggle-input-large:checked:after{right:4px;width:18px;height:18px;border:3px solid var(--border-color)}.toggle-input:not(:checked):after{content:"";position:absolute;left:3px;top:50%;transform:translateY(-50%);width:12px;height:12px;background-color:var(--bg-secondary);border:2px solid var(--border-color)}.toggle-input-large:not(:checked):after{left:4px;width:18px;height:18px;border:3px solid var(--border-color)}.toggle-text{-webkit-user-select:none;user-select:none}.chat-main{flex:1;display:flex;overflow:hidden;gap:16px;padding:16px}.chat-sidebar{width:200px;flex-shrink:0}.sidebar-card{background-color:var(--bg-secondary);border:4px solid var(--border-color);padding:16px;box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color)}.sidebar-card h2{font-size:16px;font-weight:700;margin-bottom:12px;text-transform:uppercase}.chat-messages-area{flex:1;display:flex;flex-direction:column;min-width:0;background-color:var(--bg-secondary);border:4px solid var(--border-color);box-shadow:var(--shadow-offset) var(--shadow-offset) 0 0 var(--border-color);overflow:hidden;transition:width .3s ease}.chat-messages-area.with-debug-panel{width:calc(66.667% - 16px)}.messages-container{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:16px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;color:var(--text-secondary)}.empty-state p{font-size:18px;font-weight:700;margin-bottom:8px}.empty-state-subtitle{font-size:14px;font-weight:400;color:var(--text-secondary)}.message{display:flex;margin-bottom:16px}.message-user{justify-content:flex-end}.message-assistant{justify-content:flex-start}.message-content{max-width:70%;padding:16px;border:3px solid var(--border-color);box-shadow:4px 4px 0 0 var(--border-color)}.message-user .message-content{background-color:var(--accent-2);color:#000}.message-assistant .message-content{background-color:var(--bg-primary);color:var(--text-primary)}.message-role{font-size:12px;font-weight:700;text-transform:uppercase;margin-bottom:8px;opacity:.8}.message-text{font-size:16px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}.masked-highlight{background-color:var(--plugin-person);color:#000;padding:2px 6px;border:2px solid var(--border-color);font-weight:700;display:inline-block;box-shadow:2px 2px 0 0 var(--border-color)}.message-process{opacity:.9}.message-process-text{font-family:Courier New,monospace;font-size:14px}.process-text-bold,.message-process-text strong{font-weight:700}.process-data{background-color:var(--bg-primary);padding:12px;border:2px solid var(--border-color);margin:8px 0;font-size:12px;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word;max-height:300px;overflow-y:auto;box-shadow:2px 2px 0 0 var(--border-color)}.cursor-blink{animation:blink 1s infinite;color:var(--accent-1);font-weight:700}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}.loading-text{font-style:italic;opacity:.7}.error-message{background-color:var(--accent-1);color:var(--bg-secondary);padding:16px;border:3px solid var(--border-color);box-shadow:4px 4px 0 0 var(--border-color);margin:16px 0}.chat-input-form{border-top:4px solid var(--border-color);padding:16px;background-color:var(--bg-primary)}.input-wrapper{display:flex;gap:12px;align-items:flex-end}.chat-input{flex:1;min-height:60px;max-height:200px;resize:vertical}.send-button{flex-shrink:0;padding:16px 24px;white-space:nowrap}.debug-side-panel{width:33.333%;flex-shrink:0;display:flex;flex-direction:column;background-color:var(--bg-secondary);border-left:4px solid var(--border-color);border-top:4px solid var(--border-color);border-bottom:4px solid var(--border-color);box-shadow:calc(-1 * var(--shadow-offset)) var(--shadow-offset) 0 0 var(--border-color);overflow:hidden}.debug-panel-header{background-color:var(--accent-3);border-bottom:4px solid var(--border-color);padding:16px;flex-shrink:0}.debug-panel-header h3{font-size:18px;font-weight:700;margin:0;text-transform:uppercase}.debug-panel-content{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:16px}.debug-section{border:3px solid var(--border-color);padding:12px;background-color:var(--bg-primary);box-shadow:3px 3px 0 0 var(--border-color);flex-shrink:0}.debug-section h4{font-size:14px;font-weight:700;margin-bottom:8px;text-transform:uppercase;color:var(--accent-1)}.debug-content{background-color:var(--bg-secondary);padding:12px;border:2px solid var(--border-color);font-size:11px;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word;max-height:150px;overflow-y:auto;font-family:Courier New,monospace}.debug-empty-state{display:flex;align-items:center;justify-content:center;height:100%;padding:32px;text-align:center;color:var(--text-secondary)}.debug-empty-state p{font-size:16px;font-weight:700;margin:0}.proxy-chat-button{text-decoration:none;display:inline-block}@media(max-width:768px){.chat-main{flex-direction:column}.chat-sidebar{width:100%}.chat-header-content{flex-direction:column;align-items:flex-start}.chat-controls{width:100%;justify-content:space-between}.message-content{max-width:85%}.chat-messages-area.with-debug-panel{width:100%}.debug-side-panel{width:100%;border-left:none;border-top:4px solid var(--border-color);max-height:50vh}}
