@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Naskh+Arabic:wght@500;600;700&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#17211d;background:#f4f6f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 8% 0%,#e6eee5 0,transparent 35%),#f4f6f3}.shell{width:min(820px,calc(100% - 36px));margin:0 auto;padding:54px 0 32px}header{display:flex;align-items:center;gap:18px;margin-bottom:28px}.brand-mark{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:17px;background:#174c3a;color:#fff;font:700 34px 'Noto Naskh Arabic';box-shadow:0 8px 20px #174c3a20}.eyebrow,.phrase-label{font-size:10px;font-weight:700;letter-spacing:.14em;color:#6b8075;margin:0 0 6px}h1{font-size:27px;letter-spacing:-.04em;margin:0 0 4px}.subhead{font-size:14px;color:#69776f;margin:0}.panel{background:#fff;border:1px solid #e5eae5;border-radius:18px;box-shadow:0 12px 36px #18261b08}.setup{padding:23px 25px;margin-bottom:18px}.setup h2{font-size:15px;margin:0 0 18px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fields label,.login-panel label{font-size:12px;font-weight:600}.hint{font-weight:400;color:#8a968e;margin-left:6px}.fields input,.login-panel input:not([type=hidden]){display:block;width:100%;margin-top:8px;padding:11px 12px;border:1px solid #dce3dd;border-radius:9px;font:inherit;font-size:14px;outline:none}.fields input:focus,.login-panel input:focus{border-color:#468066;box-shadow:0 0 0 3px #46806618}.consent{display:flex;align-items:flex-start;gap:10px;margin-top:17px;color:#4f5e55;font-size:12px;line-height:1.55}.consent input{accent-color:#174c3a;margin:2px 0 0}.privacy-note{font-size:11px;line-height:1.5;color:#859188;margin:10px 0 0 24px}.recorder{padding:24px 28px 21px}.progress-row{display:flex;justify-content:space-between;color:#748078;font-size:12px}.progress-track{height:5px;border-radius:8px;background:#edf1ed;margin:10px 0 22px;overflow:hidden}.progress-track div{height:100%;width:0;background:#4b896a;transition:width .2s}.phrase-box{min-height:185px;border-radius:13px;background:#f6f8f5;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px}.phrase-label{margin-bottom:12px}.phrase-box p:last-child{font:600 clamp(25px,5vw,37px)/1.8 'Noto Naskh Arabic',serif;color:#18392c;margin:0;text-align:center}.status{text-align:center;min-height:20px;margin:14px 0 12px;color:#718077;font-size:12px}.status.error,.login-error{color:#b34335}.controls{display:flex;align-items:center;justify-content:center;gap:12px}.controls button,.login-submit{height:44px;border:0;border-radius:10px;padding:0 16px;font:600 13px 'DM Sans',sans-serif;cursor:pointer}.controls button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#f0f3f0;color:#43534a}.record{display:flex;align-items:center;justify-content:center;gap:9px;min-width:178px;background:#174c3a;color:white;box-shadow:0 5px 12px #174c3a22}.record.recording{background:#aa443a}.record-dot{width:9px;height:9px;border-radius:50%;background:#f27c71}.record.recording .record-dot{background:#fff;animation:pulse 1s infinite alternate}@keyframes pulse{to{opacity:.35}}audio{display:block;width:min(400px,100%);height:38px;margin:15px auto 0}.below{display:flex;justify-content:center;gap:24px;margin-top:12px}.text-button{border:0;background:none;color:#4d735f;font:600 12px 'DM Sans';cursor:pointer;text-decoration:none}.export-link{display:inline-flex;align-items:center}footer{display:flex;justify-content:space-between;gap:12px;margin-top:18px;color:#89948d;font-size:11px}.login-shell{max-width:560px}.login-panel form{display:grid;gap:16px}.login-panel label{display:block}.login-submit{width:100%;margin-top:4px}.login-error{font-size:12px}.header-copy{flex:1}.logout-form{margin-left:auto}.logout-form button{white-space:nowrap}@media(max-width:560px){.shell{padding-top:28px}.fields{grid-template-columns:1fr;gap:12px}.setup{padding:20px}.recorder{padding:20px 15px}.controls{gap:7px}.controls button{padding:0 10px}.record{min-width:145px}.below{gap:12px;flex-wrap:wrap}footer{flex-direction:column}}
