.app-shell{width:100%;max-width:960px;margin:0 auto;padding:2rem 1.5rem 3rem;display:flex;flex-direction:column;gap:2rem}.app-header{text-align:center;display:flex;flex-direction:column;gap:.75rem}.app-header h1{margin:0;font-size:clamp(1.9rem,2.5vw,2.5rem);color:#0b1f33}.app-header p{margin:0;color:#4b6478;font-size:1rem}.converter-card{background-color:#fff;border-radius:18px;padding:2rem;box-shadow:0 18px 35px -25px #0f172a73;display:flex;flex-direction:column;gap:1.75rem}.input-group{display:flex;flex-direction:column;gap:.5rem}.field-label{font-weight:600;color:#102a43}.field-help{font-size:.85rem;color:#5a738e}.value-input,.unit-select{border:1px solid #cbd2d9;border-radius:12px;padding:.75rem 1rem;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease;background:#fff;color:#0f172a}.value-input::placeholder{color:#94a3b8}.value-input:focus,.unit-select:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e533;background:#fff;color:#0f172a}.unit-select option{color:#0f172a}.selection-row{display:flex;flex-direction:column;align-items:stretch;gap:1rem}.selection-row .input-group{width:100%}.swap-button{align-self:center;width:100%;max-width:48px;height:48px;border-radius:50%;border:none;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;font-size:1.45rem;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .2s ease}.swap-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 20px -15px #4f46e599}.swap-button:disabled{cursor:not-allowed;opacity:.4}.result-panel{background:#f8fafc;border-radius:16px;padding:1.5rem;display:flex;flex-direction:column;gap:.75rem}.result-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.result-panel h2{margin:0;color:#1f2a44;font-size:1.2rem}.result-value{font-size:clamp(2rem,3.5vw,3rem);font-weight:700;color:#111c2f;word-break:break-word}.copy-button{border:none;border-radius:999px;padding:.5rem 1rem;font-size:.95rem;font-weight:600;background:linear-gradient(135deg,#10b981,#059669);color:#fff;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .2s ease}.copy-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 18px -15px #047857b3}.copy-button:disabled{cursor:not-allowed;opacity:.5;transform:none;box-shadow:none}.result-detail{margin:0;color:#4c5870}.result-warning{margin:0;color:#b91c1c;font-weight:500}.copy-feedback{margin:0;font-size:.85rem;font-weight:500;color:#0f766e}.copy-feedback-error{color:#b91c1c}.history-panel{background:#fff;border-radius:16px;padding:1.5rem;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:1rem}.history-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.history-header h2{margin:0;color:#1f2a44;font-size:1.2rem}.history-clear-button{border:none;border-radius:999px;padding:.4rem .9rem;font-size:.85rem;font-weight:600;background:#0f172a14;color:#1f2937;cursor:pointer;transition:background .15s ease,transform .15s ease,opacity .2s ease}.history-clear-button:hover:not(:disabled){background:#1e293b2e;transform:translateY(-1px)}.history-clear-button:disabled{cursor:not-allowed;opacity:.5;transform:none}.history-empty{margin:0;color:#4c5870;font-size:.95rem}.history-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}.history-item{position:relative;display:flex;flex-direction:column;gap:.35rem;padding-bottom:.75rem;border-bottom:1px solid #e2e8f0;transition:background-color .3s ease,box-shadow .3s ease}.history-item:last-child{border-bottom:none;padding-bottom:0}.history-item-highlight:before{content:"";position:absolute;top:-.35rem;right:-.75rem;bottom:-.35rem;left:-.75rem;border-radius:16px;background:#6366f11f;opacity:1;pointer-events:none;animation:historyPulse 1.2s ease forwards}.history-item-highlight{box-shadow:inset 0 0 0 1px #6366f126}.history-item-highlight .history-chip{background:#e0e7ff;color:#4338ca}.history-item-highlight .history-count{background:#eef2ff;color:#3730a3}.history-item-main{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;color:#0f172a;font-weight:600}.history-value{display:inline-flex;align-items:baseline;gap:.25rem}.history-arrow{color:#6366f1;font-weight:700}.history-meta-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.history-meta-left{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap}.history-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .65rem;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:.75rem;font-weight:600}.history-count{font-size:.75rem;font-weight:600;color:#475569;background:#f1f5f9;border-radius:999px;padding:.2rem .55rem}.history-copy-button{border:none;border-radius:999px;padding:.35rem .9rem;font-size:.8rem;font-weight:600;background:#1d4ed8;color:#fff;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .2s ease}.history-copy-button:hover{transform:translateY(-1px);box-shadow:0 10px 18px -18px #1d4ed8cc}.history-copy-button:active{transform:translateY(0)}.history-copy-feedback{font-size:.75rem;font-weight:600;color:#047857}.history-copy-feedback-error{color:#b91c1c}.settings-button{align-self:center;border:none;border-radius:999px;padding:.6rem 1.15rem;font-size:.9rem;font-weight:600;background:linear-gradient(135deg,#38bdf8,#2563eb);color:#fff;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.settings-button:hover{transform:translateY(-1px);box-shadow:0 12px 25px -18px #2563ebe6}.settings-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:80}.settings-modal{background:#fff;border-radius:20px;max-width:480px;width:100%;padding:1.75rem;box-shadow:0 40px 60px -45px #0f172abf;display:flex;flex-direction:column;gap:1.5rem}.settings-modal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.settings-modal-header h2{margin:0;font-size:1.25rem;color:#0f172a}.settings-close{border:none;background:#0f172a0d;border-radius:999px;width:2.25rem;height:2.25rem;font-size:1.25rem;cursor:pointer;color:#0f172a}.settings-close:hover{background:#0f172a1f}.settings-content{display:flex;flex-direction:column;gap:1rem}.settings-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.settings-toggle-text{flex:1 1 240px;display:flex;flex-direction:column;gap:.35rem}.settings-toggle-title{margin:0;font-weight:600;color:#0f172a}.settings-toggle-subtitle{margin:0;color:#475569;font-size:.85rem}.settings-switch{position:relative;width:3.25rem;height:1.7rem;display:inline-flex;align-items:center}.settings-switch input{opacity:0;width:0;height:0;position:absolute}.settings-switch-visual{position:absolute;top:0;right:0;bottom:0;left:0;background:#cbd5f5;border-radius:999px;transition:background .2s ease}.settings-switch-visual:after{content:"";position:absolute;width:1.35rem;height:1.35rem;border-radius:50%;background:#fff;top:.17rem;left:.2rem;box-shadow:0 8px 16px #0f172a2e;transition:transform .2s ease}.settings-switch input:checked+.settings-switch-visual{background:#4f46e5}.settings-switch input:checked+.settings-switch-visual:after{transform:translate(1.45rem)}.settings-help-text{margin:0;font-size:.85rem;color:#4b5563}.settings-warning{margin:0;font-size:.85rem;color:#b91c1c;font-weight:600}.smartpaste-fallback-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a99;display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:85}.smartpaste-fallback{background:#fff;border-radius:18px;padding:1.5rem;width:min(480px,100%);display:flex;flex-direction:column;gap:1rem;box-shadow:0 45px 65px -50px #0f172abf}.smartpaste-fallback h2{margin:0;font-size:1.1rem;color:#0f172a}.smartpaste-fallback p{margin:0;color:#475569;font-size:.9rem}.smartpaste-fallback textarea{min-height:120px;border-radius:12px;border:1px solid #cbd5f5;padding:.75rem;font-size:.95rem;resize:vertical;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.smartpaste-fallback textarea:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e533}.smartpaste-fallback-actions{display:flex;justify-content:flex-end;gap:.75rem}.smartpaste-fallback button{border-radius:999px;padding:.5rem 1.1rem;border:none;font-weight:600;cursor:pointer}.smartpaste-fallback button.primary{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff}.smartpaste-fallback button.secondary{background:#0f172a0d;color:#0f172a}.smartpaste-fallback-error{margin:0;color:#b91c1c;font-size:.85rem;font-weight:600}@media (max-width: 640px){.settings-modal{padding:1.5rem}.settings-toggle-row{align-items:flex-start}.settings-switch{margin-left:auto}}@keyframes historyPulse{0%{opacity:1}to{opacity:0}}.groups-section{display:flex;flex-direction:column;gap:1.5rem}.groups-section h2{margin:0;color:#0f172a;font-size:1.5rem}.group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem}.group-card{background:#fff;border-radius:16px;padding:1.25rem;box-shadow:0 12px 22px -20px #0f172a59;display:flex;flex-direction:column;gap:.75rem}.group-card h3{margin:0;font-size:1.15rem;color:#0b1f33}.group-card p{margin:0;color:#4b6478;font-size:.95rem}.group-card ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem .75rem}.group-card li{display:inline-flex;align-items:baseline;gap:.35rem;padding:.35rem .6rem;border-radius:9999px;background:#f1f5f9;font-size:.85rem;color:#1e293b}.unit-symbol{color:#475569;font-weight:600}@media (min-width: 768px){.selection-row{flex-direction:row;justify-content:space-between}.selection-row .input-group{flex:0 1 260px;max-width:280px}.swap-button{align-self:center;width:56px}}.app-footer{margin-top:2.5rem;display:flex;flex-direction:column;align-items:center;gap:1rem;color:#4b6478;text-align:center}.changelog{width:100%;max-width:720px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 14px 28px -24px #0f172a66;transition:box-shadow .2s ease,transform .2s ease}.changelog summary{padding:1.25rem 1.5rem;cursor:pointer;font-weight:600;display:flex;justify-content:space-between;align-items:center;color:#102a43;list-style:none}.changelog summary:focus-visible{outline:2px solid #4f46e5;border-radius:18px}.changelog summary::-webkit-details-marker{display:none}.changelog summary:after{content:"▾";font-size:1.1rem;color:#475569;transition:transform .2s ease}.changelog[open] summary:after{transform:rotate(-180deg)}.changelog-content{padding:0 1.5rem 1.5rem;display:flex;flex-direction:column;gap:1.1rem;text-align:left}.changelog-entry{display:flex;flex-direction:column;gap:.4rem}.changelog-entry-header{display:flex;justify-content:space-between;align-items:baseline;gap:.75rem;color:#102a43}.changelog-entry-header h3{margin:0;font-size:1rem}.changelog-entry-header time{font-size:.85rem;color:#5a738e}.changelog-entry ul{margin:0;padding-left:1.2rem;color:#1f2933;font-size:.95rem}.footer-meta{margin:0;font-size:.9rem;color:#5a738e}.smartpaste-button-wrapper{position:fixed;right:1.5rem;bottom:1.5rem;display:flex;flex-direction:column;align-items:flex-end;gap:.5rem;z-index:50}.smartpaste-button{width:3.25rem;height:3.25rem;border:none;font-size:1.65rem;cursor:pointer;color:#f8fafc;display:inline-flex;align-items:center;justify-content:center;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.smartpaste-button:disabled{cursor:not-allowed;opacity:.6}.smartpaste-button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 14px 22px -12px #0f172a73}.smartpaste-tooltip{background:#0f172ae6;color:#f8fafc;padding:.45rem .75rem;border-radius:12px;font-size:.75rem;max-width:220px;text-align:right;box-shadow:0 18px 28px -18px #0f172ab3}.smartpaste-toast{position:fixed;right:1.5rem;width:min(320px,calc(100% - 2rem));padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.9rem;z-index:60}.smartpaste-toast-content{display:flex;align-items:center;gap:.75rem}.smartpaste-toast-icon{font-size:1.5rem}.smartpaste-toast-text{display:flex;flex-direction:column;gap:.25rem}.smartpaste-toast-title{margin:0;font-size:.85rem;letter-spacing:.04em;text-transform:uppercase;color:#dbeafe}.smartpaste-toast-body{margin:0;font-size:1rem;color:#f8fafc;word-break:break-word}.smartpaste-toast-subtle{margin:0;font-size:.8rem;color:#e2e8f0bf}.smartpaste-toast-actions{display:flex;gap:.5rem;justify-content:flex-end}.smartpaste-toast-button{border-radius:999px;padding:.4rem .95rem;font-size:.85rem;font-weight:600;border:none;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.smartpaste-toast-button.primary{background:linear-gradient(135deg,#3b82f6d9,#3b82f6a6);color:#f8fafc}.smartpaste-toast-button.primary:hover{transform:translateY(-1px);box-shadow:0 12px 22px -18px #3b82f6e6}.smartpaste-toast-button.ghost{background:transparent;border:1px solid rgba(255,255,255,.35);color:#e0e7ff}.smartpaste-toast-button.ghost:hover{transform:translateY(-1px);box-shadow:0 12px 22px -18px #94a3b8e6}.glass-toast{background:#ffffff1a;border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:16px;box-shadow:0 6px 24px #0000002e;color:#e6f0ff}.glass-fab{background:#ffffff24;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:9999px}@media (max-width: 720px){.smartpaste-toast{right:1rem;left:1rem;width:auto}.smartpaste-button-wrapper{right:1rem;bottom:1rem}}:root{color-scheme:light dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#1f2933;background-color:#f0f4f8}*{box-sizing:border-box}body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}#root{min-height:100vh;display:flex;align-items:center;justify-content:center}:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.sr-only,.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
