:root{--brand:#6eb43f;--brand-charcoal:#58585a;--brand-silver:#b2b3b5;--ink:#303335;--muted:#6c7276;--green:#407d22;--line:#e5e8e3;--paper:#f6f7f8;--accent:#eef6e7}
body{font-size:14px}button,.button{border-radius:7px;min-height:42px;padding:10px 16px;font-size:13px;background:var(--green)}button:hover,.button:hover{background:#32641b}.secondary{background:#fff;color:var(--ink)}.secondary:hover{background:#f1f5ed}.ui-icon{flex:none;vertical-align:middle}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--brand);outline-offset:3px}h1{font-size:28px;letter-spacing:-.035em}h2{font-size:16px;letter-spacing:-.015em}.eyebrow{font-size:10px;letter-spacing:.09em}.muted{font-size:14px}.card{border-radius:10px;padding:22px;box-shadow:0 2px 4px #26332603}.heading{margin-bottom:25px}.heading h1{margin:7px 0 10px}.heading p{margin-bottom:0}.badge{background:#edf5e6;color:#436f2f}.success{background:#f0f7ea;border-color:#dceacf;color:#385b27}.alert{font-size:13px}.welcome{background:#f0f7ea;border-color:#dceacf}.portal-app{min-height:100vh}.app-sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:white;border-right:1px solid var(--line);z-index:30;display:flex;flex-direction:column;overflow-y:auto}.app-logo{display:block;padding:24px 21px 22px;text-align:center;text-decoration:none;border-bottom:1px solid #f0f1ef;flex:none}.app-logo img{display:block;width:194px;height:auto;max-width:100%}.app-logo>span{display:block;font-size:8px;letter-spacing:.2em;color:#767a78;margin-top:5px}.app-navigation{padding:13px 13px 25px}.app-navigation summary{display:none}.nav-section{font-size:9px;font-weight:750;letter-spacing:.12em;color:#898e88;margin:23px 13px 9px}.app-navigation nav>a,.nav-logout{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 13px;border-radius:7px;color:#626765;text-decoration:none;font-size:13px;font-weight:500;margin-bottom:3px;background:transparent}.app-navigation nav>a>span:first-of-type{flex:1}.app-navigation nav>a:hover,.nav-logout:hover{background:#f5f7f3;color:#303b2c}.app-navigation nav>a[aria-current=page]{background:#edf5e6;color:#3e7327;font-weight:700;box-shadow:inset 3px 0 var(--brand)}.app-navigation .ui-icon{width:18px;height:18px}.nav-logout{justify-content:flex-start}.nav-badge{background:#e2edda;color:#426f2c;padding:2px 7px;font-size:10px}.sidebar-signature{margin-top:auto;padding:26px;display:grid;gap:7px;font-size:12px;color:#626763}.sidebar-signature small{font-size:11px;line-height:1.6;color:#818780}.brand-line{width:30px;height:3px;background:var(--brand);margin-bottom:5px}.app-workspace{margin-left:236px;min-width:0}.app-header{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 32px}.app-breadcrumb{display:flex;gap:13px;align-items:center;font-size:12px;color:#939893}.app-breadcrumb strong{color:#444b43;font-weight:600}.account-chip{display:flex;gap:10px;align-items:center;min-width:0}.account-avatar{display:grid;place-items:center;width:34px;height:34px;background:#edf5e6;color:#4e7c34;border:1px solid #dfebd6;border-radius:50%;font-weight:650}.account-chip strong,.account-chip small{display:block;line-height:1.55}.account-chip strong{font-size:12px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-chip small{font-size:10px;color:var(--muted)}.portal-app main.shell{max-width:1480px;margin:0 auto;padding:30px 32px 28px}.dashboard-heading{align-items:center}.dashboard-heading h1{font-size:25px}.dashboard-heading .button{white-space:nowrap}.stats{gap:18px;margin-bottom:22px}.stats .stat{display:block;padding:19px 22px;text-decoration:none;border-top:3px solid #e3edda}.stats .stat:hover{border-color:#b8d89d;box-shadow:0 3px 12px #30432808}.stat-top,.stat-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.stat-top>span{color:#5d655a;font-size:12px;font-weight:550}.stat-top .ui-icon{color:#69934d;background:#f0f6eb;box-sizing:content-box;padding:8px;border-radius:9px;width:18px;height:18px}.stats .stat>strong{display:block;font-size:34px;font-weight:650;letter-spacing:-.04em;line-height:1.3;margin:5px 0 9px;color:#373d34}.stat-bottom>span{font-size:11px;color:#858b81}.stat-bottom>span:last-child{color:#568136;font-size:16px}.dashboard-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;margin:0}.dashboard-panel{min-width:0}.section-title{align-items:center;padding-bottom:16px;border-bottom:1px solid #edf0e9}.section-title h2{margin:0}.section-title .hint{font-size:11px;margin:5px 0 0}.section-title>a{font-size:11px;text-decoration:none;font-weight:600}.list-row{font-size:12px;padding:18px 0;border-color:#edf0e9;gap:13px}.list-row strong{font-weight:600}.list-row small{font-size:10px;margin-top:5px}.schedule-time{font-size:14px;font-weight:650;min-width:43px;color:#4a5345}.schedule-time small{font-size:10px;font-weight:400}.schedule-detail{flex:1;border-left:3px solid #a3c987;padding-left:12px}.event-scope{font-size:9px;background:#f1f5ec;padding:3px 7px;border-radius:4px;color:#657456;white-space:nowrap}.announcement-row{justify-content:flex-start;align-items:flex-start}.announcement-symbol{display:grid;place-items:center;background:#f5f6f3;color:#829078;width:31px;height:31px;border-radius:7px;flex:none}.announcement-symbol .ui-icon{width:15px;height:15px}.panel-link{display:block;font-size:11px;text-decoration:none;border-top:1px solid #edf0e9;padding-top:15px;margin-top:6px}.dashboard-empty{padding:30px 12px;text-align:center}.dashboard-empty>.ui-icon{width:28px;height:28px;color:#92ac80;margin-bottom:12px}.dashboard-empty h3{font-size:13px;margin:0 0 7px;font-weight:600}.dashboard-empty p{font-size:12px;color:var(--muted);margin-bottom:12px}.dashboard-empty a{font-size:11px;text-decoration:none}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;margin-top:22px}.quiet-empty{font-size:12px;color:var(--muted);margin:23px 0 8px}.quick-actions h2{margin-bottom:17px}.quick-actions>a{display:flex;gap:12px;align-items:center;border-top:1px solid #edf0e9;padding:13px 0;text-decoration:none;font-size:12px;color:#5b6653}.quick-actions>a>span:first-of-type{flex:1}.quick-actions .ui-icon{width:17px;height:17px;color:#87a175}.app-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:18px;margin-top:28px;font-size:10px;color:#92968f}.portal-app #staff-notice{margin-top:0;margin-bottom:24px;border-left:3px solid var(--brand)}.calendar-entry{background:#edf6e5;color:#446830;border-color:var(--brand)}.calendar-entry.shared{background:#f0f1f4;color:#585b66;border-color:#8a929d}.calendar-entry.team{background:#edf1e8;color:#4c6540;border-color:#779868}.weekday,th{background:#f0f4eb}.calendar-grid{border-radius:10px}.calendar-toolbar h2{font-size:20px}.calendar-toolbar select{font-size:12px}.calendar-day{min-height:112px}.message.mine{background:#edf5e5}.message{background:#f3f4f1}.message-meta{color:#74806a}.chat-room{max-width:1050px}.messages{height:clamp(280px,45vh,530px)}.account-card{max-width:800px}input,select,textarea{border-color:#d9dfd4;font-size:14px}.participant-list{border-color:var(--line)}.auth{background:#fff}.story{background:#f5f7f2;color:#373d34;border-right:1px solid var(--line)}.story .brand{background:#fff;border:1px solid #edf0e9;border-radius:10px;padding:12px 22px;width:285px;max-width:100%}.story .brand img{display:block;width:100%;height:auto}.story .brand small{color:#858b81;text-align:center;font-size:8px;margin-top:6px}.story .eyebrow{color:#578539}.story p{color:#737a6d}.story h1{font-size:clamp(34px,4vw,56px);font-weight:650}.horizon{border-color:#c8d8b9}.horizon:after{background:var(--brand)}.story footer{font-size:10px;letter-spacing:.07em;color:#929b89}.login-box h1{font-size:30px}.login-box>.eyebrow{color:#67944b}
.app-header-start{display:flex;align-items:center;gap:12px;min-width:0}.menu-toggle,.menu-close,.menu-backdrop{display:none}
@media(max-width:900px){.menu-toggle,.menu-close{display:grid;place-items:center;flex:none;width:42px;height:42px;padding:0;min-height:42px;background:transparent;color:var(--ink);border:1px solid var(--line)}.menu-toggle:hover,.menu-close:hover{background:#edf5e6}.menu-close{position:absolute;top:17px;right:12px;font-size:28px;line-height:1}.menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#17241273;z-index:90;touch-action:none}.menu-open{overflow:hidden;overscroll-behavior:none}.app-header-start .app-breadcrumb{min-width:0}.app-header-start .app-breadcrumb strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-sidebar .app-logo img{width:180px}.app-sidebar .app-navigation{padding-top:8px}.app-header-start{gap:10px}}
@media(prefers-reduced-motion:reduce){.app-sidebar{transition:none!important}}
@media(min-width:901px) and (max-height:800px){.sidebar-signature{display:none}.nav-section{margin-top:17px}.app-logo{padding-top:18px;padding-bottom:16px}}
@media(min-width:901px) and (max-width:1150px){.app-sidebar{width:210px}.app-workspace{margin-left:210px}.app-logo img{width:166px}.portal-app main.shell{padding:25px 22px}.app-header{padding:0 22px}.dashboard-grid,.dashboard-bottom{grid-template-columns:1fr}.stats{gap:12px}.stats .stat{padding:16px}.dashboard-heading h1{font-size:23px}}
@media(max-width:900px){.app-sidebar{position:fixed;inset:0 auto 0 0;width:min(320px,85vw);height:100vh;height:100dvh;overflow-y:auto;overscroll-behavior:contain;border-right:1px solid var(--line);border-bottom:0;z-index:100;transform:translateX(-100%);visibility:hidden;transition:transform .22s ease,visibility .22s;box-shadow:12px 0 40px #17241226;padding-bottom:env(safe-area-inset-bottom)}.app-sidebar.is-open{transform:translateX(0);visibility:visible}.app-logo{padding:23px 64px 23px 22px;border-bottom:1px solid var(--line);text-align:left}.app-logo img{width:150px}.app-logo>span{display:none}.app-navigation{padding:0 15px 8px}.app-navigation summary{display:flex;align-items:center;justify-content:space-between;padding:10px;border-top:1px solid var(--line);font-size:13px;color:#5b6653;cursor:pointer}.app-navigation summary::-webkit-details-marker{display:none}.app-navigation nav{padding-bottom:10px}.sidebar-signature{display:none}.app-workspace{margin-left:0}.app-header{height:63px;padding:0 20px}.app-breadcrumb{font-size:11px;gap:8px}.account-chip strong{max-width:150px;font-size:11px}.account-chip small{font-size:9px}.portal-app main.shell{padding:23px 20px}.dashboard-heading{flex-direction:row;align-items:flex-start;gap:15px}.dashboard-heading h1{font-size:22px}.dashboard-heading .button{font-size:11px;padding:9px 12px}.dashboard-grid,.dashboard-bottom{grid-template-columns:1fr}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stats .stat{padding:15px}.stat-top>span{font-size:10px}.stat-top .ui-icon{display:none}.stat-bottom>span{font-size:10px}.stats .stat>strong{font-size:29px}.dashboard-grid{gap:17px}.dashboard-bottom{gap:17px;margin-top:17px}.auth .story{border-right:0;border-bottom:1px solid var(--line)}}
@media(max-width:560px){.app-breadcrumb>span{display:none}.account-chip strong{max-width:135px}.dashboard-heading{flex-direction:column}.dashboard-heading .button{align-self:flex-start}.dashboard-heading .muted{font-size:12px}.stats{grid-template-columns:1fr}.stats .stat{display:grid;grid-template-columns:1fr auto;gap:4px 15px;padding:14px 17px}.stat-top{grid-column:1;grid-row:1}.stat-top>span{font-size:12px}.stats .stat>strong{grid-column:2;grid-row:1/3;margin:0;align-self:center;font-size:29px}.stat-bottom{grid-column:1;grid-row:2}.stat-bottom>span:last-child{display:none}.dashboard-panel{padding:18px}.section-title h2{font-size:15px}.section-title{gap:10px}.event-scope{display:none}.app-footer{flex-direction:column;gap:3px}.calendar-toolbar{gap:8px}.calendar-toolbar h2{min-width:150px;font-size:16px}.story .brand{width:230px}.account-card{padding:20px}.actions{flex-wrap:wrap}}

.account-menu{position:relative;flex-shrink:0}.account-menu>summary{list-style:none;cursor:pointer;padding:6px 8px;border:1px solid transparent;border-radius:10px;min-height:44px}.account-menu>summary::-webkit-details-marker{display:none}.account-menu>summary:hover,.account-menu[open]>summary{background:#f2f6ed;border-color:#dce8d2}.account-menu>summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.account-chip>.ui-icon{width:14px;height:14px;color:#77836d}.account-menu[open] .account-chip>.ui-icon{transform:rotate(180deg)}.account-panel{position:absolute;right:0;top:calc(100% + 10px);width:260px;max-width:calc(100vw - 32px);padding:8px;border:1px solid #dfe7d7;border-radius:12px;background:#fff;box-shadow:0 10px 35px #253b2420;z-index:45}.account-panel-heading{padding:9px 12px 13px;margin-bottom:4px;border-bottom:1px solid #edf1e8;overflow-wrap:anywhere}.account-panel-heading strong,.account-panel-heading small{display:block}.account-panel-heading strong{font-size:13px}.account-panel-heading small{font-size:11px;color:var(--muted);margin-top:3px}.account-panel a,.account-panel button{display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;min-height:44px;padding:11px 12px;border:0;border-radius:7px;background:transparent;color:#526249;font-size:13px;font-weight:500;text-decoration:none;box-shadow:none}.account-panel a:hover,.account-panel button:hover{background:#eef5e7}.account-panel .ui-icon{width:18px;height:18px}.account-panel form{margin:0}
.dashboard-page .dashboard-panel,.dashboard-page .dashboard-week,.dashboard-page main>.card,.dashboard-page .registry-stats>.card{border-bottom:3px solid #b6cfa0}.dashboard-page .dashboard-priority-grid>.card:nth-child(2),.dashboard-page .family-updates>.card:nth-child(2){border-bottom-color:#dbcba7}.dashboard-page .dashboard-context-grid>.card:nth-child(2){border-bottom-color:#b5cbd0}.dashboard-page .dashboard-week{border-bottom-color:#9fbe85}.dashboard-page .registry-stats>.card:nth-child(2){border-bottom-color:#b5cbd0}.dashboard-page .registry-stats>.card:nth-child(3){border-bottom-color:#dbcba7}
.users-role-filter{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:20px}.users-role-filter>div{min-width:220px;max-width:100%;flex:0 1 340px}.users-role-filter label{font-size:12px}.users-role-filter>a{align-self:center;font-size:12px}
@media(max-width:560px){.account-menu>summary{gap:5px;padding:4px}.account-menu .account-name{max-width:90px}.account-menu .account-name strong{max-width:90px;font-size:10px}.account-menu .account-name small{max-width:90px;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-menu .account-avatar{width:28px;height:28px;font-size:12px;flex:none}.account-panel{right:0}.app-header-start{min-width:0}.app-header-start .app-breadcrumb{min-width:0;overflow:hidden}.app-header-start .app-breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.users-role-filter>div{flex-basis:100%}.users-role-filter button{flex:1}}
