.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}@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}}: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}
