: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}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424}header{margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center}header h1{font-size:2em;margin:0}.language-switcher button{margin-left:.5rem;padding:.5em 1em;border-radius:8px;border:1px solid transparent;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}.language-switcher button:hover{border-color:#646cff}.language-switcher button:disabled{background-color:#333;color:#777;cursor:not-allowed;border-color:transparent}main{display:flex;flex-direction:column;align-items:center}form{width:100%;max-width:600px;display:flex;flex-direction:column;gap:1.5rem}section{padding:1.5rem;border:1px solid #444;border-radius:8px;background-color:#2c2c2c}h2{margin-top:0;font-size:1.5em;color:#c6c6c6}.upload-section .file-upload-label{display:inline-block;padding:10px 20px;background-color:#646cff;color:#fff;border-radius:8px;cursor:pointer;transition:background-color .25s}.upload-section .file-upload-label:hover{background-color:#535bf2}.image-preview-container{margin-top:1.5rem;border:1px dashed #555;padding:1rem;border-radius:8px}.image-preview-container h3{margin-top:0;margin-bottom:.5rem;font-size:1.2em}.image-preview-container img{display:block;margin:0 auto;border-radius:4px;border:1px solid #444}.options-section div{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:.5rem}.options-section label{font-size:1.1em}.options-section input[type=checkbox]{width:1.5em;height:1.5em;cursor:pointer}.options-section input[type=number]{padding:.5em;border-radius:4px;border:1px solid #555;background-color:#333;color:#fff;width:60px}button{border-radius:8px;border:1px solid transparent;padding:.8em 1.5em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s,background-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}button[type=submit]{background-color:#646cff;color:#fff;font-size:1.1em}button[type=submit]:hover{background-color:#535bf2}button:disabled{background-color:#333;color:#777;cursor:not-allowed;border-color:transparent}.result-section{margin-top:2rem;padding:1.5rem;border:1px solid #444;border-radius:8px;background-color:#2c2c2c;width:100%;max-width:600px;text-align:left;box-sizing:border-box}.result-section h2{text-align:center;margin-bottom:1rem}.result-section p{margin:.5rem 0;font-size:1.1em;padding:.5rem;border-radius:4px;overflow-wrap:break-word}.result-section pre{padding:1em;border-radius:4px;overflow-x:auto;text-align:left;font-size:.9em;line-height:1.4;margin-top:1rem}.result-section .allowed{color:#90ee90;background-color:#90ee901a;border-left:5px solid #90ee90}.result-section .not-allowed{color:#f08080;background-color:#f080801a;border-left:5px solid #f08080}.error-message{color:#f08080;background-color:#f0808026;padding:1rem;border-radius:8px;margin-top:1rem;border:1px solid #f08080}.analysis-name-container{margin-top:1rem;margin-bottom:1rem;display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.analysis-name-input{padding:.5em;border-radius:4px;border:1px solid #555;background-color:#333;color:#fff;flex-grow:1;min-width:200px}.clear-history-button{margin-bottom:1rem;background-color:#dc3545;color:#fff;border-color:transparent}.clear-history-button:hover{background-color:#c82333;border-color:transparent}.history-list{list-style:none;padding:0}.history-item{border:1px solid #444;border-radius:8px;padding:1rem;margin-bottom:1rem;background-color:#2c2c2c;color:#ffffffde;text-align:left}.history-item h4{margin-top:0;margin-bottom:.5rem;font-size:1.2em}.history-item .timestamp{font-size:.85em;color:#b0b0b0;margin-bottom:.75rem}.history-item .thumbnail{max-width:100px;max-height:100px;border-radius:4px;margin-bottom:.75rem;display:block;border:1px solid #555}.history-item .result-summary{font-size:1em;margin-bottom:.5rem}.history-item .result-summary.allowed{color:#90ee90}.history-item .result-summary.not-allowed{color:#f08080}.history-item .payment-info{font-size:.9em;margin-top:.5rem;color:#d0d0d0}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}header h1{color:#213547}section,.result-section{background-color:#f9f9f9;border:1px solid #ddd;color:#213547}.analysis-name-input{background-color:#fff;color:#213547;border:1px solid #ccc}.clear-history-button{background-color:#dc3545;color:#fff}.clear-history-button:hover{background-color:#c82333}.history-item{background-color:#f0f0f0;border:1px solid #ccc;color:#213547}.history-item .timestamp{color:#555}.history-item .thumbnail{border:1px solid #ddd}.history-item .result-summary.allowed{color:#2e8b57}.history-item .result-summary.not-allowed{color:#dc143c}.history-item .payment-info{color:#333}.result-section pre{background-color:#e9e9e9;color:#213547;border:1px solid #ccc}h2{color:#333}.language-switcher button{background-color:#f0f0f0;color:#213547}.language-switcher button:hover{border-color:#747bff}.language-switcher button:disabled{background-color:#e0e0e0;color:#aaa}button{background-color:#f9f9f9}button:hover{border-color:#747bff}button[type=submit]{background-color:#747bff;color:#fff}button[type=submit]:hover{background-color:#5e65cc}button:disabled{background-color:#e0e0e0;color:#aaa}.options-section input[type=number]{background-color:#fff;color:#213547;border:1px solid #ccc}.result-section .allowed{color:#2e8b57;background-color:#2e8b571a;border-left:5px solid #2e8b57}.result-section .not-allowed{color:#dc143c;background-color:#dc143c1a;border-left:5px solid #dc143c}.result-section p:not(.allowed):not(.not-allowed){color:#213547}.error-message{color:#dc143c;background-color:#dc143c1a;border:1px solid #dc143c}}.consent-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.consent-modal{background-color:#2c2c2c;color:#ffffffde;padding:2rem;border-radius:8px;max-width:600px;width:100%;box-shadow:0 5px 15px #0000004d;text-align:left;max-height:90vh;overflow-y:auto}.consent-modal h2{text-align:center;margin-top:0;color:#c6c6c6}.consent-modal ul{padding-left:20px;margin-bottom:1rem}.consent-modal li{margin-bottom:.5rem}.consent-modal a{color:#8ab4f8;text-decoration:underline}.consent-modal a:hover{color:#a7c7fa}.consent-buttons{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:1rem}.consent-buttons .decline-button{background-color:#555}.consent-buttons .decline-button:hover{background-color:#666}@media (prefers-color-scheme: light){.consent-modal{background-color:#fff;color:#213547;border:1px solid #ddd}.consent-modal h2{color:#333}.consent-modal a{color:#0056b3}.consent-modal a:hover{color:#003d80}.consent-buttons .decline-button{background-color:#ccc;color:#333}.consent-buttons .decline-button:hover{background-color:#bbb}}
