/* Use the approved logo unmodified. Only the duplicate inner-palm layer glows. */
.brand-mark{position:relative;display:inline-block;width:40px;height:52px;flex:none}.brand-mark img{display:block;width:40px;height:52px;object-fit:contain}.brand-mark .bulb-filament{position:absolute;inset:0;clip-path:polygon(20% 19%,82% 19%,82% 75%,32% 75%);pointer-events:none;animation:filament-light 2.4s ease-in-out 2;opacity:0;filter:drop-shadow(0 0 2px #ff8b3d) brightness(1.1)}@keyframes filament-light{0%,100%{opacity:0}45%,65%{opacity:.9}}
#connection-status{padding:12px 24px;border-bottom:2px solid #f5824a;background:#fff;color:#3b4148;font-size:14px}#connection-status[hidden],#install-offer[hidden]{display:none}
#install-offer{border-top:1px solid #dedfe2;margin:0 auto;padding:20px max(24px,env(safe-area-inset-left));max-width:900px;display:flex;align-items:center;gap:16px;background:white}#install-offer p{font-size:14px;color:#505964}#install-offer img{width:48px;height:48px;flex:none}#install-offer .install-copy{flex:1}#install-offer .install-dismiss{border:0;background:none;min-height:44px;padding:8px;font:inherit;cursor:pointer}
#install-dialog{max-width:520px}#install-dialog h2{margin:12px 0 20px}#install-dialog ol{padding-left:22px;display:grid;gap:12px}#install-dialog .caption{margin:20px 0}.app-opening{width:76px;height:76px;object-fit:contain}.install-setting{display:flex;gap:20px;align-items:flex-start}.install-setting img{flex:none;object-fit:contain}.install-setting .stack{min-width:0}
@media(max-width:700px){.workspace{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right));padding-bottom:max(36px,env(safe-area-inset-bottom))}.topbar{padding-top:env(safe-area-inset-top);min-height:64px}.sidebar{padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}input,textarea,select{font-size:16px}.button{min-height:44px}.entry{padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(32px,env(safe-area-inset-bottom))}#install-offer{flex-wrap:wrap}#install-offer .actions{flex-basis:100%}#install-offer .actions .button{flex:1}.entry .brand-mark{width:32px;height:42px}.entry .brand-mark img{width:32px;height:42px}.install-setting{gap:12px}}
@media(display-mode:standalone){body{min-height:100dvh}.topbar{position:sticky;top:0;background:#fff;z-index:10}.entry{padding-top:max(24px,env(safe-area-inset-top))}}
@media(prefers-reduced-motion:reduce){.brand-mark .bulb-filament{animation:none;display:none}}
@media print{#connection-status,#install-offer,.install-setting{display:none!important}}

.profile-source-list{display:grid;gap:12px;margin:20px 0;max-height:35dvh;overflow:auto}.source-verbatim{white-space:pre-wrap;margin:12px 0;font-size:14px}.profile-source-button{align-self:flex-start;font-size:13px}#profile-source-draft{width:100%;min-height:170px}#profile-source-count{margin:10px 0 20px}
.preview-nav{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.preview-content{margin:28px 0}.preview-verbatim{white-space:pre-wrap;overflow-wrap:anywhere}.preview-chapters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:20px;margin:24px 0}.preview-chapters>details,.preview-boundary{border:1px solid var(--line,#d6dfe3);border-radius:12px;padding:22px;margin:20px 0}.preview-chapters summary{font-weight:700;cursor:pointer}.preview-footer{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding-top:24px}.preview-nav .button{min-height:44px}.provider-options{display:grid;gap:12px;max-width:400px}.provider-options>a{justify-content:center}.provider-unavailable{font-size:.875rem;line-height:1.6}
.chapter-preview{gap:20px}.chapter-preview .preview-nav{margin:0}.chapter-preview>.caption{margin:0}.chapter-preview .preview-content{margin:0}.chapter-preview .ceo-stats{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.chapter-preview .ceo-match+.ceo-match{margin-top:16px}
@media(max-width:700px){.chapter-preview{gap:16px}.chapter-preview .ceo-heading{padding-top:16px}.chapter-preview .ceo-heading h1{font-size:30px;margin:8px 0 12px}.chapter-preview .ceo-badge{font-size:10px;padding:8px;margin-top:12px}.chapter-preview .preview-nav{gap:8px}.chapter-preview .preview-nav .button{font-size:13px;padding:10px 12px}.chapter-preview .ceo-stats{gap:16px}}
