@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root{font-family:'DM Sans',Arial,sans-serif;color:#25342d;background:#f6f4ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.page{max-width:1200px;margin:auto;padding:0 42px}.site-header{height:108px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dedfd6}.brand{display:flex;align-items:center;gap:11px;color:#233f32;text-decoration:none;font-size:25px;font-weight:700;letter-spacing:-1.5px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#426650;color:#fff;font-family:'Playfair Display',Georgia,serif;font-size:22px;font-weight:500;letter-spacing:0}.brand-dot{color:#d68c5a}.header-note{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#7f897f}.intro{padding:82px 0 48px;max-width:720px}.eyebrow,.section-kicker{font-weight:700;font-size:11px;letter-spacing:.2em;color:#71806f}.status-dot{display:inline-block;background:#87ad7f;border-radius:50%;width:7px;height:7px;margin-right:8px;vertical-align:1px}.eyebrow-arrow{font-size:16px;vertical-align:-1px;padding:0 8px;color:#c68e64}.intro h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(52px,6vw,82px);line-height:1.1;font-weight:500;letter-spacing:-.055em;margin:21px 0 20px}.intro h1 em{color:#c77d53;font-weight:500}.intro p{font-size:17px;line-height:1.7;color:#737e74;max-width:575px;margin:0}.translator{background:#fff;border:1px solid #e2e4dc;border-radius:20px;box-shadow:0 20px 60px #3445310c;overflow:hidden}.language-bar{height:78px;display:grid;grid-template-columns:1fr 80px 1fr;align-items:center;border-bottom:1px solid #e9ebe5}.language-label{font-size:15px;font-weight:700;padding:0 32px}.language-label.right{text-align:left;padding-left:32px}.swap-button{border:1px solid #d9dfd6;border-radius:50%;background:#f8faf6;color:#426650;width:42px;height:42px;justify-self:center;font-size:24px;line-height:1;cursor:pointer;transition:transform .2s,background .2s}.swap-button:hover{background:#eaf0e9;transform:rotate(180deg)}.panels{display:grid;grid-template-columns:1fr 1fr;min-height:275px}.panel{padding:27px 31px 20px;display:flex;flex-direction:column;min-width:0}.source-panel{border-right:1px solid #e9ebe5}.output-panel{background:#fbfcf9}textarea,.translation-output{font:500 20px/1.6 'DM Sans',Arial,sans-serif;color:#2d3e32;flex:1;min-height:170px;width:100%;white-space:pre-wrap;overflow-wrap:anywhere}textarea{border:0;outline:0;resize:vertical;background:transparent}textarea::placeholder,.translation-output.empty{color:#aab2a8}.panel-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#97a095;font-size:12px}.text-button{border:0;background:none;color:#53725d;font:700 12px 'DM Sans',Arial,sans-serif;cursor:pointer;padding:7px}.text-button:disabled{color:#b8c0b7;cursor:default}.action-row{display:flex;justify-content:space-between;align-items:center;padding:20px 31px;border-top:1px solid #e9ebe5}.hint{font-size:12px;color:#9da69a}.translate-button{background:#426650;color:#fff;border:0;border-radius:10px;padding:15px 22px;font:700 14px 'DM Sans',Arial,sans-serif;cursor:pointer;min-width:145px;display:flex;justify-content:space-between;gap:24px}.translate-button:hover{background:#31513e}.translate-button:disabled{opacity:.65;cursor:wait}.message{margin:0;padding:0 31px;color:#ad5b44;font-size:13px}.message:not(:empty){padding-bottom:18px}.history{margin:68px 0 90px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:22px}.section-heading h2{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:31px;letter-spacing:-.04em;margin:8px 0 0}.history-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.history-card{border:1px solid #e1e5dc;background:#fff;border-radius:13px;padding:19px 21px;cursor:pointer;text-align:left;min-width:0;transition:box-shadow .2s,border-color .2s}.history-card:hover{border-color:#9db7a0;box-shadow:0 6px 22px #314d3514}.history-card .pair{font-size:10px;font-weight:700;letter-spacing:.13em;color:#6a8a70;text-transform:uppercase}.history-card .original{display:block;font-weight:700;font-size:14px;margin:15px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-card .result{display:block;font-size:13px;color:#828d80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-empty{font-size:13px;color:#8c978a}.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}footer{border-top:1px solid #dedfd6;padding:25px 0 35px;display:flex;justify-content:space-between;color:#919b8e;font-size:12px}@media(max-width:700px){.page{padding:0 20px}.site-header{height:78px}.header-note{display:none}.intro{padding:55px 0 36px}.intro p{font-size:15px}.language-bar{grid-template-columns:1fr 60px 1fr}.language-label,.language-label.right{padding:0 15px;font-size:13px}.panels{grid-template-columns:1fr}.source-panel{border-right:0;border-bottom:1px solid #e9ebe5}.panel{padding:22px;min-height:215px}textarea,.translation-output{min-height:140px;font-size:18px}.action-row{padding:17px 22px}.hint{display:none}.translate-button{width:100%}.history{margin:50px 0}.history-list{grid-template-columns:1fr}.section-heading{align-items:center}.section-heading h2{font-size:26px}footer{display:block}footer span{display:block;margin-top:8px}}
[hidden]{display:none!important}.auth-section{max-width:500px;margin:0 auto 60px;padding:32px;background:#fff;border:1px solid #e2e4dc;border-radius:20px}.auth-section h2{font-family:Playfair Display,Georgia,serif;font-size:31px;font-weight:500;margin:0 0 8px}.auth-section p{color:#737e74}.sign-in-form{display:grid;gap:16px}.sign-in-form label{display:grid;gap:7px;font-size:13px;font-weight:700}.sign-in-form input{width:100%;border:1px solid #d9dfd6;border-radius:8px;padding:12px;font:inherit}.sign-in-form .translate-button{justify-content:center}.auth-section .message{padding:0}.account-bar{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:0 0 16px;font-size:12px;color:#71806f}
