*{box-sizing:border-box}html{background:#f5f4ef;color:#172e28;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{margin:0}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #bc5b32;outline-offset:4px}svg{width:24px;height:24px}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;color:#173f35;border-right:1px solid #dfe4dc;padding:40px 28px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:238px}.brand,.mobile-brand{font-size:23px;letter-spacing:3px;font-weight:800}.sidebar-caption{font-size:12px;color:#65736b;margin-top:9px}.side-nav{margin-top:56px;display:grid;gap:12px}.nav-item{border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:14px;padding:15px;border-radius:12px;min-height:48px;font-weight:600;text-align:left}.nav-item.active{background:#173f35;color:#fff}.sidebar-footer{margin-top:auto;color:#65736b;font-size:11px}.main{grid-column:2;padding:0 48px}.topbar{background:#fff;height:90px;display:flex;align-items:center;gap:16px;border-bottom:1px solid #dfe4dc}.mobile-brand{display:none}.role-badge{font-size:12px;padding:8px 13px;border:1px solid #ced7ca;border-radius:30px;color:#38594e}.text-button{margin-left:auto;background:transparent;color:#38594e;border:0;font-size:13px;padding:14px;min-height:44px}.content{max-width:1100px;margin:44px auto 0;padding-bottom:45px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#68796b;font-weight:700;margin:0 0 10px}h1{font-size:clamp(28px,4vw,42px);font-weight:650;letter-spacing:-1.5px;margin:0 0 12px;line-height:1.15}h1:focus{outline:none}.intro{color:#65736b;font-size:15px;line-height:1.6;margin:0 0 30px}.hero{background:#173f35;color:white;display:flex;gap:24px;justify-content:space-between;align-items:center;border-radius:22px;padding:32px 38px;margin:32px 0}.hero-kicker{color:#c8b88c;font-size:10px;letter-spacing:2px;font-weight:700}.hero h2{font-size:26px;font-weight:500;margin:15px 0}.hero p:not(.hero-kicker){font-size:14px;color:#d3e2d8;max-width:550px;line-height:1.7}.hero-art{border:1px solid #ffffff26;padding:26px;border-radius:50%;transform:rotate(-8deg);background:#ffffff08}.hero-art svg{width:58px;height:58px;color:#d4c596}.section-title{font-size:18px;font-weight:600;margin:32px 0 17px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module-card{display:flex;flex-direction:column;gap:18px;border:1px solid #e1e6de;background:#fff;border-radius:17px;padding:24px;min-height:206px;transition:transform .2s,border-color .2s}.module-card[href]:hover{transform:translateY(-3px);border-color:#91ad99}.module-icon{display:grid;place-items:center;background:#edf2e9;border-radius:13px;color:#385a49;width:46px;height:46px}.module-text h3{font-size:16px;margin:0 0 8px;font-weight:600}.module-text p{font-size:12px;line-height:1.6;color:#6e796e;margin:0}.module-status{font-size:11px;color:#456651;margin-top:auto}.pending .module-status{color:#8b7463}.notice{border-left:3px solid #ba8756;background:#f0ede3;color:#72654b;padding:14px 18px;border-radius:0 9px 9px 0;font-size:12px;line-height:1.65;margin:26px 0}.install-card{display:flex;align-items:center;gap:20px;border:1px solid #d9e1d6;padding:25px;border-radius:15px;margin-top:28px}.install-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e4ebdf;flex-shrink:0}.install-card h2{font-size:15px;margin:0 0 7px}.install-card p{font-size:12px;color:#69796b;line-height:1.6;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;background:#173f35;color:white;padding:13px 20px;border:1px solid #173f35;border-radius:10px;min-height:46px;font-size:13px;font-weight:600;margin:5px 8px 5px 0}.secondary{background:transparent;color:#173f35}.footnote{color:#7b897d;font-size:10px;margin-top:28px}.bottom-nav{display:none}.loading{padding:48px;color:#385a49}.demo-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #dfe4dc;color:#8c593b;font-size:12px}.demo-bar select{padding:10px;border:1px solid #d4dccc;border-radius:8px;background:white;min-height:44px}.modal{max-width:480px;width:calc(100% - 40px);border:0;border-radius:20px;padding:30px;color:#173f35}.modal::backdrop{background:#152d27aa}.modal p{line-height:1.7;font-size:14px}.modal h2{font-size:25px}
@media(max-width:1100px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main{padding:0 30px}.hero{padding:28px}.hero-art{display:none}}
@media(max-width:760px){.shell{display:block}.sidebar{display:none}.main{padding:0 21px}.topbar{height:76px;gap:8px}.mobile-brand{display:block;font-size:18px;letter-spacing:2px}.role-badge{margin-left:auto;padding:7px 9px;font-size:10px}.text-button{font-size:0;padding:10px;width:44px;margin-left:0}.text-button::after{content:'↻';font-size:22px}.content{margin-top:28px;padding-bottom:110px}h1{font-size:32px;letter-spacing:-1px}.intro{font-size:13px;margin-bottom:25px}.hero{margin:25px 0;padding:24px;border-radius:18px}.hero h2{font-size:23px;line-height:1.3;margin-top:13px}.hero p:not(.hero-kicker){font-size:12px}.module-grid{gap:11px}.module-card{padding:18px 15px;min-height:194px;gap:15px;border-radius:15px}.module-text h3{font-size:14px}.module-text p{font-size:11px}.module-icon{width:42px;height:42px}.module-status{font-size:10px}.section-title{font-size:16px}.notice{font-size:11px;padding:12px 14px;margin-top:21px}.install-card{padding:18px 15px;gap:13px;flex-wrap:wrap}.install-card>div{flex:1;min-width:180px}.install-card p{font-size:11px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #dce4d7;padding:9px 15px calc(9px + env(safe-area-inset-bottom));justify-content:space-around;z-index:5}.bottom-nav .nav-item{flex-direction:column;gap:5px;min-width:80px;font-size:10px;padding:9px 18px;color:#7c8a7d}.bottom-nav .nav-item.active{color:#173f35;background:#edf3e8}.bottom-nav svg{width:20px;height:20px}.demo-bar{align-items:flex-start;font-size:10px}.demo-bar strong{max-width:160px;line-height:1.6}.demo-bar select{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.eventrix-logo{display:block;width:auto;max-width:175px;height:44px;object-fit:contain}.brand:has(img){background:transparent;padding:0}.mobile-brand .eventrix-logo{height:34px;max-width:145px}@media(max-width:400px){.mobile-brand .eventrix-logo{max-width:112px}.role-badge{font-size:9px}}

.eventrix-language{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 8px;color:#173f35;text-decoration:none;font:600 12px system-ui}.eventrix-language[aria-current="true"]{text-decoration:underline;text-underline-offset:5px}@media(max-width:760px){.topbar{height:auto;min-height:76px;flex-wrap:wrap;padding:10px 0}.mobile-module-header{flex-wrap:wrap;gap:8px}}

.fast-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 20px}.fast-list{display:grid;gap:10px}.fast-row{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid #e1e6de;border-radius:14px;padding:17px 19px;min-height:78px}.fast-row[href]{transition:transform .18s,border-color .18s,box-shadow .18s}.fast-row[href]:hover{transform:translateY(-2px);border-color:#91ad99;box-shadow:0 8px 25px #173f350d}.fast-row-main{min-width:0}.fast-row h2{font-size:15px;line-height:1.35;margin:0 0 7px;font-weight:650;overflow-wrap:anywhere}.fast-meta{color:#68796b;font-size:11px;line-height:1.55;margin:0}.fast-value{display:flex;align-items:center;gap:14px;text-align:right;white-space:nowrap;color:#385a49;font-size:12px;font-weight:650}.fast-arrow{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf2e9;font-size:16px}
@media(max-width:760px){.fast-toolbar{margin-bottom:16px}.fast-toolbar .button{flex:1;margin:0;min-width:135px}.fast-row{padding:15px;gap:10px;align-items:flex-start}.fast-row h2{font-size:14px}.fast-meta{font-size:10px}.fast-value{font-size:11px;flex-direction:column;align-items:flex-end;gap:8px}.fast-arrow{width:26px;height:26px}}

.workspace-bank{position:fixed;left:238px;right:0;top:90px;bottom:0;z-index:3;background:#f5f4ef;border-top:1px solid #dfe4dc}.workspace-pane,.workspace-frame{width:100%;height:100%;border:0}.workspace-pane{position:relative}.workspace-frame{display:block;background:#f5f4ef;opacity:0;transition:opacity .15s}.workspace-frame.ready{opacity:1}.workspace-loading{position:absolute;inset:0;display:grid;place-items:center;background:#f5f4ef;color:#385a49;font-size:13px;z-index:1}.workspace-loading[hidden],.workspace-bank[hidden],.workspace-pane[hidden]{display:none!important}
@media(max-width:760px){.workspace-bank{left:0;top:76px;bottom:75px;z-index:4}}

/* Keep identity beside logo and reserve space for language actions. */
.topbar{gap:12px}.app-header-identity{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.app-header-identity .role-badge{margin:0;min-width:0;line-height:1.35}.app-header-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;flex-shrink:0;margin-left:auto}.app-header-controls .text-button{margin-left:0;padding:10px;min-width:44px}.language-status{flex-basis:100%;text-align:right;font-size:12px;color:#38594e}@media(max-width:600px){.topbar{flex-wrap:wrap;gap:8px}.app-header-identity{flex-direction:row;align-items:center;gap:8px;flex:1 1 250px}.app-header-identity .mobile-brand{flex:0 0 auto}.app-header-identity .role-badge{font-size:11px;padding:5px 8px;border-radius:8px;max-width:140px;overflow-wrap:break-word}.app-header-controls{gap:4px;max-width:164px}.app-header-controls .text-button{padding:8px}.mobile-brand .eventrix-logo{width:145px;max-width:145px;height:38px}}

.app-role-short{display:none}@media(max-width:600px){.topbar{display:flex;flex-wrap:nowrap;gap:6px;min-height:76px}.app-header-identity{flex:1 1 auto;flex-direction:row;gap:6px;min-width:0}.app-header-identity .role-badge{flex:0 0 auto;font-size:11px;padding:5px 7px;white-space:nowrap}.app-role-full{display:none}.app-role-short{display:inline}.app-header-controls{flex:0 0 auto;gap:3px;flex-wrap:nowrap;max-width:none;margin-left:0}.app-header-controls .eventrix-language{min-width:44px!important;min-height:44px!important;padding:6px 7px!important;font-size:14px!important}.app-header-controls .text-button{min-width:32px;padding:6px}.mobile-brand .eventrix-logo{width:145px;max-width:145px;height:38px}.language-status{position:absolute;top:100%;right:0;background:#fff;padding:4px 8px;z-index:10}.topbar{position:relative}}@media(max-width:360px){.app-header-identity{gap:4px}.mobile-brand .eventrix-logo{width:130px;max-width:130px;height:36px}.app-header-identity .role-badge{padding:4px;font-size:10px}.app-header-controls{gap:2px}}

/* App header: full width, persistent above embedded workspaces. */
.main{min-width:0}
.topbar{position:sticky;top:0;z-index:30;box-sizing:border-box;margin-inline:-48px;width:calc(100% + 96px);max-width:none;padding-inline:48px}
body.eventrix-mobile-module:not(.eventrix-in-app) .mobile-module-header{position:sticky;top:0;z-index:30;box-sizing:border-box;width:100%}
@media(max-width:1100px){.topbar{margin-inline:-30px;width:calc(100% + 60px);padding-inline:30px}}
@media(max-width:760px){
 .topbar{margin-inline:-21px;width:calc(100% + 42px);padding:8px 12px;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));height:76px;min-height:76px;flex-wrap:nowrap;gap:6px}
 .app-header-identity{flex:1 1 0;min-width:0;gap:5px}
 .app-header-identity .mobile-brand{flex:0 1 145px;min-width:72px;max-width:145px}
 .mobile-brand .eventrix-logo{width:100%;max-width:145px;height:38px;object-fit:contain}
 .app-header-identity .role-badge{flex:0 1 auto;min-width:36px;max-width:140px;padding:5px;font-size:11px;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
 .app-header-controls{flex:0 0 auto;flex-wrap:nowrap;gap:3px;margin-left:0}
 .app-header-controls .eventrix-language{min-width:44px!important;width:44px;min-height:44px!important;padding:6px!important;font-size:14px!important}
 .app-header-controls .text-button{min-width:28px;width:28px;padding:4px}
}
@media(max-width:360px){.topbar{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right));gap:4px}.app-header-identity{gap:3px}.app-header-identity .role-badge{font-size:10px;padding:4px}}
@media print{.topbar,body.eventrix-mobile-module:not(.eventrix-in-app) .mobile-module-header{position:static}}
