/* Adventure Builder 6.10.1 — calendar-first native Journal replacement. */
#stories{background:#fff!important;color:#111!important;color-scheme:only light!important;padding:0!important}
#stories .abj-shell{max-width:none!important;min-height:100dvh!important;margin:0!important;padding:0!important;background:#fff!important;color:#111!important}
#stories .abj-data-contract,#stories .abjc-legacy-render-target,#stories>.abj-shell>.abj-hero,#stories .abj-native-home-head,#stories .abj-native-fab,#stories .abj-native-filter-sheet{display:none!important}
#stories .abj-journal-layout{display:block!important;margin:0!important;padding:0!important;background:#fff!important}
.abj-journal-native-root,.abjc-composer{font-family:inherit;color:#111;background:#fff;color-scheme:only light}
.abjc-home{min-height:100dvh;padding-bottom:calc(24px + env(safe-area-inset-bottom));background:#fff}
.abjc-head{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:rgba(255,255,255,.97);border-bottom:1px solid #eee}
.abjc-head small{display:block;color:#777;font-size:10px;font-weight:800;letter-spacing:.12em}.abjc-head h2{margin:2px 0 0;font-size:28px;line-height:1.05;color:#111}.abjc-add-top,.abjc-selected button,.abjc-empty button{min-height:46px;padding:0 15px;border:0;border-radius:13px;background:#ef7300;color:#fff;font-weight:800;font-size:14px}
.abjc-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:10px 12px 4px;background:#fff}.abjc-tabs button{min-height:44px;border:0;border-radius:11px;background:#f4f4f4;color:#555;font-weight:750}.abjc-tabs button.is-active{background:#111;color:#fff}
.abjc-content{padding:8px 14px 24px}.abjc-monthbar{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;margin:4px 0 8px}.abjc-monthbar strong{text-align:center;font-size:20px}.abjc-monthbar button{height:44px;border:0;background:#fff;color:#111;font-size:34px}
.abjc-weekdays,.abjc-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.abjc-weekdays{padding:3px 0 6px}.abjc-weekdays span{text-align:center;color:#777;font-size:11px;font-weight:700}.abjc-day,.abjc-blank{aspect-ratio:1/1;min-width:0}.abjc-day{position:relative;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;color:#111;font-size:15px}.abjc-day.is-today{outline:2px solid #ef7300;outline-offset:-2px}.abjc-day.is-selected{background:#111;color:#fff}.abjc-day i{position:absolute;bottom:5px;width:5px;height:5px;border-radius:50%;background:#ef7300}.abjc-day.is-selected i{background:#fff}
.abjc-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px;padding:14px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}.abjc-selected small{display:block;color:#777;font-size:11px}.abjc-selected strong{display:block;margin-top:2px;font-size:16px}.abjc-day-entries{padding:8px 0;color:#555}.abjc-day-entries>p{margin:12px 0;color:#777}.abjc-day-entries>*{max-width:100%!important;color:#111!important}
.abjc-empty{display:grid;gap:12px;justify-items:start;padding:28px 4px}.abjc-empty strong{font-size:22px}.abjc-empty p{margin:0;color:#666;line-height:1.5}
.abjc-composer{position:fixed;inset:0;z-index:100000;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.abjc-compose-head{height:60px;display:grid;grid-template-columns:70px 1fr 112px;align-items:center;gap:4px;padding:0 10px;border-bottom:1px solid #e8e8e8;background:#fff}.abjc-compose-head>button{min-height:44px;border:0;background:#fff;color:#111;font-weight:750}.abjc-compose-head>strong{text-align:center;font-size:12px;color:#666}.abjc-compose-head .abjc-save{border-radius:12px;background:#ef7300;color:#fff;font-size:12px;font-weight:850}.abjc-compose-head .abjc-save:disabled{opacity:.55}
.abjc-compose-body{flex:1;min-height:0;overflow:auto;padding:8px 16px 36px;background:#fff}.abjc-title,.abjc-story{display:block;width:100%;box-sizing:border-box;border:0!important;outline:0!important;background:#fff!important;color:#111!important;caret-color:#111!important;font-family:inherit}.abjc-title{padding:14px 0 8px;font-size:24px;font-weight:800}.abjc-story{min-height:190px;padding:8px 0 18px;resize:none;font-size:18px;line-height:1.55}.abjc-title::placeholder,.abjc-story::placeholder{color:#929292!important;opacity:1}
.abjc-media-section{margin:6px -2px 16px;padding:14px;border:1px solid #e7e7e7;border-radius:18px;background:#fafafa}.abjc-media-heading{display:grid;gap:12px}.abjc-media-heading>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.abjc-media-heading strong{font-size:17px}.abjc-media-heading small{color:#777}.abjc-add-media{width:100%;min-height:54px;border:2px solid #ef7300;border-radius:14px;background:#fff;color:#b95300;font-weight:850;font-size:14px}.abjc-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}.abjc-media-card{position:relative;overflow:hidden;border-radius:12px;background:#111}.abjc-media-card>img,.abjc-media-card>video{display:block;width:100%;height:150px;object-fit:cover;background:#111}.abjc-media-card>div{display:flex;align-items:center;justify-content:space-between;padding:7px 8px;background:#222;color:#fff}.abjc-media-card span{font-size:10px;font-weight:800}.abjc-media-card button{border:0;background:transparent;color:#fff;text-decoration:underline}.abjc-media-note{margin:10px 2px 0;color:#666;font-size:12px;line-height:1.4}.abjc-media-note[data-type=warning]{color:#8a4700}.abjc-media-note[data-type=error]{color:#a21e1e}.abjc-media-note[data-type=ok]{color:#2e6434}
.abjc-detail-row{width:100%;min-height:62px;display:grid;grid-template-columns:32px 1fr 20px;align-items:center;gap:8px;padding:8px 4px;border:0;border-bottom:1px solid #eee;background:#fff;color:#111;text-align:left}.abjc-detail-row>span{font-size:19px;color:#ef7300}.abjc-detail-row strong,.abjc-detail-row small{display:block}.abjc-detail-row small{margin-top:3px;color:#777}.abjc-detail-row>b{font-size:24px;color:#aaa}
.abjc-sheet{position:absolute;inset:0;z-index:5}.abjc-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.35)}.abjc-sheet-panel{position:absolute;left:0;right:0;bottom:0;display:grid;gap:10px;padding:10px 16px calc(18px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fff;color:#111}.abjc-sheet-panel>i{width:38px;height:4px;justify-self:center;border-radius:4px;background:#ccc}.abjc-sheet-panel h3{margin:5px 0 8px;text-align:center}.abjc-sheet-panel label{display:grid;gap:5px;color:#666;font-size:12px}.abjc-sheet-panel input,.abjc-sheet-panel select{min-height:50px;padding:10px 12px;border:1px solid #ddd;border-radius:12px;background:#f7f7f7;color:#111;font:16px inherit}.abjc-sheet-done{min-height:52px;border:0;border-radius:13px;background:#ef7300;color:#fff;font-weight:800}
body.abjc-composing .chat-widget,body.abjc-composing [class*="chat-widget"],body.abjc-composing #chat-widget{display:none!important}
@media(min-width:800px){#stories .abj-shell{max-width:680px!important;margin:0 auto!important}.abjc-composer{left:50%;right:auto;width:min(100%,680px);transform:translateX(-50%);box-shadow:0 0 40px rgba(0,0,0,.14)}}

/* 6.10.1 calendar-first hardening */
.abjc-calendar-view{display:block;background:#fff}
.abjc-weekdays{margin-top:8px;border-bottom:1px solid #eee}
.abjc-calendar{padding:8px 0 12px;border-bottom:1px solid #eee}
.abjc-day{min-height:46px;border-radius:12px;font-weight:750}
.abjc-day.is-selected{background:#ef7300;color:#fff}
.abjc-day.is-today:not(.is-selected){outline:2px solid #111}
.abjc-monthbar{margin-top:10px;padding:4px 0}.abjc-monthbar strong{font-size:22px}
.abjc-selected{margin-top:10px}
body.abjc-composing .mobile-bottom-nav,body.abjc-composing .app-bottom-nav,body.abjc-composing nav.bottom-nav,body.abjc-composing [class*="bottom-nav"],body.abjc-composing .chat-widget,body.abjc-composing [class*="chat-widget"],body.abjc-composing #chat-widget{display:none!important}
.abjc-composer[hidden],.abjc-home[hidden],[data-panel][hidden],.abjc-sheet[hidden]{display:none!important}
