:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#33382d;background:#faf9f6;font-synthesis:none;--muted:#8c8f82;--accent:#424d34;--line:#e3e3d8}
*{box-sizing:border-box}body{margin:0;min-height:100dvh}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid #8b956e;outline-offset:5px}[hidden]{display:none!important}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}header{display:flex;align-items:center;justify-content:space-between;padding:28px 40px}header a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#666d50;font-size:21px;font-weight:600;letter-spacing:-.8px}header svg{width:27px;height:27px}.private{font-size:11px;color:#888e7e}main{min-height:calc(100dvh - 86px);display:flex;justify-content:center;align-items:center;padding:30px 24px 110px}.workspace{width:100%;max-width:680px}.intro{text-align:center;margin-bottom:34px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:2px;color:#8b917e}h1{font-size:clamp(28px,4vw,38px);font-weight:450;letter-spacing:-1.5px;margin:14px 0 12px;line-height:1.25}.intro>p:last-child{font-size:13px;color:var(--muted);margin:0}#composer{background:#fffefa;border:1px solid var(--line);border-radius:19px;padding:24px 22px 16px;box-shadow:0 8px 35px #30382205;transition:border-color .2s}#composer:focus-within{border-color:#adb79a}textarea{display:block;width:100%;border:0;background:none;resize:vertical;min-height:152px;max-height:45dvh;color:#3d4333;font-size:16px;line-height:1.7;padding:0;outline:none!important}textarea::placeholder{color:#a5aa9b}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px}#draft-label{font-size:11px;color:#959c89}.actions{display:flex;align-items:center;gap:9px}.icon-button{display:grid;place-items:center;width:44px;height:44px;background:none;border:0;border-radius:11px;color:#7c856c}.icon-button:hover{background:#f0f1e8}#save{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:0 17px;background:var(--accent);color:#fff;border:0;border-radius:11px;font-size:13px}#save svg{width:18px;height:18px}#save:disabled{background:#ebeee3;color:#a3ab98}#status{min-height:20px;font-size:12px;text-align:center;color:#697952;margin:14px 0 0;overflow-wrap:anywhere}#status.error{color:#9a573f}.hint{display:flex;justify-content:center;gap:20px;font-size:10px;color:#9a9f90;margin:12px 0 0}.hint span{color:#a7ad9d}#attachment{display:flex;align-items:center;gap:12px;padding:12px;background:#f1f2e9;border-radius:12px;margin-top:18px;min-width:0}#photo-preview{flex-shrink:0;width:52px;height:52px;display:grid;place-items:center;border-radius:7px;overflow:hidden;background:#e5e9dc;color:#7b8568;font-size:10px}#photo-preview img{width:100%;height:100%;object-fit:cover}.file-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}#file-name{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#file-size{font-size:10px;color:#8a927f}#remove-photo{border:0;background:none;font-size:23px;color:#8d957f;width:44px;height:44px;border-radius:8px}.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}dialog{width:calc(100% - 32px);max-width:370px;border:1px solid var(--line);border-radius:20px;padding:30px;background:#faf9f6;color:#33382d;box-shadow:0 25px 100px #26301925}dialog::backdrop{background:#333b2838;backdrop-filter:blur(5px)}dialog h2{font-size:25px;font-weight:450;letter-spacing:-.8px;margin:18px 0 10px}dialog p{font-size:12px;color:var(--muted);line-height:1.7}dialog label{display:block;font-size:11px;color:#778168;margin:22px 0 8px}dialog input{width:100%;padding:13px;border:1px solid #dce0d1;border-radius:9px;background:#fffefa;font-size:16px}dialog button{width:100%;display:flex;justify-content:space-between;border:0;border-radius:9px;padding:13px 15px;color:white;background:var(--accent);font-size:13px}#login-error{color:#9a573f;min-height:18px}
@media(max-width:640px){header{padding:22px max(22px,env(safe-area-inset-right)) 16px max(22px,env(safe-area-inset-left))}header a{font-size:19px}main{min-height:calc(100dvh - 71px);padding:26px max(18px,env(safe-area-inset-left)) calc(85px + env(safe-area-inset-bottom))}.intro{margin-bottom:28px}h1{font-size:29px}.intro>p:last-child{font-size:12px}#composer{padding:20px 17px 12px}textarea{min-height:165px}.hint span{display:none}.private{font-size:10px}.toolbar{padding-top:12px}.hint{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
