@font-face{font-family:GardenSerif;src:url('/assets/fonts/frank-ruhl-libre-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:GardenSerif;src:url('/assets/fonts/frank-ruhl-libre-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Garden;src:url('/assets/fonts/assistant-300.ttf') format('truetype');font-weight:300;font-display:swap}@font-face{font-family:Garden;src:url('/assets/fonts/assistant-500.ttf') format('truetype');font-weight:500;font-display:swap}
.story-editor{direction:rtl;display:grid;grid-template-columns:minmax(300px,1fr) minmax(300px,1fr);gap:28px;align-items:start}.story-editor h2,.story-editor h3,.story-editor p,.story-editor label,.story-editor button,.story-page-intro{font-family:Garden,Arial,sans-serif}.story-page-intro{direction:rtl;display:flex;gap:15px;justify-content:space-between;align-items:center;margin-bottom:25px}.story-page-intro h1{font:300 40px/1.2 Garden,Arial,sans-serif;color:#234c39;margin:7px 0}.story-page-intro p{color:#7a8974;font-size:15px;margin-top:8px}.story-page-intro small{font:500 10px Garden;letter-spacing:2px;color:#6d8b60;direction:ltr}.story-page-intro .btn{background:#214a37}.story-preview-panel{grid-column:2;grid-row:1;position:sticky;top:24px;text-align:center;background:#e5eadd;padding:24px 18px;border:1px solid #d8e2cc;border-radius:20px}.story-preview-panel h2{font-size:22px;font-weight:300;color:#37553b;margin-bottom:5px}.story-preview-panel>p{font-size:13px;color:#7b8e71;margin:0 0 18px}.story-phone{max-width:390px;position:relative;height:720px;margin:0 auto;border:7px solid #244334;border-radius:31px;background:#f3f2e9;overflow:hidden;box-shadow:0 16px 34px #18362124}.story-phone iframe{display:block;border:0;width:100%;height:100%;background:#193e32}.story-preview-actions{display:flex;justify-content:center;gap:10px;margin-top:16px;flex-wrap:wrap}.story-preview-actions button{font-size:13px;color:#426341;background:#f6f7f0;border:1px solid #d0dcc4;border-radius:25px;padding:8px 14px;min-height:40px}.story-settings{grid-column:1;grid-row:1;background:#fffefa;border:1px solid #e1e6d8;border-radius:18px;padding:23px}.story-settings h2{font-weight:300;font-size:26px;color:#355438;margin:0 0 5px}.story-settings p{color:#819177;font-size:13px;line-height:1.7}.story-settings .field{font:300 14px Garden;direction:rtl;color:#55704c}.story-settings .field input,.story-settings .field textarea{font:300 16px/1.6 Garden;min-height:44px;border-color:#d9e1d0;background:#fffffc;color:#25452f}.story-settings .field input[type=time]{direction:ltr}.story-settings .field textarea{min-height:86px}.story-form-section{border-top:1px solid #e4e9dc;padding-top:20px;margin-top:23px}.story-form-section h3{font-size:19px;font-weight:500;margin-bottom:14px;color:#496744}.story-settings .form-grid{gap:16px}.story-settings .btn{background:#214a37;font:500 15px Garden;min-height:44px}.story-form-save{position:sticky;bottom:0;z-index:2;background:#fffefaf5;padding:15px 0 0;margin-top:8px;display:flex;gap:10px;align-items:center;justify-content:space-between}.story-form-save small{font:300 12px Garden;color:#8a967f}.story-photos{display:grid;gap:9px;margin:15px 0}.story-photo-row{display:flex;gap:11px;border:1px solid #e0e7d7;border-radius:10px;padding:9px;align-items:center}.story-photo-row img{width:54px;height:67px;object-fit:cover;border-radius:5px}.story-photo-row>div:nth-child(2){flex:1;font-size:14px;color:#546f4b}.story-photo-row small{display:block;font-size:11px;color:#91a184}.story-photo-row button{padding:5px;font:300 17px Garden;color:#6b8260;min-width:32px;min-height:36px}.story-upload{display:block;border:1px dashed #b3c69f;padding:14px;border-radius:10px;text-align:center;cursor:pointer;color:#56774b;font:300 15px Garden}.story-upload input{display:block;width:100%;margin-top:8px;font:300 12px Garden}.story-share-note{background:#edf2e6;border:1px solid #dbe5ce;border-radius:10px;padding:14px;margin-top:16px}.story-share-note strong{font:500 14px Garden;color:#507143}.story-share-note .btn{margin-top:12px;width:100%}.story-link{font:300 12px Garden;width:100%;direction:ltr;margin-top:10px;padding:10px;border:1px solid #d7e1cb;border-radius:7px;background:#fffefa;color:#687f5c}.story-preview-dialog{width:min(750px,100vw);max-width:100vw;padding:0!important;background:#193e32;border:0;max-height:100dvh;height:96dvh;border-radius:14px}.story-preview-dialog iframe{height:100%;width:100%;border:0;display:block}.story-dialog-close{position:absolute;top:13px;left:13px;z-index:5;background:#173f34c9;border:1px solid #d0dfc5;color:white;border-radius:50%;font-size:21px;width:38px;height:38px;line-height:1}.story-settings [data-story-error]{color:#a05048;font-size:14px;white-space:pre-line}@media(max-width:1050px){.story-editor{grid-template-columns:1fr}.story-preview-panel{grid-column:1;grid-row:1;position:relative;top:auto}.story-settings{grid-column:1;grid-row:2}.story-page-intro{align-items:start;flex-direction:column}}@media(max-width:600px){.story-page-intro h1{font-size:34px}.story-preview-panel{padding:17px 9px}.story-phone{height:640px;border-width:5px;border-radius:25px}.story-settings{padding:20px 17px}.story-form-save{bottom:68px}.story-settings .form-grid{grid-template-columns:1fr}.story-preview-dialog{height:100dvh;border-radius:0;max-height:100dvh;margin:0;width:100vw}.story-editor{gap:20px}.story-preview-panel>p{font-size:12px}}
