:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}body,html{margin:0;padding:0;height:100vh;width:100vw;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:#f5f7fa;color:#333;overflow:hidden}.app-container{height:100vh;width:100vw;display:flex;flex-direction:column;padding:0}h1{text-align:center;color:#2c3e50;margin:0;padding:20px 0;background-color:#fff;box-shadow:0 2px 5px #0000001a;z-index:1}.panel-container{display:flex;height:calc(100vh - 72px);width:100%}.panel{height:100%;overflow-y:auto;padding:20px;box-sizing:border-box}.left-panel{width:30%;background:#fff;border-right:1px solid #e0e0e0}.right-panel{width:70%;background:#f9f9f9}.upload-area{border:2px dashed #ccc;border-radius:6px;padding:30px;text-align:center;cursor:pointer;transition:all .3s;margin-bottom:20px;background-color:#f8fafc}.upload-area:hover{border-color:#3498db;background-color:#eef7ff}.file-hint{color:#7f8c8d;font-size:.9em;margin-top:8px}.descriptions-preview{margin-top:20px;max-height:50%;overflow-y:auto;background-color:#fff;border-radius:6px;padding:15px;box-shadow:0 1px 3px #0000001a}.descriptions-preview h3{margin-top:0;color:#2c3e50;border-bottom:1px solid #eee;padding-bottom:8px}.descriptions-preview ul{list-style-type:none;padding:0;margin:0}.descriptions-preview li{padding:8px 0;border-bottom:1px solid #f0f0f0;font-size:.9em}.descriptions-preview li:last-child{border-bottom:none}.image-form{display:flex;flex-direction:column;gap:15px;background:#fff;padding:20px;border-radius:6px;box-shadow:0 1px 3px #0000001a;margin-bottom:20px}.form-group{display:flex;flex-direction:column;gap:5px}.form-group label{font-weight:500;color:#2c3e50}input[type=text]{padding:12px;border:1px solid #ddd;border-radius:4px;font-size:16px;width:100%;box-sizing:border-box}button{background-color:#3498db;color:#fff;border:none;padding:12px;border-radius:4px;cursor:pointer;font-size:16px;font-weight:500;transition:background-color .3s;width:100%}button:hover{background-color:#2980b9}button:disabled{background-color:#95a5a6;cursor:not-allowed}.output-area{margin-top:20px;padding:20px;background-color:#fff;border-radius:6px;box-shadow:0 1px 3px #0000001a;height:calc(100% - 180px);overflow-y:auto}.output-container{font-family:Courier New,Courier,monospace;font-size:.9em;line-height:1.6;white-space:pre-wrap}.divider{color:#7f8c8d;margin:10px 0;font-weight:700}.image-url{font-weight:700;color:#2c3e50}.matched-section{margin:15px 0;padding:15px;background-color:#f0f7ff;border-radius:4px}.matched-item{margin-bottom:8px}.matched-item strong{color:#2c3e50}.candidates-header{font-weight:700;margin:20px 0 5px;color:#2c3e50}.candidate-section{margin:15px 0;padding:15px;background-color:#f8f9fa;border-radius:4px;border-left:3px solid #3498db}.candidate-item{margin-bottom:8px}.candidate-item strong{color:#2c3e50}.warning-message{background-color:#fff3cd;color:#856404;padding:15px;border-radius:4px;margin-bottom:20px;text-align:center}.error-message{background-color:#f8d7da;color:#721c24;padding:15px;border-radius:4px;margin:15px 0;text-align:center}.loading-spinner{border:4px solid rgba(0,0,0,.1);border-radius:50%;border-top:4px solid #3498db;width:40px;height:40px;animation:spin 1s linear infinite;margin:20px auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.panel-container{flex-direction:column;height:auto}.left-panel,.right-panel{width:100%;height:auto}.left-panel{border-right:none;border-bottom:1px solid #eee}.output-area{height:auto;max-height:300px}}
