/* 2.1: one two-field drawer, branch-aware editorial content, restrained tools.
   No external fonts or resources. The handwriting uses local system fonts. */
#fp-homepage .fp-no-break{white-space:nowrap;hyphens:none;overflow-wrap:normal;word-break:normal;}
#fp-homepage .fp-hero h1{hyphens:none;word-break:normal;overflow-wrap:normal;text-wrap:balance;}
#fp-homepage .fp-hero-profile-summary{display:block;margin-top:18px;font-size:.78rem;color:var(--fp-deep);font-weight:600;}
#fp-homepage .fp-hero-hints{position:absolute;inset:auto;right:11.5%;top:25%;width:clamp(190px,18vw,260px);margin:0;padding:12px 6px;border:0;pointer-events:none;transform:rotate(-7deg);color:#fff;z-index:1;text-align:center;isolation:isolate;}
#fp-homepage .fp-hero-hints::before{content:"";position:absolute;inset:-16px -22px;z-index:-1;background:radial-gradient(ellipse,#18384870 0%,#18384840 46%,transparent 73%);filter:blur(7px);}
#fp-homepage .fp-hint-text{font-family:"Segoe Print","Bradley Hand","Comic Neue","Comic Sans MS",cursive;font-weight:700;font-size:clamp(1.6rem,2.1vw,2.2rem);line-height:1.12;letter-spacing:-.025em;white-space:pre-line;text-wrap:balance;color:#fff;text-shadow:0 1px 3px #163341d9,0 3px 12px #163341b3;margin:0;}
#fp-homepage .fp-hero-hints::after{content:"\2192";display:block;font-family:"Segoe Print","Comic Neue",cursive;font-size:1.7rem;line-height:1.2;margin-top:8px;color:#fff;text-shadow:0 1px 4px #163341;transform:rotate(14deg);}
#fp-homepage .fp-hero[data-image-error="true"] .fp-hero-hints{display:none;}
#fp-homepage .fp-hero .fp-actions{gap:10px;}
/* The left control is a quick focus tool, not a second full profile form. */
#fp-homepage .fp-status-hub{width:auto;left:16px;bottom:16px;max-width:calc(100vw - 80px);}
#fp-homepage .fp-status-orb{background:#f7f8f6f5;color:var(--fp-deep);border-color:#afc1cc;border-radius:7px;box-shadow:0 3px 14px #17354716;min-height:48px;width:auto;}
#fp-homepage .fp-status-toggle{color:var(--fp-deep);min-width:120px;width:auto;max-width:245px;min-height:48px;padding:7px 11px;}
#fp-homepage .fp-status-toggle>span{color:var(--fp-muted);font-size:.54rem;}
#fp-homepage .fp-status-toggle>strong{font-size:.72rem;hyphens:none;}
#fp-homepage .fp-status-toggle>i{color:var(--fp-deep);font-size:1rem;}
#fp-homepage .fp-status-reset{color:var(--fp-deep);border-color:#afc1cc88;min-width:44px;min-height:44px;}
#fp-homepage .fp-status-reset:disabled{opacity:.36;}
/* Edge-attached interaction. One brief nudge; no persistent bouncing. */
#fp-homepage .fp-profile-trigger{position:fixed;right:0;left:auto;top:44%;bottom:auto;width:46px;min-width:46px;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:12px 9px;background:var(--fp-deep);color:#fff;border:1px solid #ffffff4d;border-right:0;border-radius:12px 0 0 12px;box-shadow:-5px 5px 25px #1735471c;animation:fp-edge-invite 1.8s ease-out .8s 1 both;}
#fp-homepage .fp-profile-trigger-main{writing-mode:vertical-rl;transform:rotate(180deg);font-size:.77rem;font-weight:700;white-space:nowrap;letter-spacing:.015em;}
#fp-homepage .fp-profile-trigger i{font-style:normal;line-height:1;font-size:1.5rem;color:#fff;}
#fp-homepage .fp-profile-dot{width:6px;height:6px;flex:none;border-radius:50%;background:var(--fp-gold);}
#fp-homepage .fp-profile-trigger[aria-expanded="true"]{opacity:0;pointer-events:none;}
@keyframes fp-edge-invite{0%,100%{transform:translateX(0)}35%{transform:translateX(-7px)}60%{transform:translateX(0)}80%{transform:translateX(-3px)}}
#fp-homepage .fp-profile-drawer{align-items:center;justify-content:flex-end;padding:24px 0 24px 16px;}
#fp-homepage .fp-profile-backdrop{background:#16334136;}
#fp-homepage .fp-profile-panel{margin:0;width:min(405px,100%);height:auto;max-height:calc(100dvh - 48px);padding:26px 25px 24px;border-radius:16px 0 0 16px;background:#f7f8f6;overflow-y:auto;overscroll-behavior:contain;box-shadow:-12px 10px 65px #102e4329;scrollbar-gutter:stable;}
#fp-homepage .fp-profile-drawer.is-open .fp-profile-panel{animation:fp-drawer-reveal 220ms ease-out;}
@keyframes fp-drawer-reveal{from{transform:translateX(32px);opacity:.6}to{transform:translateX(0);opacity:1}}
#fp-homepage .fp-profile-head{gap:8px;}
#fp-homepage .fp-profile-head .fp-mini-label{font-size:.57rem;color:var(--fp-deep);margin-bottom:9px;}
#fp-homepage .fp-profile-head h2{font-size:1.55rem;line-height:1.15;letter-spacing:-.045em;}
#fp-homepage .fp-profile-close{min-width:44px;min-height:44px;flex:none;}
#fp-homepage .fp-profile-intro{margin-top:16px;font-size:.84rem;line-height:1.55;}
#fp-homepage .fp-profile-fields{margin-top:20px;gap:5px;}
#fp-homepage .fp-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;}
#fp-homepage .fp-field-heading label{font-size:.83rem;}
#fp-homepage #fp-profile-reset,#fp-homepage #fp-drawer-focus-clear{border:0;border-radius:3px;background:transparent;color:var(--fp-deep);font-size:.7rem;min-height:38px;text-decoration:underline;text-underline-offset:3px;padding:6px 2px;}
#fp-homepage #fp-profile-reset:disabled,#fp-homepage #fp-drawer-focus-clear:disabled{opacity:.4;cursor:default;}
#fp-homepage .fp-profile-fields select{margin-top:0;min-height:48px;font-size:.92rem;}
#fp-homepage .fp-drawer-focus{border:0;padding:0;margin:20px 0 0;min-width:0;}
#fp-homepage .fp-drawer-focus legend{font-size:.83rem;font-weight:700;margin-bottom:10px;padding:0;}
#fp-homepage .fp-drawer-focus-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
#fp-homepage .fp-drawer-focus-options button{display:flex;flex-direction:column;text-align:left;justify-content:center;gap:4px;min-height:68px;padding:12px 10px;border:1px solid #bbcbd4;border-radius:7px;background:white;color:var(--fp-deep);}
#fp-homepage .fp-drawer-focus-options button strong{font-size:.83rem;hyphens:none;}
#fp-homepage .fp-drawer-focus-options button span{font-size:.71rem;line-height:1.35;}
#fp-homepage .fp-drawer-focus-options button.is-active{background:var(--fp-deep);border-color:var(--fp-deep);color:#fff;box-shadow:inset 0 0 0 1px #fff4;}
#fp-homepage .fp-profile-live{margin-top:10px;padding:12px 14px;gap:5px;border-left:2px solid var(--fp-gold);}
#fp-homepage .fp-profile-live>span{font-size:.56rem;}
#fp-homepage .fp-profile-live strong{font-size:.8rem;}
#fp-homepage .fp-profile-live p{font-size:.72rem;line-height:1.5;}
#fp-homepage .fp-profile-actions{margin-top:16px;padding-bottom:0;}
#fp-homepage .fp-profile-actions .fp-button{width:100%;min-height:46px;justify-content:space-between;font-size:.85rem;}
#fp-homepage .fp-profile-privacy{font-size:.66rem;line-height:1.5;color:var(--fp-muted);margin-top:13px;}
/* Explain the user's selected context with a useful checklist and an honest example. */
#fp-homepage .fp-context-advice{display:block;padding:28px;margin-top:24px;border:1px solid #ced9df;border-left:3px solid var(--fp-gold);background:#f3f6f7;border-radius:8px;}
#fp-homepage .fp-context-advice-head{display:block;}
#fp-homepage .fp-context-advice h3{margin-top:8px;max-width:35ch;font-size:clamp(1.3rem,2.2vw,1.9rem);line-height:1.25;}
#fp-homepage .fp-context-advice p{line-height:1.65;font-size:.94rem;margin-top:12px;}
#fp-homepage .fp-context-advice .fp-context-advice-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:30px;margin-top:24px;}
#fp-homepage .fp-context-advice h4{font-family:inherit;font-size:.86rem;margin:0 0 12px;color:var(--fp-deep);}
#fp-homepage .fp-context-advice ul{margin:0;padding-left:19px;}
#fp-homepage .fp-context-advice li{font-size:.89rem;line-height:1.6;margin:7px 0;}
#fp-homepage .fp-context-example{padding-left:24px;border-left:1px solid #c8d6df;}
#fp-homepage .fp-context-example .fp-mini-label{font-size:.57rem;margin:0;}
#fp-homepage .fp-context-example strong{display:block;font-size:.87rem;line-height:1.6;margin-top:12px;color:var(--fp-deep);}
#fp-homepage .fp-sources{margin-top:20px;padding-top:10px;border-top:1px solid #ccd8df;color:var(--fp-muted);}
#fp-homepage .fp-sources>summary{font-size:.72rem!important;line-height:1.5!important;padding:8px 0!important;font-weight:600!important;cursor:pointer;color:var(--fp-deep);display:list-item;}
#fp-homepage .fp-sources>summary::after{content:none!important;}
#fp-homepage .fp-sources>div>p{font-size:.74rem!important;line-height:1.6;margin:8px 0 12px;}
#fp-homepage .fp-sources ul{padding-left:18px;margin:8px 0;}
#fp-homepage .fp-sources li{font-size:.74rem!important;line-height:1.6;margin:6px 0;overflow-wrap:anywhere;}
#fp-homepage .fp-sources a{color:var(--fp-deep);text-decoration:underline;text-underline-offset:3px;}
#fp-homepage .fp-knowledge-context{font-size:.9rem;color:var(--fp-deep);max-width:75ch;line-height:1.6;margin:0 0 20px;}
#fp-homepage .fp-knowledge-all{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;margin-top:20px;}
#fp-homepage .fp-knowledge-all>span{font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;color:var(--fp-muted);}
#fp-homepage .fp-knowledge-all>button{border:0;border-bottom:1px solid #bdccd5;background:transparent;min-height:40px;padding:5px 1px;color:var(--fp-deep);font-size:.8rem;}
#fp-homepage .fp-knowledge-application{margin-top:30px;padding:20px;border-left:3px solid var(--fp-gold);background:#edf3f6;}
#fp-homepage .fp-knowledge-application .fp-mini-label{font-size:.63rem;}
#fp-homepage .fp-reading-controls{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;width:100%;padding-top:12px;}
#fp-homepage #fp-motion-toggle{padding:6px 0;min-height:40px;border:0;background:transparent;color:var(--fp-deep);font-size:.73rem;text-decoration:underline;text-underline-offset:3px;}
#fp-homepage #fp-motion-note{font-size:.68rem;color:var(--fp-muted);}
#fp-homepage[data-motion-paused="true"] .fp-hint-enter,#fp-homepage[data-motion-paused="true"] .fp-profile-trigger,#fp-homepage[data-motion-paused="true"] .fp-profile-panel{animation:none!important;}
@media(min-width:1000px){
 #fp-homepage[data-focus="neutral"] .fp-hero-copy{width:65%;max-width:820px;}
 #fp-homepage .fp-hero h1{font-size:clamp(2.7rem,4.05vw,4.15rem);line-height:1.1;}
 #fp-homepage[data-focus="neutral"] .fp-hero h1{max-width:100%;}
 #fp-homepage .fp-hero .fp-actions{max-width:600px;}
 #fp-homepage .fp-hero .fp-lead{max-width:49ch;}
}
@media(max-width:999px){
 #fp-homepage .fp-hero-stage{grid-template-areas:'eyebrow' 'title' 'image' 'lead' 'actions' 'context' 'note' 'guidance';}
 #fp-homepage .fp-hero-profile-summary{grid-area:context;width:calc(100% - 40px);margin:16px auto 0;}
 #fp-homepage .fp-hero-hints{position:absolute;right:8%;top:25%;width:37%;height:auto;min-height:0;margin:0;padding:3px;border:0;}
 #fp-homepage .fp-hint-text{font-size:clamp(1rem,3.5vw,2.05rem);}
 #fp-homepage .fp-hero-hints::after{font-size:1.3rem;margin-top:3px;}
 #fp-homepage .fp-hero-hints::before{inset:-10px -15px;}
 #fp-homepage .fp-hero h1{font-size:clamp(1.95rem,5.2vw,3.8rem);}
 #fp-homepage .fp-hero .fp-flow-note{margin-bottom:22px;}
}
@media(max-width:699px){
 #fp-homepage .fp-profile-trigger{width:44px;min-width:44px;min-height:155px;top:40%;right:0;bottom:auto;padding:9px 7px;}
 #fp-homepage .fp-profile-trigger-main{font-size:.72rem;}
 #fp-homepage .fp-status-hub{left:10px;bottom:12px;width:auto;}
 #fp-homepage .fp-status-toggle{max-width:210px;min-width:105px;padding:7px 9px;}
 #fp-homepage .fp-status-toggle>strong{font-size:.68rem;}
 #fp-homepage .fp-status-menu{width:min(355px,calc(100vw - 20px));}
 #fp-homepage .fp-status-reset{min-width:44px;}
 #fp-homepage .fp-profile-drawer{padding:12px 0 12px 10px;}
 #fp-homepage .fp-profile-panel{padding:20px 18px;max-height:calc(100dvh - 24px);width:min(380px,100%);}
 #fp-homepage .fp-profile-head h2{font-size:1.4rem;}
 #fp-homepage .fp-drawer-focus-options button strong{font-size:.78rem;}
 #fp-homepage .fp-context-advice{padding:22px 18px;}
 #fp-homepage .fp-context-advice .fp-context-advice-grid{grid-template-columns:minmax(0,1fr);gap:20px;}
 #fp-homepage .fp-context-example{padding-left:0;padding-top:16px;border-left:0;border-top:1px solid #c8d6df;}
 #fp-homepage .fp-context-advice h3{font-size:1.35rem;}
 #fp-homepage .fp-knowledge-application{padding:16px;}
 #fp-homepage .fp-hero-hints{right:13%;width:40%;}
}
@media(max-width:359px){
 #fp-homepage .fp-hero h1{font-size:1.9rem;}
 #fp-homepage .fp-profile-panel{padding:18px 14px;}
}
@media(prefers-reduced-motion:reduce){
 #fp-homepage .fp-profile-trigger,#fp-homepage .fp-profile-panel,#fp-homepage .fp-hint-enter{animation:none!important;}
}
/* Reserve a slim mobile tool rail: the tab must not cover text or image panels. */
@media(max-width:699px){
 #fp-homepage>#fp-main{margin-right:44px;}
 #fp-homepage .fp-hero h1{font-size:clamp(1.6rem,5.15vw,2.2rem);hyphens:auto;}
 #fp-homepage .fp-hero h1 .fp-no-break{hyphens:none;}
 #fp-homepage .fp-hero-hints{right:5%;width:42%;}
 #fp-homepage .fp-hint-text{font-size:clamp(.95rem,3.5vw,1.3rem);}
 #fp-homepage .fp-hero .fp-lead{font-size:.95rem;}
 #fp-homepage .fp-shell{min-width:0;}
 #fp-homepage .fp-context-advice-grid>*{min-width:0;}
 #fp-homepage .fp-legal-rail>.fp-shell{padding-right:28px;}
}

/* Never fade out stale information panels: hide old image immediately. */
#fp-homepage .fp-hero[data-image-loading="true"] .fp-hero-bg img,
#fp-homepage .fp-hero[data-image-error="true"] .fp-hero-bg img{visibility:hidden;opacity:0;transition:none;}
