.app{min-height:100vh;background:#e8e8e8;padding:0;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden;overflow-y:auto}.container{max-width:100%;width:100%;background:#fff;min-height:100vh;padding:0;margin:0;display:flex;flex-direction:column;box-sizing:border-box}header{text-align:center;margin:0;padding:20px 16px;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-bottom:2px solid #dee2e6;flex-shrink:0}header .header-subtitle{margin:0 0 8px;color:#666;font-size:14px;font-weight:400}header h1.child-name{margin:0 0 12px;color:#1a1a1a;font-size:22px;font-weight:600;letter-spacing:-.3px;display:flex;align-items:center;justify-content:center;gap:8px}.pet-type-badge{font-size:20px}.address-text{margin:0 0 12px;color:#666;font-size:13px;font-weight:400;line-height:1.5}header .header-instruction{margin:0;color:#495057;font-size:12px;font-weight:500;line-height:1.4}.responsibles-section{margin:0;padding:16px;flex:1;overflow-y:visible;min-height:0;background:#f8f9fa}.section-title{margin:0 0 14px;color:#495057;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;padding-left:4px}.responsibles-content{display:flex;flex-direction:column;gap:12px;padding-bottom:8px}.responsible-item{padding:14px;background:#fff;border:2px solid #e0e0e0;border-left:4px solid #6c757d;border-radius:8px;box-shadow:0 1px 3px #0000000d}.responsible-item-pai{border-left-color:#0d6efd;background:linear-gradient(to right,#0d6efd05,#fff 10%)}.responsible-item-mae{border-left-color:#dc3545;background:linear-gradient(to right,#dc354505,#fff 10%)}.responsible-header{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #f0f0f0}.responsible-label{font-size:13px;font-weight:700;color:#495057;min-width:40px;text-transform:uppercase;letter-spacing:.3px}.responsible-name{font-size:15px;font-weight:600;color:#212529;flex:1}.contact-section{display:flex;flex-direction:row;gap:16px;width:100%;align-items:center;justify-content:space-between}.contact-info{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.contact-name-row{display:flex;align-items:center;gap:6px}.contact-label{font-size:13px;font-weight:700;color:#495057;text-transform:uppercase;letter-spacing:.3px}.contact-name{font-size:15px;font-weight:600;color:#212529;word-break:break-word}.contact-buttons{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;flex-shrink:0}.phone-number{font-size:13px;color:#495057;font-weight:500;padding:6px 8px;background:#f8f9fa;border-radius:6px;cursor:pointer;-webkit-user-select:all;user-select:all;transition:all .2s;text-align:left;border:1px solid #e9ecef;width:fit-content}.phone-number:hover{background:#e9ecef;border-color:#dee2e6}.phone-number:active{background:#dee2e6;transform:scale(.98)}.btn{padding:12px 10px;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0000001a;min-height:44px;width:100%;text-align:center;word-break:break-word}.btn-icon{padding:10px;border:none;border-radius:8px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0000001a;min-width:44px;min-height:44px;width:44px;height:44px;font-size:20px;background:#fff}.btn-phone-icon{background:#0d6efd;color:#fff}.btn-phone-icon:active{background:#0a58ca;transform:scale(.95)}.btn-phone-icon svg{width:20px;height:20px}.btn-whatsapp-icon{background:#25d366;color:#fff}.btn-whatsapp-icon:active{background:#20ba5a;transform:scale(.95)}.btn-whatsapp-icon svg{width:24px;height:24px}.btn-phone{background:#495057;color:#fff}.btn-phone:active{background:#343a40;transform:scale(.98);box-shadow:0 1px 2px #00000026}.btn-whatsapp{background:#25d366;color:#fff}.btn-whatsapp:active{background:#20ba5a;transform:scale(.98);box-shadow:0 1px 2px #00000026}.btn-instagram-small{width:100%;margin-top:10px;padding:10px 12px;border:1px solid #e1306c;border-radius:6px;background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:6px}.btn-instagram-small:active{transform:scale(.98);opacity:.9}.empty-state{text-align:center;padding:40px 20px}.empty-state h1{color:#1a1a1a;margin-bottom:16px;font-size:24px;font-weight:600}.empty-state p{color:#666;line-height:1.6;font-size:16px}.help-text{margin-top:24px;padding:16px;background:#f5f5f5;border-radius:8px;font-size:13px;font-family:monospace;color:#555;border:1px solid #e0e0e0}footer{padding:20px 16px;background:#1a1a1a;margin:auto 0 0;flex-shrink:0;border-top:3px solid #25d366}.brand-section{display:flex;flex-direction:column;gap:16px}.brand-info{text-align:center;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.1)}.brand-info h3{margin:0 0 4px;color:#fff;font-size:20px;font-weight:800;letter-spacing:2px;text-transform:uppercase}.brand-tagline{margin:0;color:#adb5bd;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:1px}.brand-contact{display:grid;grid-template-columns:1fr 1fr;gap:10px}.contact-btn{padding:12px 14px;border:2px solid #25d366;border-radius:8px;background:#25d3661a;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:4px}.contact-btn:active{background:#25d36633;transform:scale(.98)}.contact-label{font-size:10px;color:#25d366;font-weight:700;text-transform:uppercase;letter-spacing:.8px}.contact-phone{font-size:13px;color:#fff;font-weight:700;letter-spacing:.3px}@media (max-width: 360px){header{padding:16px 12px}header h1.child-name{font-size:18px}.header-subtitle,.address-text{font-size:12px}.header-instruction{font-size:11px}.responsibles-section,.responsible-item{padding:12px}.responsible-name{font-size:14px}.contact-buttons{grid-template-columns:1fr;gap:10px}.btn{padding:12px;font-size:14px}.brand-contact{grid-template-columns:1fr}}@media (max-width: 767px){.app{overflow-y:auto;overflow-x:hidden;min-height:100dvh}.container{min-height:100vh;min-height:100dvh;height:auto;overflow:visible;padding-bottom:env(safe-area-inset-bottom,0)}header{padding:1.25rem 1rem}header h1.child-name{font-size:1.35rem;flex-wrap:wrap;word-break:break-word;justify-content:center;line-height:1.25}.header-subtitle{font-size:.875rem;line-height:1.45}.address-text{font-size:.8125rem;word-break:break-word;padding:0 .25rem}.header-instruction{font-size:.8125rem;padding:0 .25rem;line-height:1.5}.responsibles-section{padding:1rem .75rem .75rem}.section-title{font-size:.75rem;margin-bottom:.75rem}.responsible-item{padding:.875rem}.contact-section{flex-direction:row;flex-wrap:wrap;gap:.75rem;align-items:center}.contact-buttons{flex-direction:row;margin-left:auto}.btn-icon{min-width:48px;min-height:48px;width:48px;height:48px}.phone-number{font-size:.875rem;padding:.5rem .625rem}.btn-instagram-small{font-size:.875rem;padding:.75rem;width:100%;margin-top:.5rem;min-height:44px}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;animation:fadeIn .3s ease-out}.modal-content{background:#fff;border-radius:16px;max-width:400px;width:100%;max-height:90vh;overflow-y:auto;position:relative;animation:slideUp .3s ease-out;box-shadow:0 10px 40px #0000004d}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-close{position:absolute;top:12px;right:12px;background:#f0f0f0;border:none;width:32px;height:32px;border-radius:50%;font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#666;transition:all .2s;z-index:10}.modal-close:hover{background:#e0e0e0;color:#333}.modal-close:active{transform:scale(.9)}.modal-body{padding:32px 24px 24px}.modal-logo{text-align:center;font-size:28px;font-weight:800;letter-spacing:3px;color:#1a1a1a;margin-bottom:12px;text-transform:uppercase}.modal-title{text-align:center;font-size:20px;font-weight:700;color:#1a1a1a;margin:0 0 16px}.modal-text{font-size:14px;line-height:1.6;color:#495057;margin:0 0 12px}.modal-text strong{color:#1a1a1a;font-weight:700}.modal-features{background:#f8f9fa;border-radius:8px;padding:16px;margin:20px 0}.modal-feature{font-size:13px;color:#495057;margin-bottom:8px;padding-left:4px}.modal-feature:last-child{margin-bottom:0}.modal-instagram{margin:20px 0;display:flex;justify-content:center}.modal-btn-instagram{width:100%;padding:12px 16px;border:2px solid #e1306c;border-radius:8px;background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.modal-btn-instagram:active{transform:scale(.98);opacity:.9}.modal-actions{display:flex;flex-direction:column;gap:10px;margin-top:24px}.modal-btn{padding:12px 20px;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;text-align:center}.modal-btn-primary{background:#25d366;color:#fff}.modal-btn-primary:active{background:#20ba5a;transform:scale(.98)}.modal-btn-secondary{background:#f0f0f0;color:#666}.modal-btn-secondary:active{background:#e0e0e0;transform:scale(.98)}@media (min-width: 768px){.app:not(:has(.home-page)):not(:has(.config-page)){padding:20px;display:flex;align-items:center;justify-content:center;min-height:100vh;background:#e8e8e8}.app:not(:has(.home-page)):not(:has(.config-page)) .container{max-width:480px;margin:0 auto;border-radius:12px;box-shadow:0 4px 12px #00000026;min-height:auto;height:auto;max-height:90vh;overflow:hidden}.app:not(:has(.home-page)):not(:has(.config-page)) .container header{border-radius:12px 12px 0 0}.app:not(:has(.home-page)):not(:has(.config-page)) .container footer{border-radius:0 0 12px 12px}.modal-content{max-width:450px}}.home-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#667eea,#764ba2)}.home-header{text-align:center;padding:2rem 1.5rem 1.5rem;background:transparent;border:none}.home-title{font-size:2rem;font-weight:700;color:#fff;margin:0 0 .5rem;text-shadow:0 2px 10px rgba(0,0,0,.2)}.home-subtitle{font-size:1rem;color:#ffffffe6;margin:0;font-weight:300}.home-content{flex:1;padding:1.5rem;display:flex;align-items:center;justify-content:center}.home-cards{display:grid;grid-template-columns:1fr;gap:1.5rem;max-width:1200px;width:100%}.home-card{background:#fff;border-radius:16px;padding:2rem;text-decoration:none;color:inherit;box-shadow:0 10px 30px #0003;transition:all .3s ease;display:flex;flex-direction:column;position:relative;overflow:hidden}.home-card:hover{transform:translateY(-8px);box-shadow:0 15px 40px #0000004d}.home-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .3s ease}.home-card:hover:before{transform:scaleX(1)}.card-icon{font-size:3rem;margin-bottom:1rem;text-align:center}.card-title{font-size:1.5rem;font-weight:600;color:#333;margin:0 0 1rem;text-align:center}.card-description{font-size:1rem;color:#666;line-height:1.6;margin:0 0 1.5rem;text-align:center;flex:1}.card-arrow{font-size:1.5rem;color:#667eea;text-align:center;font-weight:700;transition:transform .3s ease}.home-card:hover .card-arrow{transform:translate(8px)}.card-example{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff}.card-example .card-title,.card-example .card-description,.card-example .card-arrow{color:#fff}.home-footer{padding:2rem;text-align:center;background:#0000001a}.footer-text{color:#ffffffe6;margin:0;font-size:.9rem}@media (max-width: 767px){.home-page{min-height:100dvh}.home-header{padding:2rem 1.25rem 1.25rem;padding-top:calc(1.5rem + env(safe-area-inset-top,0))}.home-title{font-size:1.75rem}.home-subtitle{font-size:.95rem}.home-content{padding:1rem 1.25rem 1.5rem}.home-cards{grid-template-columns:1fr;gap:1rem}.home-card{padding:1.35rem;border-radius:14px}.home-card:active{transform:scale(.99)}.card-icon{font-size:2.25rem}.card-title{font-size:1.2rem}.card-description{font-size:.9rem}}@media (min-width: 768px) and (max-width: 1023px){.home-page{padding:20px}.home-header{padding:3rem 2rem 2rem}.home-title{font-size:2.5rem}.home-subtitle{font-size:1.2rem}.home-content{padding:2rem}.home-cards{grid-template-columns:repeat(2,1fr);gap:2rem;max-width:800px}.home-card{padding:2rem}}@media (min-width: 1024px){.home-page{padding:20px}.home-header{padding:3rem 2rem 2rem}.home-title{font-size:3rem}.home-subtitle{font-size:1.2rem}.home-content{padding:3rem 2rem}.home-cards{grid-template-columns:repeat(3,1fr);gap:2.5rem;max-width:1200px}.home-card{padding:2.5rem}}.config-page{min-height:100vh;background:#f5f5f5;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.config-container{max-width:100%;width:100%;background:#fff;min-height:100vh;min-height:100dvh;padding:1rem 1rem 2rem;padding-bottom:calc(2rem + env(safe-area-inset-bottom,0));box-sizing:border-box;margin:0 auto}.config-header{text-align:center;margin-bottom:32px;padding-bottom:20px;border-bottom:1px solid #e0e0e0}.config-header h1{margin:0 0 8px;color:#1a1a1a;font-size:24px;font-weight:600;letter-spacing:-.5px}.config-header p{margin:0;color:#666;font-size:14px}.config-form{margin-bottom:32px}.form-group{margin-bottom:20px}.form-row{display:flex;flex-direction:column;gap:20px;margin-bottom:0}@media (max-width: 767px){.config-form{margin-bottom:24px}.form-group{margin-bottom:16px}.form-row{gap:16px}}.form-group label{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#1a1a1a;font-weight:500;font-size:14px}.form-group label .icon{font-size:16px}.form-group input{width:100%;padding:14px 16px;border:1px solid #e0e0e0;border-radius:8px;font-size:16px;transition:all .2s;font-family:inherit;background:#fff;color:#1a1a1a}.form-group input:focus{outline:none;border-color:#1a1a1a;box-shadow:0 0 0 3px #1a1a1a0d}.form-group input::placeholder{color:#999}.checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer;margin-bottom:4px}.checkbox-label input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#1a1a1a}.checkbox-text{font-size:14px;font-weight:500;color:#1a1a1a;-webkit-user-select:none;user-select:none}.form-help{margin:4px 0 0;font-size:12px;color:#999;font-style:italic}.radio-group{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:8px}.radio-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;font-weight:500;color:#1a1a1a}.radio-label input[type=radio]{width:18px;height:18px;cursor:pointer;accent-color:#1a1a1a}.radio-label span{-webkit-user-select:none;user-select:none}.btn{padding:.875rem 1.25rem;border:1px solid #e0e0e0;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;background:#fff;color:#1a1a1a;min-height:48px;width:100%}.btn-primary{background:linear-gradient(135deg,#4a90e2,#357abd);color:#fff;border-color:#357abd}.btn-clear{border-color:#e0e0e0}.btn-clear:active{background:#f5f5f5;transform:scale(.98)}.url-preview{background:#f5f5f5;border:1px solid #e0e0e0;border-radius:12px;padding:20px;margin-bottom:24px}.url-preview h2{margin:0 0 16px;color:#1a1a1a;font-size:18px;font-weight:600}.url-box{display:flex;flex-direction:column;gap:12px}.url-input{width:100%;padding:12px 16px;border:1px solid #e0e0e0;border-radius:8px;font-size:13px;font-family:monospace;background:#fff;cursor:text;color:#1a1a1a;word-break:break-all}.url-input:focus{outline:none;border-color:#1a1a1a;box-shadow:0 0 0 3px #1a1a1a0d}.url-actions{display:flex;flex-direction:column;gap:.75rem}@media (min-width: 768px){.form-actions{flex-direction:row;justify-content:flex-end}.btn{width:auto}.url-actions{flex-direction:row}}.btn-copy{flex:1;background:#1a1a1a;color:#fff;border-color:#1a1a1a}.btn-copy:active{background:#333;transform:scale(.98)}.btn-open{flex:1;background:#25d366;color:#fff;border-color:#25d366}.btn-open:active{background:#20ba5a;transform:scale(.98)}.url-hint{margin:16px 0 0;color:#666;font-size:13px;text-align:center}.config-footer{text-align:center;padding-top:24px;border-top:1px solid #e0e0e0;margin-top:32px}.back-link{background:none;border:none;color:#1a1a1a;text-decoration:none;font-weight:500;transition:color .2s;cursor:pointer;font-size:16px;font-family:inherit;padding:0}.back-link:active{color:#666;text-decoration:underline}@media (max-width: 360px){.config-container{padding:20px 16px}.config-header h1{font-size:22px}}@media (min-width: 768px) and (max-width: 1023px){.config-page{padding:20px}.config-container{max-width:90%;margin:0 auto;padding:32px 40px;border-radius:12px;box-shadow:0 2px 8px #0000001a;min-height:auto}.config-header h1{font-size:28px}.form-row,.url-actions{flex-direction:row}}@media (min-width: 1024px){.config-page{padding:20px}.config-container{max-width:1000px;margin:0 auto;padding:40px 60px;border-radius:12px;box-shadow:0 2px 8px #0000001a;min-height:auto}.config-header h1{font-size:32px}.config-header p{font-size:16px}.form-row{flex-direction:row}.form-group{margin-bottom:24px}.url-actions{flex-direction:row}}.app-footer{background:#1a1a1a;color:#fff;padding:2rem 1.5rem;margin-top:auto}.footer-content{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:2rem;align-items:center;text-align:center}.footer-brand{display:flex;flex-direction:column;align-items:center;gap:.5rem}.footer-logo{margin:0;font-size:1.5rem;font-weight:700;letter-spacing:2px;color:#fff}.footer-tagline{margin:0;font-size:.9rem;color:#ffffffb3;font-weight:300}.footer-contact{display:flex;flex-direction:column;gap:1rem;width:100%;max-width:400px}.footer-btn{display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem;border:none;border-radius:12px;background:#ffffff1a;color:#fff;font-family:inherit;cursor:pointer;transition:all .3s ease;text-align:left;width:100%;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}@media (max-width: 767px){.app-footer{padding:1.25rem 1rem;padding-bottom:calc(1.25rem + env(safe-area-inset-bottom,0));max-height:none;overflow:visible}.footer-content{gap:1rem}.footer-logo{font-size:1.1rem;letter-spacing:1px}.footer-tagline{font-size:.8rem;line-height:1.3}.footer-contact{gap:.65rem;max-width:100%}.footer-btn{padding:.75rem 1rem;gap:.75rem;border-radius:10px;min-height:52px}.footer-btn-icon{font-size:1.25rem}.footer-btn-label{font-size:.7rem}.footer-btn-phone,.footer-btn-handle{font-size:.9rem;line-height:1.2}}.footer-btn:hover{background:#ffffff26;transform:translateY(-2px)}.footer-btn:active{transform:translateY(0)}.footer-btn-icon{font-size:1.2rem;flex-shrink:0}.footer-btn-content{display:flex;flex-direction:column;gap:.2rem;flex:1}.footer-btn-label{font-size:.75rem;color:#ffffffb3;font-weight:400}.footer-btn-phone,.footer-btn-handle{font-size:.85rem;font-weight:600;color:#fff}.footer-btn-whatsapp{background:linear-gradient(135deg,#25d36633,#25d3661a);border:1px solid rgba(37,211,102,.3)}.footer-btn-whatsapp:hover{background:linear-gradient(135deg,#25d3664d,#25d36633);border-color:#25d36680}.footer-btn-instagram{background:linear-gradient(135deg,#e1306c33,#e1306c1a);border:1px solid rgba(225,48,108,.3)}.footer-btn-instagram:hover{background:linear-gradient(135deg,#e1306c4d,#e1306c33);border-color:#e1306c80}@media (min-width: 768px) and (max-width: 1023px){.app-footer{padding:.8rem 1.5rem;max-height:30vh}.footer-content{flex-direction:row;justify-content:space-between;align-items:center;text-align:left;gap:1rem}.footer-brand{align-items:flex-start;gap:.25rem}.footer-logo{font-size:.9rem}.footer-tagline{font-size:.65rem}.footer-contact{flex-direction:row;max-width:none;width:auto;gap:.8rem}.footer-btn{min-width:160px;width:auto;padding:.5rem .8rem}.footer-btn-icon{font-size:1rem}.footer-btn-label{font-size:.65rem}.footer-btn-phone,.footer-btn-handle{font-size:.75rem}}@media (min-width: 1024px){.app-footer{padding:1rem 2rem;max-height:30vh}.footer-content{flex-direction:row;justify-content:space-between;align-items:center;text-align:left;gap:1.5rem}.footer-brand{align-items:flex-start;gap:.3rem}.footer-logo{font-size:1.1rem}.footer-tagline{font-size:.7rem}.footer-contact{flex-direction:row;max-width:none;width:auto;gap:1rem}.footer-btn{min-width:180px;width:auto;padding:.6rem 1rem}.footer-btn-icon{font-size:1.2rem}.footer-btn-label{font-size:.75rem}.footer-btn-phone,.footer-btn-handle{font-size:.85rem}}.keychain-page{min-height:100vh;min-height:100dvh;background:#f1f5f9;padding:0;padding-bottom:env(safe-area-inset-bottom,0)}.keychain-container{max-width:100%;width:100%;background:#fff;min-height:100vh;min-height:100dvh;padding:1rem 1rem 1.5rem;box-sizing:border-box;margin:0 auto}.keychain-layout{display:flex;flex-direction:column;gap:1.25rem}.keychain-viewer-column{order:-1}.keychain-form-column{flex:1}.keychain-viewer-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:1rem}.keychain-viewer-panel h2{font-size:1.1rem;margin:0 0 .75rem;color:#0f172a;font-weight:600}.keychain-inputs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.keychain-input-small{min-width:0}.keychain-number-input{width:100%;padding:12px 10px;border:1px solid #e2e8f0;border-radius:10px;font-size:16px;text-align:center;font-weight:600;background:#fff}.keychain-header{text-align:center;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.keychain-header h1{margin:0 0 .5rem;color:#0f172a;font-size:1.35rem;font-weight:700;letter-spacing:-.02em;line-height:1.25}.keychain-header p{margin:0;color:#64748b;font-size:.9rem;line-height:1.45}.keychain-form{margin-bottom:0}.keychain-section-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#64748b;margin:1.25rem 0 .75rem;padding-bottom:.35rem;border-bottom:1px solid #e2e8f0}.keychain-help-box{margin-top:1rem;padding:1rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;font-size:.875rem;color:#1e3a5f;line-height:1.5}.keychain-help-box ol{margin:.5rem 0 0;padding-left:1.25rem}.keychain-help-box li{margin-bottom:.35rem}.keychain-nav{margin-top:1.5rem;display:flex;flex-direction:column;gap:.5rem}.keychain-viewer-actions{display:flex;flex-direction:row;gap:.625rem;margin-top:1rem}.keychain-viewer-actions .btn{flex:1;width:auto;min-width:0;min-height:46px;padding:.65rem .5rem;font-size:.8125rem;line-height:1.2}.keychain-ready-hint{margin:.75rem 0 0;font-size:.8125rem;color:#15803d;text-align:center;line-height:1.4}@media (min-width: 768px){.keychain-page{padding:1.25rem}.keychain-container{max-width:96%;padding:2rem 2.5rem;border-radius:16px;box-shadow:0 4px 24px #0f172a14;min-height:auto}.keychain-layout{flex-direction:row;align-items:flex-start;gap:2rem}.keychain-viewer-column{order:0;flex:0 0 42%;position:sticky;top:1.25rem}.keychain-form-column{flex:1}.keychain-header h1{font-size:1.75rem}.keychain-inputs-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.keychain-viewer-actions .btn{font-size:.9rem;padding:.75rem 1rem}}@media (min-width: 1024px){.keychain-container{max-width:1280px;padding:2.5rem 3rem}.keychain-layout{gap:3rem}.keychain-viewer-column{flex:0 0 40%}.keychain-header h1{font-size:2rem}}.viewer-3d{width:100%;height:min(50vh,360px);min-height:260px;border:1px solid #dde3ea;border-radius:12px;background:linear-gradient(180deg,#f8fafc,#eef2f7);position:relative;overflow:hidden;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.viewer-3d:active{cursor:grabbing}.viewer-3d canvas{display:block;width:100%!important;height:100%!important}.viewer-3d--loading,.viewer-3d--empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;color:#64748b;text-align:center;padding:1.5rem}.viewer-3d--empty p{margin:0}.viewer-3d--empty .viewer-empty-hint{font-size:.875rem;color:#94a3b8}.viewer-hint{position:absolute;top:10px;left:10px;right:10px;background:#0f172ab8;color:#fff;padding:8px 12px;border-radius:8px;font-size:.75rem;line-height:1.35;z-index:10;pointer-events:none;text-align:center}.viewer-hint-desktop{display:none}.viewer-caption{margin-top:.75rem;font-size:.875rem;color:#64748b;text-align:center;line-height:1.4}@media (min-width: 768px){.viewer-3d{height:420px;min-height:420px}.viewer-hint-mobile{display:none}.viewer-hint-desktop{display:block}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e0e0e0}.modal-header h2{margin:0;font-size:1.5rem;color:#333}.modal-close{background:none;border:none;font-size:2rem;color:#999;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.modal-close:hover{background:#f0f0f0;color:#333}.modal-body{padding:2rem}.progress-container{margin-bottom:2rem}.progress-bar{width:100%;height:24px;background:#e0e0e0;border-radius:12px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,#4a90e2,#5ba3f5);border-radius:12px;transition:width .3s ease-out;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.8}}.progress-text{text-align:center;color:#666;font-size:.9rem;font-weight:500}.progress-steps{display:flex;flex-direction:column;gap:1rem}.step{display:flex;align-items:center;gap:1rem;padding:.75rem;border-radius:8px;transition:all .3s;opacity:.4}.step.active{opacity:1;background:#f0f7ff;border-left:3px solid #4a90e2}.step.completed{opacity:1;background:#f0fdf4;border-left:3px solid #22c55e}.step-icon{width:32px;height:32px;border-radius:50%;background:#e0e0e0;display:flex;align-items:center;justify-content:center;font-weight:700;color:#999;flex-shrink:0;transition:all .3s}.step.active .step-icon{background:#4a90e2;color:#fff;animation:pulseIcon 1.5s infinite}.step.completed .step-icon{background:#22c55e;color:#fff}.step.completed .step-icon:after{content:"✓"}@keyframes pulseIcon{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.step-label{color:#333;font-weight:500;font-size:.9rem}@media (max-width: 767px){.modal-content{width:calc(100% - 1.5rem);max-height:calc(100dvh - 2rem);border-radius:16px}.modal-header{padding:1rem 1.25rem}.modal-header h2{font-size:1.15rem}.modal-body{padding:1.25rem}.progress-steps{gap:.65rem}.step{padding:.6rem}.step-label{font-size:.85rem}}.step.completed .step-label{color:#22c55e}*{margin:0;padding:0;box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;overflow-x:hidden}#root{width:100%;min-height:100vh;min-height:100dvh}.btn{padding:.875rem 1.25rem;border:1px solid #e2e8f0;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .15s,background .15s,box-shadow .15s;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:inherit;background:#fff;color:#0f172a;min-height:48px;line-height:1.2;text-align:center;width:100%}.btn:active:not(:disabled){transform:scale(.98)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#4a90e2,#357abd);color:#fff;border-color:#357abd;box-shadow:0 2px 8px #4a90e259}.btn-primary:active:not(:disabled){background:linear-gradient(135deg,#357abd,#2a6aa8)}.btn-outline{background:#fff;border-color:#cbd5e1;color:#334155}.form-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}@media (min-width: 768px){.btn{width:auto;min-width:160px}.form-actions{flex-direction:row;justify-content:flex-end}}
