/* FCB branding applied to the existing application. */
:root{--ink:#535353;--muted:#676767;--bg:#f7f7f7;--white:#FFFFFF;--line:rgba(83,83,83,.16);--accent:#535353;--green:rgba(83,83,83,.045);--lavender:rgba(83,83,83,.045);--fcb-green:#8DC63F}
body{font-family:Onest,Arial,sans-serif;font-size:15px;line-height:1.6;color:var(--ink)}button,input,select,textarea{font-family:Onest,Arial,sans-serif}h1{font-family:Bounded,Onest,sans-serif;font-weight:700;color:var(--ink);font-size:clamp(28px,3vw,40px);line-height:1.18;letter-spacing:-1.2px;margin-bottom:14px}.page-heading h1{font-size:clamp(28px,3vw,40px)}h2,h3{font-family:Onest,Arial,sans-serif;font-weight:700;color:var(--ink)}.accent{color:var(--ink)}.eyebrow{color:var(--ink);font-size:10px}.lead{font-size:14px;color:var(--muted)}
.sidebar{width:270px;padding:46px 22px 22px}.brand{display:block;padding:0 27px 36px;letter-spacing:normal}.brand img{display:block;width:170px;height:auto;max-width:100%}.workspace-label{margin:0 15px 26px;font-size:11px;letter-spacing:1.8px;color:var(--ink);font-weight:400}.sidebar nav{gap:7px}.sidebar nav a{padding:13px 16px;font-size:13px;color:var(--ink);font-weight:400}.sidebar nav a:hover{background:var(--green)}.sidebar nav a.active{background:var(--ink);color:white}.sidebar nav a.active .nav-count{background:transparent;color:white;border:1px solid rgba(255,255,255,.5)}.nav-count{background:transparent;color:var(--ink);border:1px solid var(--line)}
.brand-icon-svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar nav a>svg{width:20px;height:20px}.sidebar-bottom{padding:32px 14px 0}.secure-badge{color:var(--ink);font-size:11px}.secure-badge i{background:var(--ink)}.secure-badge .brand-icon-svg{width:15px;height:15px}.profile{padding-top:21px;margin-top:19px}.avatar{background:var(--green);color:var(--ink);font-size:12px;width:37px;height:37px}.profile strong{font-size:12px}.profile a,.logout{color:var(--ink)}
.workspace{margin-left:270px;width:calc(100% - 270px)}header{height:77px;padding:0 42px;font-size:12px;color:var(--ink)}.header-label{font-size:10px;letter-spacing:1px}.header-left{display:flex;align-items:center;gap:12px}.mobile-brand,.sidebar-toggle{display:none}.sidebar-veil{display:none}main{max-width:1300px;padding:36px 44px 54px}.brand-crumb{font-size:11px;display:flex;gap:10px;margin-bottom:28px}.brand-crumb span:last-child{font-weight:700}footer{max-width:1300px;padding:0 44px 25px;color:var(--muted);font-size:10px}.page-heading{gap:20px;margin-bottom:25px}
.btn{border-color:var(--ink);background:var(--ink);color:white;border-radius:7px;gap:14px;font-weight:700}.btn:hover{background:var(--ink);opacity:.9}.btn.secondary,.btn.light{background:white;border-color:var(--line);color:var(--ink)}.btn.secondary:hover,.btn.light:hover{background:white;border-color:var(--ink);opacity:1}.btn.small{font-size:11px}.card-link{color:var(--ink);font-size:12px}.card-link:hover{text-decoration:underline;text-underline-offset:4px}.card-link.brand-docs{text-decoration:underline;text-underline-offset:4px;font-weight:400}
.hero{background:white;border:1px solid var(--line);border-radius:12px;min-height:262px;padding:35px 38px;align-items:center}.hero-copy{max-width:62%;position:relative;z-index:1}.hero h2{font-family:Bounded,Onest,sans-serif;font-size:clamp(28px,3vw,40px);line-height:1.18;margin:0 0 16px;color:var(--ink)}.hero p{color:var(--ink);font-size:14px;max-width:440px}.hero .eyebrow{margin-bottom:16px}.hero-pattern{position:absolute;right:0;top:0;bottom:0;width:35%;background:var(--fcb-green);overflow:hidden}.hero-pattern svg{width:100%;height:100%;fill:none;stroke:var(--ink);stroke-width:7;stroke-linecap:round}.hero .btn{margin-top:8px}.stats{margin:27px 0 34px;border-bottom:1px solid var(--line);padding-bottom:25px}.stat-number{font-family:Bounded,Onest,sans-serif;font-size:36px}.stats div>span:last-child{font-size:12px}.section-title h2{font-size:21px}.mode-card,.topic-card{border-radius:10px;padding:25px}.mode-card:hover,.topic-card:hover{transform:none;border-color:var(--ink)}.mode-icon,.lavender{background:white;border:1px solid var(--line);color:var(--ink);width:45px;height:45px;border-radius:8px}.mode-card h3{font-size:17px}.mode-card p,.topic-card p{max-width:410px;font-size:13px}.pill,.success{color:var(--ink);background:white;border-color:var(--line)}.card-arrow{color:var(--ink)}
.chat-panel{border-radius:12px}.messages{height:440px;padding:25px;gap:20px}.bubble{background:var(--green);border-radius:8px;flex-shrink:0}.bubble.user{background:white;border:1px solid var(--line)}.bubble.assistant{background:var(--green)}.bubble-label{color:var(--ink)}.welcome-icon{color:var(--ink);background:var(--green);border-radius:12px}.sources span{border-color:var(--line)}.sources a{text-decoration:underline;text-underline-offset:3px}.composer{border-color:var(--line);border-radius:8px}.send{background:var(--fcb-green);color:var(--ink);border-radius:7px}.chat-note{color:var(--muted);font-size:10px}.suggestions button{color:var(--ink);border-color:var(--line)}
.reading{border-radius:10px;line-height:1.8}.learning-content blockquote{border-left-color:var(--fcb-green);background:var(--green)}.learning-content code{background:var(--green)}.learning-content a{color:var(--ink)}.question-card{border-radius:10px}.question-card legend>span{color:var(--ink)}.option{border-color:var(--line)}.option:has(input:checked){background:var(--green);border-color:var(--ink)}.result-hero{background:white;border:1px solid var(--line);border-radius:10px}.result-score{font-family:Bounded,Onest,sans-serif;color:var(--ink)}.result-hero p{color:var(--muted)}.result-hero h1{font-family:Onest,Arial,sans-serif}.notice{background:white;border-color:var(--line);color:var(--ink);border-left:3px solid var(--fcb-green)}
.studio-row{border-radius:9px}.studio-row:hover{border-color:var(--ink)}.editor-page,.editor-settings,.question-edit{border-radius:9px}.editor-page input.editor-title{font-family:Bounded,Onest,sans-serif;font-weight:700;font-size:28px;color:var(--ink)}.editor-format button,.block-tools,.editor-notice{background:var(--green);color:var(--ink)}.block-button,.block-type,.block-type-label,.add-block-menu button{color:var(--ink)}.block-button:hover{background:var(--green);color:var(--ink)}.editor-block:focus-within,.editor-block:hover{border-color:var(--line)}.editor-block[data-type=quote] .block-text{border-left-color:var(--fcb-green);background:var(--green)}.editor-block[data-type=bullet] .block-text:before,.editor-block[data-type=numbered] .block-text:before{color:var(--ink)}.editor-settings input:not([type=checkbox]),.editor-settings select{background:white}.editor-help,.editor-description{color:var(--muted)}.report-notice{background:white;border:1px solid var(--line);border-left:3px solid var(--fcb-green)}.report-table th{background:var(--green);color:var(--ink);font-weight:700}.report-table td a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.empty{border-color:var(--line)}
.login-story{background:var(--green);padding:50px 55px}.login-story .brand{padding:0 27px 36px;max-width:340px}.login-story .brand img{width:250px}.login-story h1{font-family:Bounded,Onest,sans-serif;font-size:clamp(30px,3vw,44px);color:var(--ink)}.login-story h1 em{color:var(--ink)}.login-story p{color:var(--muted)}.login-story>div{padding:25px 0;border-bottom:8px solid var(--fcb-green)}.login-card h2{font-weight:700}.login-card input{background:white}.login-card .btn{background:var(--ink)}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(max-width:1150px){.sidebar{width:235px;padding:40px 15px 22px}.brand{padding-left:22px;padding-right:22px}.brand img{width:158px}.workspace{margin-left:235px;width:calc(100% - 235px)}main{padding:30px 28px 40px}.hero{padding:28px}.hero-pattern{width:25%}.hero-copy{max-width:72%}.hero h2{font-size:32px}.hero>div:first-child{position:relative}.editor-page input.editor-title{font-size:26px}}
@media(max-width:760px){.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:270px;padding:38px 22px 22px;transform:translateX(-100%);transition:transform .18s;border-bottom:0;overflow-y:auto}.sidebar.open{transform:translateX(0)}.sidebar nav{flex-direction:column;overflow:visible;margin-top:0;gap:7px}.sidebar nav a{padding:13px 16px;font-size:13px}.sidebar .brand{padding:0 27px 36px}.sidebar .brand img{width:170px}.workspace-label{display:block}.sidebar-bottom{display:block;padding:32px 14px 0;margin-top:auto}.sidebar-bottom .secure-badge{display:flex}.profile{margin-top:19px;padding-top:21px;border-top:1px solid var(--line)}.profile strong{font-size:12px}.profile .avatar{width:37px;height:37px}.logout{font-size:11px}.workspace{margin:0;width:100%}.sidebar-veil.open{display:block;position:fixed;inset:0;z-index:19;background:rgba(83,83,83,.4)}.sidebar-toggle{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;padding:8px}.mobile-brand{display:block;padding:8px}.mobile-brand img{display:block;width:105px;height:auto}.header-description{display:none}header{height:65px;padding:0 16px}.header-label{display:block;font-size:9px;letter-spacing:0}.brand-crumb{margin-bottom:22px}main{padding:24px 20px 40px}.page-heading h1{font-size:28px}.hero{padding:27px 24px;min-height:290px}.hero-copy{max-width:100%}.hero h2{font-size:29px}.hero-pattern{width:100%;height:8px;top:auto}.hero-pattern svg{display:none}.stats{margin:25px 0 30px;padding-bottom:25px}.stat-number{font-size:27px}.stats div>span:last-child{font-size:10px}.messages{height:370px;padding:16px}.bubble{max-width:100%}.chat-note{font-size:10px}.suggestions{flex-direction:row;flex-wrap:wrap}.login-story{padding:32px 25px}.login-story .brand{padding:0 25px;max-width:240px}.login-story .brand img{width:190px}.editor-top{z-index:6}.studio-row-main{min-width:0;flex-basis:60%}.editor-format{flex-wrap:wrap}.section-title{flex-wrap:wrap}footer{font-size:10px;padding:0 20px 20px}.editor-page input.editor-title{font-size:23px}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}
.publish-control input[type=checkbox]{width:auto!important;flex-shrink:0}
