:root{--story-ink:#132b37;--story-muted:#60747c;--story-teal:#087f81;--story-coral:#ed7958;--story-paper:#f7f2e9;--story-line:#dfebe8}
.story-eyebrow{margin:0 0 1rem;color:var(--story-teal);font-size:.77rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.story-index-hero{overflow:hidden;background:#e7f0eb;position:relative}
.story-index-hero:after{content:"";position:absolute;right:-15vw;bottom:-26vw;width:60vw;height:60vw;border:1px solid rgba(4,99,106,.14);border-radius:50%;box-shadow:0 0 0 8vw rgba(255,255,255,.11),0 0 0 17vw rgba(255,255,255,.09);pointer-events:none}
.story-index-hero-inner{min-height:540px;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.78fr);gap:5vw;align-items:center;padding-top:5rem;padding-bottom:5rem;position:relative;z-index:1}
.story-index-hero h1{max-width:40rem;font-size:clamp(2.35rem,4vw,3.55rem);line-height:1.3;letter-spacing:0;color:var(--story-ink);margin:0 0 1.5rem;font-weight:700}
.story-index-hero h1 em{display:block;font-family:inherit;font-style:normal;font-weight:inherit;color:var(--story-teal)}
.story-index-hero-inner>div:first-child>p:last-of-type{max-width:36rem;color:#415e67;font-size:1.12rem;line-height:1.7;margin:0 0 2rem}
.story-hero-actions{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}.story-hero-actions>a:not(.button){color:var(--story-ink);font-weight:750;text-decoration:none}
.story-hero-visual{height:410px;position:relative;display:grid;place-items:center}
.story-paper{width:290px;height:365px;border-radius:8px;box-shadow:0 25px 60px rgba(19,43,55,.16);position:absolute}.story-paper-back{background:#efaf94;transform:translate(64px,-20px) rotate(14deg)}.story-paper-front{background:var(--story-ink);color:white;transform:rotate(-8deg);padding:2rem;display:flex;flex-direction:column;justify-content:space-between}.story-paper-front span{font-size:.7rem;letter-spacing:.17em;color:#a9d8d5}.story-paper-front strong{font-size:2.35rem;line-height:1.12;letter-spacing:-.04em}.story-paper-front i{color:#71ccc7;font-size:2.7rem;font-style:normal;align-self:flex-end}
.story-hero-stamp{position:absolute;right:0;bottom:15px;background:#f5d666;color:var(--story-ink);height:112px;width:112px;border-radius:50%;display:grid;place-items:center;text-align:center;font-weight:850;line-height:1.3;transform:rotate(10deg);box-shadow:0 12px 30px rgba(19,43,55,.12)}
.story-index-list{padding-top:5rem;padding-bottom:6rem}.story-section-head{display:flex;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:2rem}.story-section-head h2{color:var(--story-ink);font-size:clamp(2rem,4vw,3.1rem);letter-spacing:-.04em;line-height:1.13;margin:0}.story-section-head p:last-child{color:var(--story-muted);margin:.7rem 0 0}.story-section-head>a{color:var(--story-teal);text-decoration:none;font-weight:800;white-space:nowrap}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.story-card{background:#fff;border:1px solid var(--story-line);border-radius:22px;overflow:hidden;box-shadow:0 14px 38px rgba(11,69,71,.07);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.story-card:hover{transform:translateY(-5px);box-shadow:0 20px 46px rgba(11,69,71,.12)}.story-card-image{height:220px;position:relative;display:block;background:linear-gradient(145deg,#096e78,#0b354b 62%,#f48767);overflow:hidden}.story-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.story-card:hover img{transform:scale(1.04)}.story-card-placeholder{color:rgba(255,255,255,.8);font-weight:900;font-size:9rem;letter-spacing:-.14em;position:absolute;left:1rem;bottom:-4rem;line-height:1}.story-card-placeholder span{font-size:3rem;vertical-align:top;letter-spacing:0;margin-left:1rem}.story-card-image-label{position:absolute;left:1rem;bottom:1rem;background:#fff;padding:.35rem .65rem;border-radius:4px;color:var(--story-ink);font-size:.7rem;font-weight:850;letter-spacing:.08em}.story-card-body{padding:1.45rem 1.55rem 1.6rem;display:flex;flex-direction:column;flex:1}.story-card-meta{display:flex;align-items:center;gap:.6rem;color:var(--story-teal);font-size:.77rem;font-weight:750}.story-card h2{font-size:1.45rem;line-height:1.25;letter-spacing:-.025em;margin:.8rem 0;color:var(--story-ink)}.story-card h2 a{color:inherit;text-decoration:none}.story-card-body>p{color:var(--story-muted);font-size:.95rem;line-height:1.55;margin:0 0 1.3rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.story-card-more{margin-top:auto;border-top:1px solid var(--story-line);padding-top:.95rem;display:flex;justify-content:space-between;color:var(--story-teal);font-weight:800;text-decoration:none}
.story-empty{padding:4rem 2rem;text-align:center;background:var(--story-paper);border:1px dashed #d8cfc1;border-radius:24px}.story-empty>span{font-size:2.5rem;color:var(--story-coral)}.story-empty h3{font-size:1.7rem;margin:.4rem 0;color:var(--story-ink)}.story-empty p{color:var(--story-muted);margin:0 auto 1.6rem;max-width:30rem}
.story-workspace-hero{background:var(--story-ink);color:white;padding:3.1rem 0 3.4rem;position:relative;overflow:hidden}.story-workspace-hero:after{content:"✧";position:absolute;right:5%;top:-11rem;color:rgba(89,198,189,.09);font-size:29rem;line-height:1;pointer-events:none}.story-workspace-hero .shell{position:relative;z-index:1}.story-workspace-hero a{color:#8de0d8;text-decoration:none;font-weight:750}.story-workspace-hero .story-eyebrow{margin:1.9rem 0 .5rem;color:#79d2cd}.story-workspace-hero .shell>div{display:flex;justify-content:space-between;align-items:center;gap:1rem}.story-workspace-hero h1{margin:0;font-size:clamp(2.6rem,5vw,4.5rem);line-height:1.1;letter-spacing:-.05em}.story-workspace-hero p:last-child{color:#b5cdd0;max-width:44rem;margin:1rem 0 0}.story-workspace-hero .button{color:#fff}
.story-notice,.story-error{padding:1rem 1.15rem;border-radius:12px;margin-bottom:1.2rem;font-weight:650}.story-notice{background:#e2f4ed;color:#176953}.story-error{background:#fff1ed;color:#a74430}
.story-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:2rem;align-items:start;padding-top:3rem;padding-bottom:5rem}.story-editor-form,.story-side-panel{background:#fff;border:1px solid var(--story-line);border-radius:20px;box-shadow:0 12px 34px rgba(19,43,55,.05)}.story-editor-form{padding:clamp(1.4rem,3vw,2.5rem)}.story-editor-section-heading{display:flex;gap:1rem;align-items:center;margin:0 0 1.5rem}.story-editor-section-heading:not(:first-of-type){margin-top:3rem;padding-top:2.5rem;border-top:1px solid var(--story-line)}.story-editor-section-heading>span{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#e5f3ee;color:var(--story-teal);font-size:.88rem;font-weight:900;flex:none}.story-editor-section-heading .story-eyebrow{margin:0 0 .2rem}.story-editor-section-heading h2{margin:0;color:var(--story-ink);font-size:1.65rem;letter-spacing:-.03em}.story-editor-form label,.story-upload-form label{display:block;font-size:.93rem;color:var(--story-ink);font-weight:800;margin:1.3rem 0 .5rem}.story-editor-form label span{color:var(--story-coral)}.story-editor-form input:not([type=checkbox]),.story-editor-form textarea,.story-editor-form select,.story-upload-form input{display:block;width:100%;border:1px solid #cddedb;border-radius:10px;background:#fbfdfc;color:var(--story-ink);padding:.84rem 1rem;font:inherit;line-height:1.5}.story-editor-form input:focus,.story-editor-form textarea:focus,.story-editor-form select:focus,.story-upload-form input:focus{outline:2px solid #5bc3ba;outline-offset:2px}.story-editor-form textarea{resize:vertical}.story-editor-form small,.story-side-panel small{display:block;color:var(--story-muted);font-size:.78rem;line-height:1.55;margin-top:.45rem}.story-toolbar{display:flex;gap:.4rem;background:#f4f8f6;border:1px solid #cddedb;border-radius:10px 10px 0 0;padding:.4rem}.story-toolbar button{border:0;background:white;color:var(--story-teal);border-radius:6px;padding:.35rem .8rem;font:inherit;font-size:.8rem;font-weight:800;cursor:pointer}.story-toolbar+textarea{border-radius:0 0 10px 10px;border-top:0}.story-editor-pair{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.story-place-picker{margin-top:1.4rem}.story-place-options{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;max-height:280px;overflow:auto;margin-top:.8rem}.story-place-options label{display:flex;align-items:start;gap:.65rem;margin:0;padding:.7rem;background:#f6f9f7;border:1px solid var(--story-line);border-radius:9px;cursor:pointer;font-weight:500}.story-place-options label:has(input:checked){border-color:var(--story-teal);background:#e8f7f2}.story-place-options input{margin:.3rem 0 0;accent-color:var(--story-teal)}.story-place-options strong{display:block;font-size:.85rem}.story-place-options small{margin:0}.story-place-options label[hidden]{display:none}.story-editor-submit{border-top:1px solid var(--story-line);margin-top:2rem;padding-top:1.6rem;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.story-editor-submit span{font-size:.82rem;color:var(--story-muted)}
.story-editor-rail{display:grid;gap:1rem}.story-side-panel{padding:1.5rem}.story-side-panel h2{font-size:1.4rem;margin:0 0 .8rem;color:var(--story-ink)}.story-side-panel>p:not(.story-eyebrow){color:var(--story-muted);font-size:.88rem;line-height:1.6;margin:.6rem 0 1rem}.story-side-panel form>.button{width:100%;justify-content:center}.story-status-line{color:var(--story-teal)!important;font-weight:800!important}.story-status-line i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#38b999;margin-right:.5rem}.story-editor-gallery{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-bottom:1rem}.story-editor-photo{border:1px solid var(--story-line);border-radius:8px;overflow:hidden}.story-editor-photo img{width:100%;height:93px;object-fit:cover}.story-editor-photo>div{padding:.45rem}.story-editor-photo span{display:block;color:var(--story-muted);font-size:.74rem}.story-editor-photo form{display:inline}.story-editor-photo button,.story-delete-form button{border:0;background:none;padding:.1rem .4rem .1rem 0;color:var(--story-teal);font:inherit;font-size:.72rem;font-weight:800;cursor:pointer}.story-editor-photo form:last-child button,.story-delete-form button{color:#a9493b}.story-upload-form input[type=file]{padding:.6rem;font-size:.8rem}.story-upload-form .button{margin-top:1rem}.story-gallery-placeholder{height:130px;background:#e6f3ef;border:1px dashed #98c8be;border-radius:12px;color:#60b4aa;display:grid;place-items:center;font-size:3rem}.story-delete-form{text-align:center;padding:.5rem}.story-delete-form button{font-size:.83rem}
.story-reading-hero{background:#e9f1ec;color:var(--story-ink);position:relative;min-height:480px;display:flex;align-items:end}.story-reading-hero.has-image{color:#fff;background:#173844}.story-reading-cover,.story-reading-shade{position:absolute;inset:0;width:100%;height:100%}.story-reading-cover{object-fit:cover}.story-reading-shade{background:linear-gradient(90deg,rgba(8,34,46,.89),rgba(8,34,46,.32)),linear-gradient(0deg,rgba(8,34,46,.56),transparent 60%)}.story-reading-hero:not(.has-image) .story-reading-shade{background:radial-gradient(circle at 80% 20%,rgba(19,173,160,.22),transparent 36%)}.story-reading-hero-inner{position:relative;z-index:1;padding-top:4rem;padding-bottom:4rem}.story-reading-hero a{color:inherit;text-decoration:none}.story-reading-hero .story-eyebrow{color:inherit;opacity:.7;margin:3rem 0 .5rem}.story-reading-hero h1{font-size:clamp(3rem,6vw,6rem);max-width:900px;line-height:1.08;letter-spacing:-.05em;margin:.4rem 0 1rem}.story-reading-excerpt{font-size:1.18rem;max-width:670px;line-height:1.65;opacity:.9;margin:0 0 1.8rem}.story-reading-byline{display:flex;gap:.65rem;flex-wrap:wrap;font-size:.86rem;font-weight:750;opacity:.9}.story-reading-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:5vw;padding-top:3.5rem;padding-bottom:6rem}.story-preview-banner{background:#e4f3ef;color:#126d6d;border-radius:10px;padding:.75rem 1rem;margin-bottom:2rem;font-size:.86rem;font-weight:700}.story-preview-banner a{color:inherit}.story-reading-body{color:#2b4249;font-size:1.12rem;line-height:1.9;max-width:780px}.story-reading-body p{margin:0 0 1.5rem}.story-reading-body h2{color:var(--story-ink);font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.25;letter-spacing:-.035em;margin:2.6rem 0 1rem}.story-reading-body blockquote{margin:2.2rem 0;padding:1.2rem 1.5rem;background:#e8f4ef;border-left:4px solid var(--story-teal);color:#146b69;font-size:1.28rem;line-height:1.65}.story-reading-body hr{border:0;text-align:center;margin:2.5rem 0}.story-reading-body hr:after{content:'✧ ✧ ✧';color:#6dbbb1;letter-spacing:.6rem}.story-reading-section-title{margin:4rem 0 1.5rem;padding-top:2rem;border-top:1px solid var(--story-line)}.story-reading-section-title h2{font-size:2rem;color:var(--story-ink);margin:0;letter-spacing:-.035em}.story-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.story-photo-grid figure{margin:0}.story-photo-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.story-photo-grid figcaption{color:var(--story-muted);font-size:.79rem;margin-top:.4rem}.story-place-grid{display:grid;gap:1rem}.story-place-card{display:grid;grid-template-columns:160px 1fr;border:1px solid var(--story-line);border-radius:14px;overflow:hidden;background:#fff}.story-place-photo{display:grid;place-items:center;background:#d8eeea;color:var(--story-teal);font-size:3rem}.story-place-photo img{width:100%;height:100%;object-fit:cover}.story-place-card>div{padding:1rem 1.2rem}.story-place-card small{color:var(--story-teal);font-weight:800}.story-place-card h3{margin:.2rem 0;color:var(--story-ink);font-size:1.2rem}.story-place-card h3 a{color:inherit;text-decoration:none}.story-place-card p{margin:0;color:var(--story-muted);font-size:.85rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.story-place-actions{display:flex;align-items:center;gap:1rem;margin-top:.7rem}.story-place-actions a,.story-place-actions button{font:inherit;color:var(--story-teal);font-size:.8rem;font-weight:800;text-decoration:none;border:0;background:none;padding:0;cursor:pointer}.story-reading-rail>div{position:sticky;top:2rem;border:1px solid var(--story-line);border-radius:18px;background:#fff;padding:1.5rem}.story-reading-rail h2{color:var(--story-ink);margin:0;font-size:1.4rem}.story-reading-rail p:not(.story-eyebrow){font-size:.84rem;line-height:1.6;color:var(--story-muted)}.story-reading-rail a{color:var(--story-teal);text-decoration:none;font-size:.84rem;font-weight:800}.story-trip-link{display:block;padding:1rem;background:#e9f5f1;border-radius:10px;margin:1.2rem 0;position:relative}.story-trip-link span{display:block;color:var(--story-muted);font-size:.7rem}.story-trip-link strong{display:block;color:var(--story-ink);margin-top:.3rem;padding-right:1rem}.story-trip-link i{position:absolute;right:1rem;top:1rem;font-style:normal}.story-rail-count{border-top:1px solid var(--story-line);border-bottom:1px solid var(--story-line);padding:.9rem 0;margin:1rem 0;display:flex;align-items:center;gap:.7rem}.story-rail-count strong{font-size:2.5rem;color:var(--story-teal);line-height:1}.story-rail-count span{color:var(--story-muted);font-size:.78rem}
@media(max-width:950px){.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-editor-layout{grid-template-columns:minmax(0,1fr) 275px;gap:1rem}.story-reading-grid{grid-template-columns:minmax(0,1fr) 230px;gap:2rem}.story-index-hero-inner{grid-template-columns:1fr .65fr}.story-paper{width:230px;height:315px}.story-paper-front strong{font-size:1.8rem}}
@media(max-width:720px){.story-index-hero-inner{display:block;min-height:0;padding-top:4rem;padding-bottom:2.5rem}.story-hero-visual{height:280px;margin-top:2rem}.story-paper{width:195px;height:245px}.story-paper-front{padding:1.2rem}.story-paper-front strong{font-size:1.6rem}.story-paper-back{transform:translate(50px,-10px) rotate(14deg)}.story-hero-stamp{width:75px;height:75px;font-size:.68rem;right:9%;bottom:3px}.story-index-list{padding-top:3rem;padding-bottom:4rem}.story-editor-layout,.story-reading-grid{display:block}.story-editor-rail{margin-top:1rem}.story-reading-rail{margin-top:3rem}.story-reading-rail>div{position:static}.story-workspace-hero .shell>div{align-items:start;flex-direction:column}.story-reading-hero{min-height:380px}}
@media(max-width:520px){.story-grid{grid-template-columns:1fr}.story-index-hero h1{font-size:clamp(2rem,8vw,2.6rem);line-height:1.35}.story-section-head{align-items:start;flex-direction:column}.story-editor-form{padding:1.2rem}.story-editor-pair,.story-place-options{grid-template-columns:1fr}.story-reading-hero-inner{padding-top:2rem;padding-bottom:2.5rem}.story-reading-hero .story-eyebrow{margin-top:2rem}.story-reading-hero h1{font-size:2.7rem}.story-photo-grid{gap:.5rem}.story-place-card{grid-template-columns:105px 1fr}.story-place-card>div{padding:.7rem}.story-place-actions{gap:.6rem;flex-wrap:wrap}.story-card-image{height:230px}}

/* Compact reading header: long titles remain fully readable. */
.story-reading-hero{min-height:0;align-items:center}
.story-reading-hero-inner{padding-top:2rem;padding-bottom:2.25rem}
.story-reading-hero .story-eyebrow{margin:1.5rem 0 .5rem}
.story-reading-hero h1{max-width:960px;font-size:clamp(1.75rem,2.7vw,2.75rem);line-height:1.35;letter-spacing:-.015em;margin:.4rem 0 .85rem;overflow-wrap:anywhere;text-wrap:pretty}
.story-reading-excerpt{max-width:780px;font-size:1rem;line-height:1.7;margin:0 0 1.1rem;overflow-wrap:anywhere}
.story-reading-excerpt:empty{display:none}
.story-reading-byline{font-size:.82rem;line-height:1.6;gap:.4rem .65rem}
.story-save-inline{margin:1rem 0 0}
.story-save-inline button{display:inline-flex;align-items:center;min-height:42px;padding:.55rem .9rem;border:1px solid currentColor;border-radius:9px;background:transparent;color:inherit;font:inherit;font-size:.85rem;font-weight:650;cursor:pointer}
.story-save-inline button:hover{background:#ffffff1a}
.story-save-inline button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:720px){
 .story-reading-hero-inner{padding-top:1.25rem;padding-bottom:1.5rem}
 .story-reading-hero .story-eyebrow{margin-top:1.1rem}
 .story-reading-hero h1{font-size:clamp(1.55rem,5.5vw,2rem);line-height:1.4;letter-spacing:0}
 .story-reading-excerpt{font-size:.95rem;line-height:1.65}
 .story-reading-grid{padding-top:1.75rem}
}
