.input-choice,.licence-scan{max-width:850px;margin:20px auto 30px}.input-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.input-methods button{display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left;background:#fff;color:#173f36;border:2px solid #b7cfc5;border-radius:18px;padding:22px;box-shadow:0 5px 0 #d9e4dd;min-width:0}.input-methods button:hover{background:#edf5ef;border-color:#17695c}.input-methods button strong{font-size:22px}.input-methods button span:not(.method-icon){font-size:15px;line-height:1.5;font-weight:400}.input-methods button b{margin-top:auto;font-size:14px}.method-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e2eee7;font-size:30px}.scan-privacy{background:#e8f2ec;padding:12px 15px;border-radius:10px;font-size:14px}.scan-sides,.scan-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.scan-side{border:1px solid #c8d9cf;border-radius:14px;padding:15px;min-width:0}.scan-side h3{margin-top:0}.scan-image{display:flex;align-items:center;justify-content:center;min-height:130px;border:2px dashed #a8bfb2;border-radius:10px;background:#f4f7f2;overflow:hidden;margin-bottom:12px;color:#5e756b}.scan-image canvas{display:block;max-width:100%;max-height:240px;width:auto;height:auto;object-fit:contain}.scan-image canvas[hidden]{display:none}.scan-photo-actions,.scan-main-actions{display:flex;flex-wrap:wrap;gap:8px}.scan-photo-actions button{font-size:13px;padding:10px 12px}.scan-main-actions{margin:16px 0}#licence-scan-status{font-weight:700;line-height:1.5}#licence-scan-progress{width:100%}#scan-review{margin-top:24px;padding:20px;background:#f1f5ed;border:2px solid #739889;border-radius:14px}.scan-review-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700}.scan-review-grid input,.scan-review-grid select{box-sizing:border-box;min-width:0;width:100%;font:inherit;font-size:16px;padding:12px;border:1px solid #829f91;border-radius:8px;background:#fff;color:#183c32}.scan-review-grid small{font-weight:400;font-size:13px;line-height:1.4}.scan-missing{color:#8b400d}.scan-found{color:#285b43}.scan-confirm{display:flex;align-items:flex-start;gap:12px;margin:22px 0;font-weight:700;line-height:1.5}.scan-confirm input{width:22px;height:22px;min-height:22px;padding:0;flex:0 0 22px;margin:2px 0}.licence-scan button:disabled{opacity:.5;cursor:wait}.input-methods button:focus-visible,.licence-scan button:focus-visible{outline:3px solid #bb8524;outline-offset:4px}.licence-scan [hidden],.input-choice[hidden],.licence-scan[hidden]{display:none!important}
@media(max-width:600px){.input-methods button{padding:15px;gap:10px}.input-methods button strong{font-size:19px}.input-methods button span:not(.method-icon){font-size:13px}.input-methods button b{font-size:12px}.scan-sides,.scan-review-grid{grid-template-columns:1fr}.scan-side{padding:12px}#scan-review{padding:15px}.scan-main-actions>button{width:100%}.input-choice h2,.licence-scan h2{font-size:24px;line-height:1.25}}
@media(max-width:340px){.input-methods{grid-template-columns:1fr}}
#choose-scan{border-color:#17695c;background:linear-gradient(135deg,#edf5e6,#fff);order:-1}#choose-scan .method-icon{background:#17695c;color:#fff}.scan-steps{padding:0;list-style:none;display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.scan-steps li{display:flex;align-items:center;gap:8px;font-size:13px;background:#eaf0df;padding:9px 12px;border-radius:9px}.scan-steps b{display:grid;place-items:center;width:23px;height:23px;background:#143e35;color:#fff;border-radius:50%}.scan-side-help{font-size:13px;line-height:1.5;color:#53665d;min-height:40px}.manual-scan-switch{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #afc6b4;background:#edf5e6;border-radius:13px;padding:16px;margin-bottom:20px}.manual-scan-switch strong{font-size:15px}.manual-scan-switch p{font-size:12px;line-height:1.5;margin:6px 0 0}.manual-scan-switch button{font-size:12px;flex-shrink:0;padding:12px}.licence-scan button:disabled{cursor:not-allowed}@media(max-width:600px){.input-methods{grid-template-columns:1fr}.input-methods button{gap:8px;padding:18px}.input-methods .method-icon{width:35px;height:35px;font-size:24px}.manual-scan-switch{align-items:stretch;flex-direction:column;gap:12px}.manual-scan-switch button{width:100%}.scan-steps{display:grid;gap:6px}.scan-side-help{min-height:0}}

.theory-region-notice{padding:14px 16px;border:2px solid #b52c2c;border-radius:10px;background:#fff0ed;color:#8b2020;font-weight:700;line-height:1.5}.manual-scan-switch:has(.theory-region-notice:not([hidden])){flex-wrap:wrap}.manual-scan-switch>.theory-region-notice{flex-basis:100%;margin:0}
