.style-matcher-container{max-width:100%;margin:2rem 0;padding:0;font-family:var(--font-primary);background:transparent;min-height:300px;contain:layout}.style-matcher-title{font-size:1.875rem;font-weight:800;text-align:center;margin-bottom:2rem;color:var(--text-primary);background:linear-gradient(135deg,var(--accent-color) 0%,#3b82f6 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.02em;line-height:1.2}.matcher-section{margin-bottom:2rem;padding:0;background:transparent;min-height:200px;contain:layout}.matcher-section h3{font-size:1.125rem;font-weight:700;margin-bottom:1rem;color:var(--text-primary);line-height:1.4}.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;min-height:150px;contain:layout}.option{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border:1px solid var(--border-color);border-radius:.75rem;background:var(--bg-primary);cursor:pointer;transition:all .2s ease;user-select:none;min-height:48px;position:relative;outline:none;touch-action:manipulation}.option:hover{border-color:var(--accent-color);background:#f43f5e05}.option input{accent-color:var(--accent-color);transform:scale(1.05);min-width:18px;min-height:18px;margin:0;flex-shrink:0}.option.selected{border-color:var(--accent-color);background:#f43f5e0d;box-shadow:0 0 0 1px #f43f5e33}.option:focus-within{outline:2px solid var(--accent-color);outline-offset:2px}.option:focus{outline:2px solid var(--accent-color);outline-offset:2px}.inputs-row{display:flex;gap:2rem;align-items:flex-start;flex-wrap:wrap}.inputs-row input[type=number]{padding:1rem 1.25rem;border:1px solid var(--border-color);border-radius:1rem;background:var(--bg-primary);color:var(--text-primary);width:200px;min-width:200px;font-size:1rem;font-weight:500;transition:all .2s ease;flex-shrink:0}.inputs-row input[type=number]:focus{outline:none;border-color:var(--accent-color);box-shadow:0 0 0 1px #f43f5e33}.inputs-row input[type=number]:hover{border-color:var(--accent-color)}.time-input-section{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.time-input-section label{font-weight:600;color:var(--text-primary);font-size:1rem;margin-bottom:.5rem}.time-input-section input[type=number]{padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:.75rem;background:var(--bg-primary);color:var(--text-primary);width:180px;font-size:.9rem;font-weight:500;transition:all .2s ease;min-height:44px;outline:none}.time-input-section input[type=number]:focus{outline:2px solid var(--accent-color);outline-offset:2px;border-color:var(--accent-color);box-shadow:0 0 0 1px #f43f5e33}.time-input-section input[type=number]:hover{border-color:var(--accent-color)}.risk-toggle{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap;margin-top:.75rem!important}.risk-toggle span{font-weight:600;color:var(--text-primary);font-size:1rem;white-space:nowrap;margin-bottom:.5rem;display:block;width:100%}.risk-toggle .chip{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border:1px solid var(--border-color);border-radius:999px;cursor:pointer;transition:all .2s ease;font-weight:500;background:var(--bg-primary);position:relative;overflow:hidden;margin-right:.5rem;margin-bottom:.5rem;min-height:36px;min-width:36px;outline:none;touch-action:manipulation;font-size:.875rem}.risk-toggle .chip:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(244,63,94,.1),transparent);transition:left .3s ease}.risk-toggle .chip:hover:before{left:100%}.risk-toggle .chip:hover{border-color:var(--accent-color);background:#f43f5e05;transform:translateY(-1px)}.risk-toggle .chip.active{border-color:var(--accent-color);color:var(--accent-color);background:#f43f5e0d;box-shadow:0 0 0 1px #f43f5e33;transform:translateY(-1px)}.risk-toggle .chip:focus{outline:2px solid var(--accent-color);outline-offset:2px}.risk-toggle .chip input[type=radio]{appearance:none!important;width:18px!important;height:18px!important;border:2px solid var(--border-color)!important;border-radius:50%!important;background:var(--bg-primary)!important;cursor:pointer;transition:all .2s ease;position:relative;flex-shrink:0;margin:0!important}.risk-toggle .chip input[type=radio]:hover{border-color:var(--accent-color)!important}.risk-toggle .chip.active input[type=radio]{border-color:var(--accent-color)!important;background:var(--accent-color)!important}.risk-toggle .chip.active input[type=radio]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background:#fff}.chip-row{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap;margin-bottom:1rem;min-height:60px;contain:layout}.chip-row span{font-weight:600;color:var(--text-primary);font-size:1rem;white-space:nowrap;margin-bottom:.5rem;display:block;width:100%}.chip-row .chip{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border:1px solid var(--border-color);border-radius:999px;cursor:pointer;transition:all .2s ease;font-weight:500;background:var(--bg-primary);position:relative;overflow:hidden;margin-right:.5rem;margin-bottom:.5rem;min-height:36px;min-width:36px;outline:none;touch-action:manipulation;font-size:.875rem}.chip-row .chip:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(244,63,94,.1),transparent);transition:left .3s ease}.chip-row .chip:hover:before{left:100%}.chip-row .chip:hover{border-color:var(--accent-color);background:#f43f5e05;transform:translateY(-1px)}.chip-row .chip.active{border-color:var(--accent-color);color:var(--accent-color);background:#f43f5e0d;box-shadow:0 0 0 1px #f43f5e33;transform:translateY(-1px)}.chip-row .chip:focus{outline:2px solid var(--accent-color);outline-offset:2px}.chip-row .chip input[type=radio]{appearance:none!important;width:18px!important;height:18px!important;border:2px solid var(--border-color)!important;border-radius:50%!important;background:var(--bg-primary)!important;cursor:pointer;transition:all .2s ease;position:relative;flex-shrink:0;margin:0!important}.chip-row .chip input[type=radio]:hover{border-color:var(--accent-color)!important}.chip-row .chip.active input[type=radio]{border-color:var(--accent-color)!important;background:var(--accent-color)!important}.chip-row .chip.active input[type=radio]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background:#fff}.radio-group{display:flex;align-items:center;gap:1.5rem;margin-top:1rem;flex-wrap:wrap}.radio-option{display:flex;align-items:center;gap:.75rem;cursor:pointer;transition:all .2s ease}.radio-option input[type=radio]{appearance:none;width:20px;height:20px;border:2px solid var(--border-color);border-radius:50%;background:var(--bg-primary);cursor:pointer;transition:all .2s ease;position:relative}.radio-option input[type=radio]:hover{border-color:var(--accent-color)}.radio-option input[type=radio]:checked{border-color:var(--accent-color);background:var(--accent-color)}.radio-option input[type=radio]:checked:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background:#fff}.radio-option label{cursor:pointer;font-weight:500;color:var(--text-primary);transition:color .2s ease}.radio-option:hover label{color:var(--accent-color)}.radio-option input[type=radio]:checked+label{color:var(--accent-color)}.actions{display:flex;justify-content:center;margin-top:1.5rem;gap:.75rem}.actions.spread{justify-content:space-between}.primary-btn{padding:.75rem 1.5rem;background:var(--accent-color);color:#fff;border:none;border-radius:.75rem;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .2s ease;min-height:44px;min-width:120px;outline:none;touch-action:manipulation}.primary-btn:hover{background:#e11d48;transform:translateY(-1px)}.primary-btn:focus{outline:2px solid #fff;outline-offset:2px}.secondary-btn{padding:.75rem 1.25rem;background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color);border-radius:.75rem;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .2s ease;min-height:44px;min-width:100px;outline:none;touch-action:manipulation}.secondary-btn:hover{border-color:var(--accent-color);background:#f43f5e05}.secondary-btn:focus{outline:2px solid var(--accent-color);outline-offset:2px}.tertiary-btn{padding:.75rem 1.25rem;background:transparent;color:var(--text-secondary);border:1px dashed var(--border-color);border-radius:.75rem;cursor:pointer;font-size:.9rem;transition:all .2s ease;min-height:44px;min-width:100px;outline:none;touch-action:manipulation}.tertiary-btn:hover{border-color:var(--accent-color);color:var(--accent-color)}.tertiary-btn:focus{outline:2px solid var(--accent-color);outline-offset:2px}.result-card{background:var(--bg-primary);border-radius:1rem;border:1px solid var(--border-color);padding:1.5rem;margin-top:1.5rem;min-height:150px;contain:layout}.top-style{font-size:1.25rem;margin-bottom:.25rem}.desc{color:var(--text-secondary);margin:.5rem 0 .75rem}.reasons{margin:.5rem 0 1rem;padding-left:1rem}.secondary{margin:.75rem 0 .5rem}.cta{margin-top:1rem;color:var(--text-secondary)}.cta a{color:#2563eb;font-weight:600;text-decoration:none}.cta a:hover{color:#1d4ed8;text-decoration:underline}@media (max-width: 768px){.style-matcher-container{margin:1.5rem 0;padding:0 .75rem}.style-matcher-title{font-size:1.5rem;margin-bottom:1.5rem;line-height:1.3}.matcher-section{margin-bottom:1.5rem;min-height:180px}.matcher-section h3{font-size:1rem;margin-bottom:.875rem;line-height:1.4}.option-grid{grid-template-columns:1fr;gap:.5rem;min-height:120px}.option{padding:.75rem 1rem;min-height:44px;gap:.5rem}.option span{font-size:.8rem;line-height:1.3}.chip-row{gap:.75rem;min-height:50px;margin-bottom:1rem}.chip-row span{font-size:.9rem;margin-bottom:.375rem}.chip-row .chip{padding:.5rem .75rem;margin-right:.375rem;margin-bottom:.375rem;min-height:32px;font-size:.8rem}.time-input-section{margin-bottom:.75rem}.time-input-section input[type=number]{width:100%;max-width:160px;padding:.625rem .875rem;font-size:.85rem}.risk-toggle{gap:.75rem;justify-content:flex-start;margin-top:.5rem!important}.risk-toggle span{margin-bottom:.375rem;font-size:.9rem}.risk-toggle .chip{margin-right:.375rem;margin-bottom:.375rem;padding:.5rem .75rem;min-height:32px;font-size:.8rem}.actions{flex-direction:column;gap:.5rem;margin-top:1rem}.primary-btn,.secondary-btn,.tertiary-btn{width:100%;justify-content:center;min-height:44px;padding:.625rem 1rem;font-size:.85rem}.result-card{padding:1.25rem;margin-top:1rem}.top-match{flex-direction:column;gap:.5rem;align-items:flex-start}.style-name{font-size:1.25rem;line-height:1.3}.confidence{font-size:.75rem}.badges{gap:.375rem}.badge{font-size:.75rem;padding:.3rem .6rem}.result-actions{flex-direction:column;gap:.5rem}.share-btn,.why-not-btn{width:100%;justify-content:center;min-height:40px;padding:.625rem 1rem;font-size:.8rem}}@media (max-width: 480px){.style-matcher-container{margin:1.5rem 0;padding:0 .75rem}.style-matcher-title{font-size:1.5rem;margin-bottom:1.5rem}.matcher-section{margin-bottom:1.5rem;min-height:200px}.matcher-section h3{font-size:1rem;margin-bottom:1rem}.option{padding:.875rem 1rem;min-height:52px}.option span{font-size:.85rem}.chip-row .chip{padding:.625rem .875rem;font-size:.85rem;min-height:36px}.time-input-section input[type=number]{font-size:.9rem;padding:.875rem 1rem}.primary-btn,.secondary-btn,.tertiary-btn{font-size:.9rem;padding:.875rem 1.5rem}.result-card{padding:1.25rem}.style-name{font-size:1.25rem}}@media (prefers-reduced-motion: reduce){.option,.chip,.primary-btn,.secondary-btn,.tertiary-btn,.share-btn,.why-not-btn{transition:none}.option:hover,.chip:hover,.primary-btn:hover,.secondary-btn:hover,.tertiary-btn:hover{transform:none}.progress .bar{transition:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (prefers-contrast: high){.option,.chip,.primary-btn,.secondary-btn,.tertiary-btn{border-width:2px}.option.selected,.chip.active{border-width:3px}}@media (prefers-color-scheme: dark){.style-matcher-container{background:transparent}.option{background:var(--bg-primary)}}.progress{width:100%;height:6px;background:var(--bg-secondary);border-radius:999px;overflow:hidden;margin:.75rem 0 1.5rem}.progress .bar{height:100%;background:linear-gradient(90deg,var(--accent-color) 0%,#3b82f6 100%);transition:width .3s ease}.result-header{margin-bottom:1.5rem}.top-match{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.style-name{font-size:1.75rem;font-weight:700;color:var(--text-primary);line-height:1.2}.delta-badge{font-size:.875rem;font-weight:500;color:var(--text-secondary);margin-left:.75rem}.confidence{font-size:.875rem;color:var(--text-secondary);font-weight:500}.badges{display:flex;flex-wrap:wrap;gap:.75rem}.badge{display:inline-block;padding:.5rem 1rem;background:var(--bg-secondary);color:var(--text-secondary);border-radius:999px;font-size:.875rem;font-weight:500;border:1px solid var(--border-color)}.tiebreak-tip{background:#3b82f60d;border:1px solid rgba(59,130,246,.2);border-radius:1rem;padding:1rem;margin:1.5rem 0;font-size:.875rem;color:#2563eb;line-height:1.5}.result-actions{display:flex;gap:1rem;margin:1.5rem 0;flex-wrap:wrap}.share-btn,.why-not-btn{padding:.75rem 1.25rem;border:1px solid var(--border-color);border-radius:1rem;background:var(--bg-primary);color:var(--text-primary);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.share-btn:hover,.why-not-btn:hover{border-color:var(--accent-color);background:#f43f5e05}.why-not{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:1rem;padding:1.5rem;margin:1.5rem 0}.why-not h4{margin:0 0 1rem;font-size:1.125rem;color:var(--text-primary);font-weight:600}.why-not-item{margin-bottom:.75rem;font-size:.875rem;color:var(--text-secondary);line-height:1.5}.why-not-item:last-child{margin-bottom:0}
