:root{--chestnut: #633a34;--white: #ffffff;--off-white: #f8f9fa;--text-dark: #212529;--text-light: #f8f9fa;--border-color: #dee2e6;--danger: #dc3545;--success: #198754;--warning: #ffc107;--info: #0dcaf0;--primary-brand: #f0c040}body{background-color:var(--off-white);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";color:var(--text-dark);margin:0;padding-top:70px;padding-bottom:60px}*{box-sizing:border-box}.main-content{padding:2rem 1.5rem;max-width:960px;margin:0 auto}.navbar-main{position:fixed;top:0;left:0;right:0;background:var(--white);box-shadow:0 2px 10px #00000014;z-index:1000;padding:0 1.5rem;height:70px;border-bottom:1px solid var(--border-color)}.navbar-container{display:flex;justify-content:space-between;align-items:center;height:100%;max-width:1200px;margin:0 auto}.navbar-brand-container{display:flex;align-items:center;gap:.75rem;text-decoration:none}.navbar-logo{height:32px;width:32px}.navbar-brand-text{font-size:1.5rem;font-weight:700;color:var(--chestnut);text-decoration:none;margin:0}.navbar-links{list-style:none;display:flex;align-items:center;gap:1.75rem;margin:0;padding:0}.nav-link{text-decoration:none;color:var(--text-dark);font-weight:500;position:relative;transition:color .3s ease;padding:.5rem 0}.nav-link:after{content:"";position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--chestnut);transition:width .3s ease-out}.nav-link:hover{color:var(--chestnut)}.nav-link:hover:after{width:100%}.bmac-container{position:relative;margin-left:1rem}.bmac-button{background:linear-gradient(145deg,#f8d050,#e8a838);color:var(--chestnut);border:none;border-radius:20px;padding:.5rem 1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;box-shadow:0 2px 5px #0000001a;transition:all .3s ease}.bmac-button svg{width:20px;height:20px;fill:var(--chestnut);transition:transform .3s ease}.bmac-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #633a3433;background:linear-gradient(145deg,#fadf7a,#eab04c)}.bmac-button:hover svg{transform:scale(1.1)}.bmac-dropdown{position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%);background:var(--white);border-radius:8px;box-shadow:0 5px 20px #00000026;z-index:1001;min-width:100px;padding:.5rem 0;overflow:hidden}.bmac-dropdown a{display:block;padding:.5rem 1.25rem;text-decoration:none;color:var(--text-dark);font-weight:500;transition:background-color .2s ease,color .2s ease;text-align:center}.bmac-dropdown a:hover{background-color:var(--off-white);color:var(--chestnut)}.footer-main{position:relative;bottom:0;left:0;right:0;background:var(--chestnut);color:var(--white);padding:.75rem 1.5rem;height:50px;display:flex;justify-content:center;align-items:center;font-size:.9rem;z-index:1000}.footer-container{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:1200px}.footer-links a{color:var(--white);text-decoration:none;margin-left:1.5rem;transition:opacity .3s ease}.footer-links a:hover{opacity:.8;text-decoration:underline}.hero-section{text-align:center;padding:2rem 0 1rem}.hero-title{font-size:3rem;font-weight:800;color:var(--chestnut);margin-bottom:.5rem}.hero-subtitle{font-size:1.25rem;color:#555;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto}.input-card{background:var(--white);border-radius:12px;box-shadow:0 10px 30px #00000012;padding:2rem}.form-label{font-weight:600;margin-bottom:.75rem;display:block;font-size:1.1rem}.form-textarea-fancy{width:100%;min-height:150px;border:2px solid var(--border-color);border-radius:8px;padding:1rem 1.25rem;font-size:1rem;font-family:Courier New,Courier,monospace;transition:border-color .3s ease,box-shadow .3s ease;resize:vertical}.form-textarea-fancy:focus{outline:none;border-color:var(--chestnut);box-shadow:0 0 0 4px #633a3426}.button-group{display:flex;gap:1rem;margin-top:1.5rem}.btn-fancy{background:var(--chestnut);color:var(--white);border:2px solid var(--chestnut);padding:.75rem 1.5rem;font-size:1.1rem;font-weight:600;cursor:pointer;border-radius:8px;transition:all .3s ease;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn-fancy:hover:not(:disabled){background:#4a2c27;border-color:#4a2c27;box-shadow:0 5px 15px #633a344d;transform:translateY(-2px)}.btn-fancy:disabled{background:#ccc;border-color:#ccc;cursor:not-allowed;opacity:.7}.btn-fancy-secondary{background:var(--white);color:var(--chestnut);border:2px solid var(--chestnut)}.btn-fancy-secondary:hover:not(:disabled){background:var(--off-white);border-color:#4a2c27;color:#4a2c27}.loader-container{display:flex;justify-content:center;align-items:center;padding:3rem 0;flex-direction:column;gap:1rem;color:#555;font-weight:500}.loader{width:48px;height:48px;border:5px solid var(--border-color);border-bottom-color:var(--chestnut);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-message{background:#fff0f0;border:1px solid var(--danger);color:#a02c2c;padding:1rem 1.25rem;border-radius:8px;margin-top:1.5rem;font-weight:500}.results-container{margin-top:2.5rem}.results-summary{margin-bottom:1.5rem;font-size:1.2rem}.result-card{background:var(--white);border-radius:12px;box-shadow:0 8px 25px #0000000d;margin-bottom:1.5rem;overflow:hidden;border-left:5px solid;transition:all .3s ease-out}.result-card:hover{transform:translateY(-5px);box-shadow:0 12px 30px #00000014}.result-card-header{padding:1.25rem 1.5rem;display:flex;justify-content:space-between;align-items:center;background:#fdfdfd;flex-wrap:wrap;gap:1rem}.cipher-name{font-family:Courier New,Courier,monospace;font-size:1.1rem;font-weight:600;color:var(--text-dark);word-break:break-all;flex-basis:70%;flex-grow:1}.grade-badge{font-size:1.1rem;font-weight:700;padding:.4rem 1rem;border-radius:20px;color:var(--white);flex-shrink:0}.result-card-body{padding:1.5rem;border-top:1px solid #eee;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1.25rem}.info-block h5{font-size:.85rem;color:#777;font-weight:600;margin-bottom:.25rem;text-transform:uppercase}.info-block p{font-size:1rem;font-weight:500;margin:0;color:var(--text-dark);word-break:break-word}.remediation-block{background:#fff8f0;padding:1.25rem 1.5rem;border-top:1px solid #ffe0b8}.remediation-block strong{color:var(--chestnut);font-weight:700;display:block;margin-bottom:.25rem;font-size:1.1rem}.remediation-block p{margin:0;font-weight:500;color:#555;line-height:1.6}.grade-A-plus,.grade-A{background:var(--success)}.grade-B{background:#86b92f}.grade-C{background:var(--warning);color:var(--text-dark)}.grade-D{background:#fd7e14}.grade-E,.grade-F{background:var(--danger)}.status-MODERN{border-left-color:var(--success)}.status-STRONG{border-left-color:var(--info)}.status-MEDIUM{border-left-color:var(--warning)}.status-WEAK{border-left-color:var(--danger)}.placeholder-section{padding:4rem 0;margin-top:2rem;border-top:1px solid var(--border-color)}.placeholder-section h2{font-size:2.5rem;font-weight:700;color:var(--chestnut);margin-bottom:1.5rem}.placeholder-section p{font-size:1.1rem;line-height:1.7;max-width:750px}.bmac-button.svelte-12qhfyh{background:var(--primary-brand);font-size:.95rem;transition:all .3s ease;box-shadow:0 2px 5px #0000001a}.bmac-button.svelte-12qhfyh:hover{background:linear-gradient(145deg,#fadf7a,#eab04c);transform:translateY(-2px);box-shadow:0 4px 12px #633a3433}.bmac-dropdown.svelte-12qhfyh{position:absolute;top:100%;left:50%;transform:translate(-50%);width:240px;background:var(--white);border-radius:16px;box-shadow:0 12px 32px #633a3426;overflow:hidden;border:1px solid rgba(99,58,52,.1);z-index:1001}.bmac-dropdown.svelte-12qhfyh a:where(.svelte-12qhfyh){display:flex;align-items:center;justify-content:space-between;padding:12px 20px;color:var(--text-dark);text-decoration:none;font-size:.98rem;transition:all .2s ease}.bmac-dropdown.svelte-12qhfyh a:where(.svelte-12qhfyh):hover{background:#f0c04026;color:var(--chestnut);padding-left:28px}.bmac-dropdown.svelte-12qhfyh .amount:where(.svelte-12qhfyh){font-weight:700;color:var(--primary-brand);font-size:1.1rem}.bmac-dropdown.svelte-12qhfyh .custom-amount:where(.svelte-12qhfyh){font-weight:600;color:var(--chestnut);border-top:1px solid var(--border-color);justify-content:center!important}.bmac-dropdown.svelte-12qhfyh .custom-amount:where(.svelte-12qhfyh):hover{background:#f0c04026;color:var(--chestnut)}
