.legacy-nav{display:flex;justify-content:space-around;align-items:center;padding:10px 20px;background:#f8f9fa!important}.legacy-brand{font-weight:bold;color:#00a859;font-size:20px}.legacy-nav-links{display:flex;gap:20px;flex-wrap:wrap}.legacy-nav-links a{color:#333}.legacy-tool-description{height:38px}.legacy-workspace{margin-top:20px}.tool-form{display:grid;gap:12px}.tool-form label{font-weight:700}.tool-form textarea,.tool-form input,.tool-form select,dialog textarea,dialog input{width:100%;box-sizing:border-box;border:1px solid #eee;border-radius:4px;background:#fff;padding:10px;outline:none}.tool-form textarea{min-height:180px;resize:vertical}.tool-form textarea:focus,.tool-form input:focus,.tool-form select:focus,dialog textarea:focus,dialog input:focus{border-color:#16baaa}.tool-form .output{min-height:140px;background:#f7f7f7}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.button-row button,.dialog-actions button{border:1px solid #eee;border-radius:4px;background:#fff;padding:9px 16px;cursor:pointer}.button-row .primary,.dialog-actions .primary{border-color:#16baaa;background:#16baaa;color:#fff}.form-message{min-height:22px;color:#ff5722}.content-results{display:grid;gap:10px}.content-results article{padding:12px;border:1px solid #eee;border-radius:4px}.empty-state{padding:35px 15px;text-align:center;background:#fafafa;border:1px dashed #ddd;color:#999}dialog{width:min(560px,calc(100% - 24px));border:0;border-radius:6px;padding:24px;box-shadow:0 20px 70px rgba(0,0,0,.25)}dialog::backdrop{background:rgba(0,0,0,.45)}dialog textarea{min-height:170px;margin:10px 0}dialog input{margin-bottom:10px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.feedback-captcha{margin:4px 0 8px;padding:12px;border:1px solid #eee;border-radius:4px;background:#fafafa}.feedback-captcha-self>label{display:block;margin-bottom:6px;font-weight:700}.feedback-captcha-self>div{display:flex;align-items:center;gap:8px;margin-bottom:8px}.feedback-captcha-self img{display:block;width:180px;height:52px;border:1px solid #e5e5e5;background:#fff;object-fit:contain}.feedback-captcha-self button{width:44px;height:44px;padding:0;border:1px solid #ddd;border-radius:4px;background:#fff;color:#555;font-size:22px;cursor:pointer}.feedback-captcha-self input{margin:0}.feedback-captcha [hidden]{display:none!important}
@media(max-width:768px){.legacy-nav{display:block;padding:8px 10px}.legacy-brand{text-align:center}.legacy-nav-links{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding:8px 0}.legacy-nav-links a{white-space:nowrap}.form-row{grid-template-columns:1fr}}
.legacy-label{background:#f5f5f5}
.structured-tool{display:grid;gap:14px}.structured-hint{margin:0;padding:11px 13px;border-left:3px solid #16baaa;border-radius:4px;background:#f4fbfa;color:#5f6b68}.structured-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.structured-field{display:grid;gap:6px;font-weight:700}.structured-field span small{color:#999;font-weight:400}.structured-field input,.structured-field select{height:42px}
@media(max-width:900px){.structured-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.structured-fields{grid-template-columns:1fr}}
