/* Local stories and the owner editor */
.article-site{background:#faf9f5;color:#244944}.article-site main{max-width:1180px;margin:auto;padding:48px 28px 80px}.article-site h1{font-size:clamp(28px,3.2vw,44px);line-height:1.6;margin:12px 0 14px}.article-site p{line-height:1.9}.article-site label{display:block;font-weight:600;font-size:13px;margin:18px 0 8px}.article-site input:not([type=checkbox]),.article-site textarea,.article-site select{width:100%;border:1px solid #d8ddd5;background:white;border-radius:7px;padding:12px;color:#244944;font:inherit;font-weight:400;margin-top:7px}.article-site textarea{resize:vertical;line-height:1.9}.article-site input[type=checkbox]{width:auto;margin-right:8px}.article-site .check-label{display:flex;align-items:center;font-weight:400}.article-site .field-help{font-size:12px;color:#68776b;font-weight:400;line-height:1.8}.article-notice{background:#f1eddc;border:1px solid #e0d8be;border-radius:9px;padding:17px 21px;font-size:13px;line-height:1.9}.editor-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.editor-heading p{color:#6a776e;margin:0}.editor-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:30px;margin-top:30px}.article-library{background:#eef1e9;padding:20px;border-radius:10px;align-self:start}.article-library .primary{width:100%;justify-content:center}.library-item{display:block;text-align:left;width:100%;background:transparent;border:0;border-top:1px solid #d6ded3;padding:16px 6px;color:#244944;cursor:pointer}.library-item span{font-size:11px;display:block;color:#657a67}.library-item strong{display:block;font-size:14px;line-height:1.6;margin:5px 0;overflow-wrap:anywhere}.library-item small{font-size:11px;color:#68776b}.library-item.selected{background:#dde7d8}.editor-panel{background:#fff;border:1px solid #e0e3d9;border-radius:12px;padding:26px 30px;min-width:0}.editor-state{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#68776b;border-bottom:1px solid #e1e5db;padding-bottom:16px}.required{font-size:10px;background:#f4e6db;color:#8c5d45;padding:3px 6px;border-radius:4px;font-weight:400}.editor-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.photo-input{padding:8px 18px 14px;background:#f7f7f1;margin:18px 0;border-radius:8px}.photo-input img{display:block;max-width:100%;max-height:230px;object-fit:contain;margin:14px 0}.photo-input img[hidden]{display:none}.writing-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:#eef1e9;padding:10px;border-radius:7px 7px 0 0}.writing-toolbar button{border:1px solid #d2dacd;background:#fff;border-radius:4px;padding:7px 12px;color:#244944;cursor:pointer}.writing-toolbar span{font-size:11px;color:#68776b}.article-site #article-body{margin-top:0;border-radius:0 0 7px 7px;font-size:15px}.article-site details{border-bottom:1px solid #e1e5db;padding:19px 0}.article-site summary{cursor:pointer;font-size:14px;font-weight:600}.editor-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.text-button{background:none;border:0;color:#95604b;text-decoration:underline;cursor:pointer}.editor-feedback{font-size:13px;min-height:24px}.is-error{color:#ac3b33!important}.article-howto{padding:32px;background:#edf1e9;margin-top:50px;border-radius:12px}.article-howto h2{font-size:22px;margin:0 0 16px}.article-howto li{font-size:14px;line-height:1.9;margin:12px 0}.article-howto p{font-size:13px}.article-site dialog{border:0;border-radius:12px;max-width:900px;width:calc(100% - 30px);max-height:90vh;padding:0;background:#faf9f5}.article-site dialog::backdrop{background:#153b35a8}.preview-top{position:sticky;top:0;background:#e5ecdf;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;font-size:12px;z-index:2}.preview-top button{background:none;border:0;font-size:25px;color:#244944;cursor:pointer}.story-reader{max-width:760px;margin:auto;padding:38px 25px}.story-reader h1{font-size:clamp(26px,4vw,38px);line-height:1.6;overflow-wrap:anywhere}.story-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:11px;color:#5c7769}.pr-tag,.ended-tag{font-size:10px;border:1px solid #b6bdaa;border-radius:3px;padding:2px 6px}.ended-tag{color:#8a6252;background:#f2e8de}.story-summary{font-size:15px;color:#68776b}.story-reader figure{margin:28px 0}.story-reader figure img{width:100%;max-height:540px;object-fit:contain;background:#edf0e6;border-radius:6px}.story-reader figcaption{font-size:11px;color:#68776b;margin-top:8px}.story-body{margin:35px 0;font-size:16px;line-height:2;overflow-wrap:anywhere}.story-body h2{font-size:23px;margin:35px 0 18px;padding-left:14px;border-left:3px solid #849e7a}.story-body p{margin:0 0 12px;white-space:pre-wrap}.story-body ul{padding-left:24px;line-height:2}.story-links{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.story-source{font-size:12px}.story-save{border-top:1px solid #dce2d6;margin:35px auto;max-width:710px;padding:25px 0}.story-save p{font-size:13px}.stories-hero{padding:10px 0 30px}.stories-hero p{color:#68776b}.article-controls{display:flex;align-items:end;gap:20px;flex-wrap:wrap;border-block:1px solid #dde3d7;padding:12px 0 22px}.article-controls label{min-width:180px;margin:0}.article-controls .check-label{padding-bottom:12px}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.story-card{display:flex;flex-direction:column;background:white;border:1px solid #e0e5d9;border-radius:11px;overflow:hidden;text-decoration:none;color:#244944;transition:transform .15s}.story-card:hover{transform:translateY(-3px)}.story-card>img{width:100%;height:190px;object-fit:cover}.story-card-placeholder{height:180px;background:#e4ebdc;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:42px;color:#557e6c}.story-card-placeholder span{font-size:9px;letter-spacing:2px}.story-card-copy{padding:22px}.story-card h3{font-size:19px;line-height:1.65;margin:12px 0;overflow-wrap:anywhere}.story-card p{color:#6b7b6c;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.story-card .text-link{font-size:12px}.article-empty{grid-column:1/-1;padding:32px;border:1px dashed #bdcbb7;border-radius:10px;background:#f1f4eb;font-size:14px}.home-stories{margin:60px 0}.home-stories .section-heading{gap:20px}.home-stories p{line-height:1.8}.article-site footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:28px}.article-site button:disabled{opacity:.5;cursor:wait}.article-site [hidden]{display:none!important}
@media(max-width:800px){.editor-grid{grid-template-columns:1fr}.article-library{max-height:320px;overflow:auto}.editor-heading{display:block}.editor-panel{padding:20px}.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-site header nav{gap:12px}.article-site main{padding:28px 18px 60px}.editor-heading .text-link{display:inline-block;margin-top:15px}}
@media(max-width:520px){.story-grid{grid-template-columns:1fr}.editor-two{grid-template-columns:1fr;gap:0}.article-site header{flex-wrap:wrap;gap:18px;padding:20px}.article-site header nav{font-size:12px;flex-wrap:wrap}.article-site h1{font-size:28px}.editor-actions{gap:8px}.editor-actions button{flex:1 1 40%;justify-content:center}.article-howto{padding:24px 18px}.story-reader{padding:25px 0}.preview-top{padding:12px}.article-site #preview-content{padding:0 18px}.article-controls{display:block}.article-controls label{margin:12px 0}.editor-state{flex-direction:column;gap:6px}}
.starter-panel{border:1px solid #dedbe5;background:white;border-radius:14px;padding:24px;margin:24px 0}.starter-panel h2{font-size:23px;line-height:1.7;margin:0 0 12px}.starter-panel>p{font-size:13px;color:#6d6873}.starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.starter-card{display:block;text-align:left;background:#faf9fc;border:1px solid #dedbe5;border-radius:10px;padding:18px;color:inherit;cursor:pointer}.starter-card:hover{border-color:#bca5d0}.starter-card small{display:block;font-size:11px;color:#746c7c;margin-bottom:10px}.starter-card strong{font-size:14px;line-height:1.8;display:block}@media(max-width:800px){.starter-grid{grid-template-columns:1fr}}
