@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{--ink:#182638;--muted:#788595;--navy:#142337;--line:#e5e9e8;--accent:#2d8b77;--cream:#f4f6f2;--paper:#fff;--sand:#f0eadb}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--cream)}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #4bb89e;outline-offset:3px}button{border:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Outfit,sans-serif;letter-spacing:-.04em}h1{font-size:clamp(27px,4vw,46px);line-height:1.05;margin-bottom:8px}h2{font-size:30px}.overline{font-size:10px;letter-spacing:.18em;font-weight:800;color:#658879}.topbar{height:76px;display:flex;align-items:center;padding:0 clamp(18px,3vw,50px);gap:18px;background:#fff;border-bottom:1px solid var(--line)}.identity{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;background:var(--navy);color:#f8e9bd;font-family:Outfit;font-weight:800;font-size:17px;letter-spacing:-.08em;width:44px;height:44px;border-radius:12px}.identity-text{display:flex;flex-direction:column;gap:3px}.identity-text strong{font:700 13px Outfit;letter-spacing:.05em}.identity-text small{font-size:9px;letter-spacing:.19em;color:#7d8a94}.live-tag{margin-left:auto;font-size:12px;color:#6b8179;display:flex;align-items:center;gap:8px}.dot{width:7px;height:7px;border-radius:50%;background:#e6a74e}.header-action,.secondary{background:#edf2ef;color:#23483d;border-radius:10px;padding:12px 17px;font-weight:700}.header-action span{margin-left:7px;color:#6d8d80}.icon-button{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#eff2ef;color:#22394a;font-size:21px}.menu-trigger{display:none}.workspace{max-width:1660px;margin:0 auto;padding:24px clamp(18px,3vw,50px) 100px}.scene-header{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:22px}.scene-header p{color:var(--muted);font-size:14px;margin:0}.scene-header-actions{display:flex;gap:8px}.primary{background:var(--accent);color:white;padding:13px 19px;border-radius:10px;font-weight:700}.world-frame{position:relative;overflow:hidden;height:min(66vh,740px);min-height:420px;background:#d7e6df;border:1px solid #cddbd4;border-radius:16px;box-shadow:0 20px 55px #173b2b12;touch-action:none}.world-frame canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.world-frame canvas:active{cursor:grabbing}.world-overlay{position:absolute;pointer-events:none;display:flex;gap:10px}.top-left{top:19px;left:19px;flex-direction:column}.bottom-left{bottom:18px;left:20px}.world-badge{background:#152a37e8;color:#e6f7ee;font-size:10px;letter-spacing:.14em;font-weight:800;padding:11px 13px;border-radius:8px;align-self:flex-start}.world-caption,.gesture-tip{background:#fffffff0;border:1px solid #e3e8e2;color:#60716e;padding:9px 12px;border-radius:8px;font-size:11px;max-width:300px}.world-controls{position:absolute;right:17px;bottom:18px;display:flex;flex-direction:column;gap:5px}.world-controls button{background:#fff;color:#263c43;width:43px;height:43px;border-radius:10px;font-size:24px;box-shadow:0 2px 9px #0e2a1b1a}.world-toast{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);background:#192c37;color:#fff;border-radius:8px;padding:10px 14px;font-size:12px;opacity:0;transition:opacity .2s;pointer-events:none}.world-toast.show{opacity:1}.floor-footer{display:flex;align-items:center;justify-content:space-between;padding:18px 6px;gap:12px}.floor-footer>div{display:flex;align-items:center;gap:12px}.floor-icon{font-size:26px;color:#3c8e79}.floor-footer strong{font-size:14px}.floor-footer small{font-size:12px;color:var(--muted)}.text-button{background:transparent;color:#347b69;font-weight:700}.dock{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:4px;background:#172a36;padding:6px;border-radius:16px;box-shadow:0 8px 35px #172a3640;z-index:30}.dock button{background:transparent;color:#afc0c7;min-width:95px;padding:9px 13px;border-radius:11px;display:flex;gap:7px;align-items:center;justify-content:center;font-size:12px;font-weight:700}.dock button span{font-size:19px}.dock button.active{background:#365747;color:white}.mega{position:fixed;inset:0;background:#f5f6f1;z-index:60;padding:clamp(22px,4vw,65px);overflow-y:auto}.mega[hidden],.sheet[hidden],.sheet-backdrop[hidden]{display:none!important}.mega-head{display:flex;align-items:center;justify-content:space-between}.mega h2{font-size:clamp(40px,6vw,78px);margin:30px 0 35px}.mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.mega-section{border-top:2px solid #183b35;padding-top:20px}.mega-section h3{font-size:17px;margin-bottom:15px}.mega-section a,.mega-section button{display:block;text-align:left;width:100%;padding:12px 2px;background:none;border-bottom:1px solid #dfe6df;font-size:14px;color:#3d5a52}.sheet-backdrop{position:fixed;inset:0;background:#0d1f2a6b;z-index:70}.sheet{position:fixed;right:0;top:0;bottom:0;width:min(460px,100vw);background:#fff;z-index:80;padding:28px;overflow-y:auto;box-shadow:-12px 0 45px #122c3429}.sheet-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.sheet-grip{display:none}.sheet h2{font-size:32px;margin-bottom:8px}.subtle{color:#7a898d;font-size:14px;line-height:1.5}.sheet label,.auth label{display:block;font-size:12px;font-weight:700;margin:18px 0}.sheet input,.auth input{display:block;margin-top:8px;width:100%;padding:14px 12px;border:1px solid #d9e1dc;border-radius:10px;background:#f8faf8;font-size:16px}.sheet .primary,.auth .primary{width:100%;margin-top:12px}.person-row,.company-row,.operation-row{width:100%;padding:15px 2px;display:flex;align-items:center;gap:13px;background:transparent;text-align:left;border-bottom:1px solid #edf0ed}.person-avatar{display:grid;place-items:center;width:42px;height:42px;background:#d7e9df;border-radius:13px;color:#2a6d59;font-weight:800}.person-row strong,.company-row strong{display:block;font-size:14px}.person-row small,.company-row small{display:block;font-size:12px;color:#83918e;margin-top:3px}.status-pill{display:inline-block;padding:7px 10px;background:#eef4ec;border-radius:7px;color:#557967;font-size:11px;font-weight:700}.person-detail{background:#f2f6f1;padding:18px;border-radius:12px;margin-top:18px}.person-detail dt{font-size:11px;color:#82928b}.person-detail dd{font-size:14px;font-weight:700;margin:4px 0 18px}.notice{position:fixed;top:85px;right:18px;z-index:100;background:#fff;padding:15px}.error{color:#9e3b2e}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#172a36}.auth-brand{display:flex;align-items:center;justify-content:center;gap:20px;color:#fff;font:700 30px Outfit;letter-spacing:.04em}.auth-brand .brand-mark{width:100px;height:100px;font-size:36px;background:#e8c987;color:#142637}.auth-box{background:#f6f7f2;padding:clamp(30px,8vw,120px);display:flex;flex-direction:column;justify-content:center}.auth-box h1{font-size:clamp(38px,5vw,65px);margin-top:25px}.auth-box p{color:#76867f}.auth-box form{max-width:440px}@media(max-width:800px){.topbar{height:68px;padding:0 16px;gap:11px}.menu-trigger{display:grid}.identity-text strong{font-size:11px}.identity-text small{font-size:8px}.brand-mark{width:39px;height:39px}.live-tag,.header-action{display:none}.workspace{padding:20px 0 90px}.scene-header{padding:0 18px;align-items:start;flex-direction:column;gap:14px}.scene-header p{font-size:12px}.scene-header-actions{width:100%}.scene-header-actions button{flex:1;font-size:13px}.world-frame{height:calc(100dvh - 300px);min-height:390px;border-radius:0;border-left:0;border-right:0}.world-caption{display:none}.top-left{top:12px;left:12px}.world-badge{font-size:9px}.gesture-tip{font-size:10px;max-width:225px}.world-controls{right:12px;bottom:15px}.floor-footer{padding:13px 18px}.floor-footer>div{display:grid;grid-template-columns:26px 1fr;gap:2px 8px}.floor-footer small{grid-column:2}.text-button{display:none}.dock{bottom:0;left:0;right:0;transform:none;border-radius:15px 15px 0 0;padding:6px 5px calc(7px + env(safe-area-inset-bottom));justify-content:space-around}.dock button{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px;font-size:10px;padding:8px 2px}.dock button span{font-size:21px}.mega{padding:24px 22px 90px}.mega h2{margin:25px 0;font-size:43px}.mega-grid{grid-template-columns:1fr;gap:24px}.sheet{width:100%;top:auto;height:min(82dvh,760px);border-radius:23px 23px 0 0;padding:15px 23px 35px}.sheet-grip{display:block;width:42px;height:5px;border-radius:5px;background:#d7dfda;margin:0 auto 20px}.auth{grid-template-columns:1fr}.auth-brand{padding:35px;font-size:19px}.auth-brand .brand-mark{width:65px;height:65px;font-size:25px}.auth-box{padding:30px;min-height:70vh}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* V4.1 — executive monochrome + restrained gold, company-specific identity */
:root{--ink:#111111;--muted:#6e6e6e;--navy:#111111;--line:#e5e1d9;--accent:#b3904a;--cream:#f8f7f4;--paper:#fff;--sand:#eee7d8;--gold:#b3904a;--gold-dark:#8d6c30}
html,body{background:var(--cream);color:var(--ink)}
.topbar{background:#fff;border-bottom:1px solid #e8e5df}
.brand-mark{background:#111;color:#d5b46f;border-radius:3px}
.icon-button,.header-action,.secondary{background:#f4f2ee;color:#171717;border:1px solid #e7e2d7;border-radius:3px}
.overline{color:var(--gold-dark)}.live-tag{color:#6a6458}.dot{background:var(--gold)}
.primary{background:#111!important;color:#fff!important;border-radius:3px!important}
.primary:hover{background:#292929!important}
.secondary:hover,.icon-button:hover{border-color:var(--gold)}
.world-frame{border-color:#ded9ce;border-radius:3px;background:#eeeae2}
.world-badge{background:#121212;color:#e6c788;border-radius:2px}
.world-caption,.gesture-tip{border-radius:3px;color:#4d493f;border-color:#e1d9ca}
.world-controls button{border-radius:3px;color:#111;border:1px solid #ded9ce}
.dock{background:#111;color:#fff;border-radius:0;box-shadow:0 5px 22px #0002}
.dock button{border-radius:0;color:#d0d0d0}
.dock button.active{background:#242424;color:#e8c67d;box-shadow:inset 0 3px 0 var(--gold)}
.mega{background:#faf9f6}.mega-section{border-top-color:#111}
.mega-section a,.mega-section button{color:#262626;border-bottom-color:#e6e0d5}
.sheet{background:#fff}.sheet input,.auth input{border-radius:3px;background:#fff}
.person-avatar{background:#eee6d6;color:#80622c;border-radius:3px}
.status-pill,.person-detail{border-radius:3px;background:#f5f2eb;color:#665633}
.auth{background:#111}.auth-brand .brand-mark{background:#c6a45f;color:#111;border-radius:3px}
.auth-box{background:#faf9f6}
button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#c6a45f}
/* Each subsidiary owns its identity accent; holding has a multicolor signature. */
.app-shell[data-company="seo-wp"]{--gold:#21835a;--gold-dark:#176943}
.app-shell[data-company="very-hosting"]{--gold:#2457b9;--gold-dark:#204d9c}
.app-shell[data-company="siti-html"]{--gold:#229ad2;--gold-dark:#147aa9}
.app-shell[data-company="report-seo"]{--gold:#dc7926;--gold-dark:#b75d15}
.app-shell[data-company="desktop-online"]{--gold:#ed8b24;--gold-dark:#b96a12}
.app-shell[data-company="marqoni"]{--gold:#b3904a;--gold-dark:#8d6c30}
.app-shell[data-company="autista-privato-bologna"]{--gold:#b3904a;--gold-dark:#8d6c30}
.app-shell[data-company="holding"] .brand-mark{background:linear-gradient(135deg,#238e5f 0 25%,#2d65b8 25% 50%,#31a5d8 50% 75%,#e98a2b 75% 100%);color:white}
.app-shell .overline{color:var(--gold-dark)}
.app-shell .dock button.active{box-shadow:inset 0 3px 0 var(--gold)}
@media(max-width:800px){
 .dock{bottom:0;left:0;right:0;border-radius:0!important;padding:5px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -1px 0 #333}
 .dock button,.dock button.active{border-radius:0!important}
 .topbar{padding:0 14px}.scene-header{padding:0 16px}
 .scene-header-actions button{border-radius:3px!important}
 .sheet{border-radius:0!important}
 .world-frame{border-radius:0!important}
}

/* Holding V4.2 — native-feeling mobile bottom sheets, preserved dock */
:root{--dock-height:76px;--luxury-black:#101010;--luxury-gold:#bc9856;--soft-white:#faf9f6}
html,body{background:#faf9f6;color:#171717}
.topbar{border-bottom:1px solid #e9e6df}
.brand-mark{border-radius:3px!important;background:#101010;color:#d4b16d}
.identity-text strong{font-weight:800;letter-spacing:.035em}
.world-frame{background:#dce9e2;border-radius:3px;box-shadow:none}
.world-badge{border-radius:3px;background:#111;color:#d9bb83}
.world-controls button{border-radius:3px;border:1px solid #e4e0d7;box-shadow:0 3px 12px #00000014}
.primary{border-radius:3px!important;background:#111!important;color:#fff!important}
.secondary,.icon-button{border-radius:3px!important}
.dock{z-index:120!important;background:#111!important;border-radius:0!important;box-shadow:0 -2px 20px #0000001a}
.dock button{border-radius:0!important;position:relative;transition:color .18s,background .18s}
.dock button.active{background:#282828!important;color:#e5c487!important}
.dock button.active:before{content:'';height:3px;position:absolute;top:0;left:0;right:0;background:#c7a15e}
.sheet-backdrop{z-index:75!important;background:rgba(0,0,0,.42);bottom:var(--dock-height)!important;backdrop-filter:blur(2px)}
.sheet{z-index:90!important;background:#fff;box-shadow:0 -16px 50px #0000002b;border:1px solid #e5e0d6}
.sheet-heading{border-bottom:1px solid #eee9e0;padding-bottom:14px;margin-bottom:23px}
.sheet .overline{color:#9b7539;letter-spacing:.13em}
.sheet h2{font-weight:750;letter-spacing:-.04em}
.sheet .subtle{line-height:1.65;color:#6b6b6b}
.sheet .person-avatar{background:#f2ebde;color:#795c2d;border-radius:3px}
.sheet .person-row,.sheet .company-row,.sheet .operation-row{min-height:62px;border-bottom:1px solid #eeeae3}
.sheet .person-row:active,.sheet .company-row:active,.sheet .operation-row:active{background:#f7f3ec}
.sheet .person-detail{background:#f8f6f1;border-radius:3px}
.sheet input{border-radius:3px;background:#fff;min-height:48px}
.sheet .icon-button{background:#f5f3ee;border:1px solid #e8e3d9}
.sheet-grip{touch-action:none;cursor:grab}
.sheet-grip:active{cursor:grabbing}
body.sheet-open{overscroll-behavior:none}
@media(max-width:800px){
 :root{--dock-height:calc(72px + env(safe-area-inset-bottom,0px))}
 .workspace{padding-bottom:calc(var(--dock-height) + 12px)}
 .dock{height:var(--dock-height);padding:4px 4px env(safe-area-inset-bottom,0px);bottom:0;left:0;right:0}
 .dock button{font-size:11px;min-height:56px;gap:3px}
 .dock button span{font-size:21px}
 .sheet{position:fixed;top:auto!important;bottom:var(--dock-height)!important;left:0;right:0;width:100%;height:auto;max-height:calc(100dvh - var(--dock-height) - 22px);min-height:230px;padding:0 22px 24px;border-radius:18px 18px 0 0!important;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;transform:translateY(0);transition:transform .24s cubic-bezier(.2,.8,.2,1);border-bottom:0}
 .sheet[hidden]{display:none!important}
 .sheet-grip{display:block;position:sticky;top:0;width:64px;height:24px;margin:0 auto 8px;background:transparent;z-index:2}
 .sheet-grip:before{content:'';position:absolute;width:39px;height:5px;left:50%;top:10px;transform:translateX(-50%);background:#d3d0ca;border-radius:5px}
 .sheet-heading{position:sticky;top:24px;background:#fff;z-index:1;margin:0 -22px 21px;padding:4px 22px 13px}
 .sheet h2{font-size:clamp(26px,7vw,34px);line-height:1.1}
 .sheet .primary{min-height:50px}
 .sheet-backdrop{bottom:var(--dock-height)!important}
 .mega{z-index:110;padding-bottom:calc(var(--dock-height) + 25px);background:#fbfaf7}
 .mega-section{border-top-color:#b59456}
 .scene-header{margin-bottom:18px}
 .world-frame{border-radius:0}
}
@media(min-width:801px){.sheet{top:0;bottom:0;border-radius:0;width:min(500px,100vw)}.sheet-backdrop{bottom:0!important}.dock{z-index:120}}
@media(prefers-reduced-motion:reduce){.sheet{transition:none!important}}

/* V4.3: fixed structural bottom sheet, header never overlaps content */
.sheet{display:flex!important;flex-direction:column;overflow:hidden!important;padding:0!important}
.sheet[hidden]{display:none!important}
.sheet-grip{flex:0 0 28px!important;position:relative!important;top:auto!important;margin:0!important;align-self:stretch!important;width:auto!important;height:28px!important;background:#fff!important;z-index:3!important}
.sheet-heading{position:relative!important;top:auto!important;flex:0 0 auto!important;margin:0!important;padding:12px 22px 16px!important;min-height:68px;background:#fff!important;z-index:3!important;border-bottom:1px solid #e8e4dc!important}
#sheetContent{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 22px 35px;scrollbar-gutter:stable}
#sheetContent>h2:first-child{margin:0 0 12px;font-size:clamp(26px,6vw,34px);line-height:1.14;overflow-wrap:anywhere}
#sheetContent>.subtle{margin-bottom:18px}
.sheet .company-row,.sheet .person-row{min-height:72px}
.sheet .company-row strong,.sheet .person-row strong{font-size:15px;letter-spacing:-.02em}
.sheet .company-row small,.sheet .person-row small{font-size:12px}
.sheet .person-avatar{flex-shrink:0}
@media(max-width:800px){.sheet{bottom:var(--dock-height)!important;max-height:calc(100dvh - var(--dock-height) - 34px)!important;height:min(77dvh,720px)!important}.sheet-heading{min-height:66px}.sheet-grip{flex-basis:25px!important;height:25px!important}#sheetContent{padding-top:21px}.dock{border-radius:0!important}}
@media(min-width:801px){.sheet{height:100dvh!important;max-height:100dvh!important}}

/* V4.4 — structured employee profile, legible bottom sheets */
.sheet-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:9px 20px 13px!important;min-height:60px!important}
.sheet-heading .overline{font-size:11px;letter-spacing:.14em;line-height:1.35;max-width:calc(100% - 68px);overflow-wrap:anywhere}
.sheet-heading .icon-button{width:46px;height:46px;flex:0 0 46px}
#sheetContent{padding:0 20px 34px!important}
#sheetContent>h2:first-child{padding-top:22px}
.employee-hero{display:flex;align-items:center;gap:16px;padding:23px 0 20px;border-bottom:1px solid #e9e5dc}
.employee-portrait{flex:0 0 72px;height:80px;background:#151515;color:#d8b778;display:grid;place-items:center;font-size:34px;font-weight:700;border:1px solid #38322a}
.employee-identity{min-width:0}.employee-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:#8b6b35}
.employee-identity h2{font-size:clamp(22px,5.4vw,29px);line-height:1.12;letter-spacing:-.035em;margin:6px 0 5px;overflow-wrap:anywhere}
.employee-identity p{font-size:13px;color:#686868;margin:0 0 9px}
.employee-status{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#66502c;background:#f5f0e5;padding:6px 9px}
.employee-status i{width:6px;height:6px;border-radius:50%;background:#b99555}
.employee-actions{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding:12px 0;border-bottom:1px solid #e8e4dc;position:sticky;top:0;background:#fff;z-index:2}
.employee-actions::-webkit-scrollbar{display:none}
.employee-action{flex:0 0 auto;border:0;background:#f5f3ef;color:#56514a;padding:11px 13px;font-size:12px;font-weight:700;min-height:43px;cursor:pointer}
.employee-action.selected{background:#141414;color:#e9c989;box-shadow:inset 0 -2px 0 #c49e59}
.employee-tab-body{padding:20px 0 18px}
.employee-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.employee-section-head h3{font-size:18px;letter-spacing:-.02em;line-height:1.2;margin:0}
.employee-chip{font-size:10px;color:#8b6b35;border:1px solid #e6d9bf;padding:6px 8px;white-space:nowrap}
.employee-copy{font-size:14px;line-height:1.65;color:#595959;margin:0 0 18px}
.employee-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #eae6dd;border-left:1px solid #eae6dd;margin:14px 0 18px}
.employee-facts div{padding:13px;border-right:1px solid #eae6dd;border-bottom:1px solid #eae6dd;min-width:0}
.employee-facts span{display:block;font-size:11px;color:#797979;margin-bottom:6px}
.employee-facts strong{display:block;font-size:13px;overflow-wrap:anywhere}
.employee-note{background:#f8f5ee;border-left:3px solid #bb995b;padding:15px 16px;margin-top:16px}
.employee-note strong,.employee-empty strong{font-size:14px}.employee-note p,.employee-empty p{font-size:13px;line-height:1.65;color:#666;margin:7px 0 0}
.employee-steps>div,.employee-role-list>div{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #eee9df;padding:15px 0}
.employee-steps b,.employee-role-list b{color:#a28248;font-size:12px;min-width:24px}.employee-steps span,.employee-role-list span{flex:1;min-width:0}
.employee-steps strong,.employee-role-list strong{display:block;font-size:13px;margin-bottom:4px}.employee-steps small,.employee-role-list small{display:block;font-size:12px;color:#747474;line-height:1.5}
.employee-steps em{font-size:10px;color:#8b6b35;font-style:normal;white-space:nowrap}.employee-empty{padding:24px 18px;background:#f7f6f3;border:1px solid #eae6dd}
@media(max-width:800px){.sheet{height:min(79dvh,750px)!important;max-height:calc(100dvh - var(--dock-height) - 18px)!important}.sheet-grip{flex-basis:22px!important;height:22px!important}.sheet-heading{min-height:58px!important}.employee-hero{gap:13px}.employee-portrait{flex-basis:60px;height:70px}.employee-section-head{flex-wrap:wrap}}


/* V4.5 — canonical mobile layout, isolated from legacy selector conflicts */
:root{--dock-height:76px;--gold:#b99a5d;--v45-line:#e9e6df}
html,body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important;font-size:15px!important;line-height:1.5!important}
.sheet,.sheet *,.mega,.mega *{box-sizing:border-box!important}
.sheet{display:flex!important;flex-direction:column!important;position:fixed!important;z-index:110!important;left:0!important;right:0!important;top:auto!important;bottom:var(--dock-height)!important;width:100%!important;height:min(77dvh,780px)!important;max-height:calc(100dvh - var(--dock-height) - 20px)!important;overflow:hidden!important;background:#fff!important;border:1px solid #e7e3da!important;border-bottom:0!important;border-radius:22px 22px 0 0!important;padding:0!important;box-shadow:0 -16px 55px #0002!important;transform:none}
.sheet[hidden],.mega[hidden],.sheet-backdrop[hidden]{display:none!important}
.sheet-grip{flex:0 0 24px!important;min-height:24px!important;position:relative!important;width:100%!important;margin:0!important;background:white!important}
.sheet-heading{flex:0 0 auto!important;position:relative!important;top:auto!important;min-height:64px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:9px 20px 13px!important;margin:0!important;background:white!important;border-bottom:1px solid var(--v45-line)!important;z-index:4!important}
.sheet-heading .overline{font-size:11px!important;letter-spacing:.12em!important;color:#876c40!important;max-width:calc(100% - 70px)!important}
.sheet-heading .icon-button{width:44px!important;height:44px!important;flex:0 0 44px!important;font-size:24px!important}
#sheetContent{display:block!important;flex:1 1 0!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:auto!important;padding:22px 20px 34px!important;font-size:15px!important;line-height:1.55!important}
#sheetContent *{max-width:100%}#sheetContent h2{font-size:clamp(24px,6vw,31px)!important;line-height:1.15!important;letter-spacing:-.035em!important;margin:0 0 12px!important;font-weight:750!important}#sheetContent h3{font-size:17px!important;line-height:1.3!important;margin:0 0 9px!important}#sheetContent p{font-size:14px!important;line-height:1.65!important;margin:0 0 15px!important;color:#666!important}#sheetContent strong,#sheetContent b{font-weight:700!important}#sheetContent .subtle{font-size:14px!important;line-height:1.6!important}
.employee-hero{display:flex!important;gap:14px!important;align-items:center!important;padding:0 0 19px!important}.employee-portrait{flex:0 0 60px!important;width:60px!important;height:68px!important;display:grid!important;place-items:center!important;background:#161616!important;color:#c5a36b!important;font-size:26px!important}.employee-identity{flex:1!important;min-width:0!important}.employee-kicker{font-size:10px!important;letter-spacing:.1em!important;color:#8a6c3b!important}.employee-identity h2{font-size:clamp(19px,5.2vw,25px)!important;margin:5px 0!important;overflow-wrap:anywhere!important}.employee-identity p{font-size:12px!important;margin:0 0 8px!important}.employee-status{font-size:11px!important;padding:5px 9px!important}
.employee-actions{display:flex!important;gap:7px!important;position:sticky!important;top:-22px!important;z-index:3!important;background:#fff!important;overflow-x:auto!important;padding:12px 0!important;margin:0 0 12px!important;scrollbar-width:none!important}.employee-action{flex:0 0 auto!important;min-height:42px!important;padding:10px 12px!important;border:1px solid #e7e4df!important;background:#f7f6f3!important;color:#3a3a3a!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap!important}.employee-action.selected{background:#141414!important;color:#d7b77e!important;border-color:#141414!important}.employee-tab-body{padding:5px 0 25px!important}.employee-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;margin:0 0 14px!important}.employee-copy{font-size:14px!important;line-height:1.65!important}.employee-facts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;margin:15px 0!important}.employee-facts div{min-width:0!important;padding:12px!important}.employee-facts span{display:block!important;font-size:11px!important;color:#777!important}.employee-facts strong{display:block!important;font-size:13px!important;overflow-wrap:anywhere!important}.employee-note{margin-top:16px!important;padding:15px!important}.employee-note p{margin:6px 0 0!important}.employee-steps>div,.employee-role-list>div{display:flex!important;gap:12px!important;align-items:flex-start!important;padding:13px 0!important}.employee-steps span,.employee-role-list span{min-width:0!important;flex:1!important}.employee-steps em{font-size:10px!important}
.sheet-backdrop{position:fixed!important;z-index:100!important;bottom:var(--dock-height)!important}.dock{z-index:130!important;border-radius:0!important}.mega{position:fixed!important;inset:0 0 var(--dock-height) 0!important;z-index:125!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:22px 20px 32px!important;background:#faf9f6!important}.mega h2{font-size:clamp(25px,7vw,36px)!important;line-height:1.14!important;margin:18px 0 25px!important}.mega-head{position:sticky!important;top:0!important;background:#faf9f6!important;z-index:5!important;padding:8px 0!important}.mega-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important}.mega-section{min-width:0!important}.mega-section a,.mega-section button{font-size:15px!important;min-height:48px!important;display:flex!important;align-items:center!important;line-height:1.4!important}
.sheet-intro{padding:2px 0 17px;border-bottom:1px solid var(--v45-line);margin-bottom:16px}.eyebrow{font-size:10px!important;font-weight:800;letter-spacing:.16em;color:#a18149}.v45-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v45-tile{position:relative;display:flex;flex-direction:column;gap:7px;min-height:140px;padding:17px 14px;border:1px solid #e8e3d8;background:#fbfaf7;text-decoration:none}.v45-tile-icon{font-size:24px;color:#a88750}.v45-tile strong{font-size:14px!important;color:#1a1a1a}.v45-tile small{font-size:11px!important;color:#777;line-height:1.45}.v45-arrow{position:absolute;right:12px;top:12px;color:#9b7b45}.v45-wide{display:flex;align-items:center;justify-content:space-between;width:100%;margin:14px 0;padding:17px 15px;background:#151515;color:#dfc08b;font-weight:700;font-size:14px;text-align:left}.v45-disclaimer{font-size:12px!important}.v45-card{border:1px solid #e8e2d7;padding:17px;margin:15px 0;background:#fff}.v45-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;font-weight:800;letter-spacing:.07em;color:#937544;margin-bottom:12px}.v45-badge{background:#f5f0e6;padding:5px 7px;color:#81683e;letter-spacing:0}.v45-card h3{margin-bottom:8px!important}.v45-form{display:grid;gap:12px;margin-top:15px}.v45-form label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#444}.v45-form textarea{display:block;width:100%;min-height:100px;resize:vertical;padding:12px;border:1px solid #d9d4ca;background:#fff;color:#111;font:inherit;font-size:14px}.v45-primary{padding:13px 16px;background:#111;color:#e2c58e;font-weight:700;font-size:13px}.v45-answer,.v45-empty{padding:15px;background:#f8f5ed;border-left:3px solid #b99a5d}.v45-answer p,.v45-empty p{margin:6px 0 0!important}
@media(min-width:801px){.sheet{top:0!important;bottom:0!important;left:auto!important;right:0!important;width:min(530px,100vw)!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.sheet-backdrop{bottom:0!important}.mega{bottom:0!important;padding:30px 45px!important}.mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dock{z-index:130!important}}

/* V4.6: schede organizzative accessibili e contenuto non sovrapposto */
#sheetContent{padding-top:24px!important;overflow-y:auto!important;overflow-x:hidden!important;scroll-padding-top:18px!important} .sheet-heading{flex-shrink:0!important;position:relative!important;z-index:3!important;background:#fff!important} .org-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e4ded2;margin:20px 0}.org-summary>div{padding:14px 8px;border-right:1px solid #e4ded2;text-align:center}.org-summary>div:last-child{border-right:0}.org-summary strong{display:block;font-size:25px!important;color:#161616}.org-summary small{font-size:10px;line-height:1.3;color:#776d5d}.org-section{display:flex;justify-content:space-between;align-items:center;margin:28px 0 12px!important;padding-bottom:12px;border-bottom:1px solid #e6e1d8}.org-section span{font-size:12px;color:#aa8b54}.org-group{margin:12px 0 24px}.org-group h4{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#9b7b45;margin:0 0 8px}.org-position{border-bottom:1px solid #e6e1d8;background:#fff}.org-position summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:16px 2px;min-height:64px}.org-position summary::-webkit-details-marker{display:none}.org-position summary span{min-width:0}.org-position summary strong{display:block;font-size:14px!important;line-height:1.3;overflow-wrap:anywhere}.org-position summary small{display:block;font-size:11px;line-height:1.5;color:#786f64;margin-top:4px}.org-position summary b{font-size:18px;color:#a38348}.org-position[open]{padding-bottom:18px}.org-position>p{font-size:13px!important;margin:9px 0!important}.org-card{padding:17px;border:1px solid #dfd5c2;margin:12px 0;background:#fcfaf6}.org-tag{font-size:10px;letter-spacing:.12em;font-weight:800;color:#977743}.org-card h3{margin:10px 0!important}.org-form{display:grid;gap:12px;margin-top:15px}.org-form label{font-size:12px;font-weight:700;display:grid;gap:7px}.org-form textarea{width:100%;min-height:85px;resize:vertical;border:1px solid #cfc7b8;padding:12px;font:inherit;font-size:14px;border-radius:0;background:white;color:#111}.org-form button{border:0;background:#111;color:#f0d29b;padding:13px 12px;font-weight:700;min-height:46px;border-radius:0}.org-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.org-actions button:last-child{background:#f2eee6;color:#111}.org-empty{padding:15px;background:#f7f4ed}.org-footnote{padding:16px;border-left:3px solid #c2a36c;background:#f8f6f0;margin-top:26px!important}.dock{border-radius:0!important}

/* V4.7 — visual system: access + sheets */
:root{--v47-black:#141414;--v47-gold:#b18a4a;--v47-gold-soft:#e8d8b8;--v47-ivory:#faf9f6;--v47-stroke:#e7e4dd}
.auth-v47{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important;min-height:100dvh!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;color:#171717!important;overflow:hidden}.auth-v47 .auth-visual{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh;padding:clamp(28px,4vw,64px);background:radial-gradient(circle at 78% 38%,#363027 0%,transparent 42%),linear-gradient(142deg,#171717 12%,#26231e 68%,#151515 100%);color:white;overflow:hidden}.auth-visual:after{content:"";position:absolute;right:-160px;top:13%;width:520px;height:520px;border:1px solid #b18a4a33;transform:rotate(45deg);box-shadow:0 0 0 85px #b18a4a08,0 0 0 170px #b18a4a06;pointer-events:none}.auth-visual-top{display:flex;align-items:center;gap:18px;position:relative;z-index:1}.auth-monogram{display:inline-flex;align-items:center;font:800 28px Outfit,sans-serif;letter-spacing:-.13em;white-space:nowrap}.auth-monogram-dot,.auth-title-dot{color:#bd985b}.auth-visual-caption{font-size:10px;letter-spacing:.18em;line-height:1.65;color:#d9c8a9;font-weight:700}.auth-visual-center{position:relative;z-index:1;max-width:650px}.auth-kicker{font-size:10px;font-weight:800;letter-spacing:.27em;color:#c5a26a}.auth-visual-center h2{font-size:clamp(40px,5vw,76px);line-height:1.07;letter-spacing:-.055em;margin:23px 0!important;color:#fff}.auth-visual-center h2 em{font-style:normal;color:#c9a76e}.auth-visual-center p{max-width:370px;color:#c2bcb0;font-size:15px;line-height:1.75}.auth-visual-bottom{display:flex;justify-content:space-between;gap:15px;font-size:10px;letter-spacing:.16em;color:#b3a48c}.auth-v47 .auth-login{display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:100dvh;padding:clamp(26px,4vw,65px)}.auth-mobile-brand{display:none}.auth-login-inner{width:min(100%,430px);margin:auto;min-width:0}.auth-label{display:flex;align-items:center;gap:12px;font-size:10px;font-weight:800;letter-spacing:.21em;color:#947441}.auth-label-line{width:23px;height:1px;background:#ae8748}.auth-login-inner h1{font-size:clamp(42px,4.8vw,65px)!important;line-height:1.1;margin:20px 0 12px!important;letter-spacing:-.06em;color:#161616}.auth-lead{color:#777!important;font-size:15px!important;line-height:1.65;margin-bottom:35px!important}.auth-form{display:flex!important;flex-direction:column!important;gap:0!important}.auth-form>label{font-size:10px!important;letter-spacing:.15em!important;font-weight:800!important;color:#444!important;margin:0 0 10px!important;display:block!important}.auth-form>input,.auth-password-wrap input{width:100%;height:54px;border:1px solid #d9d7d2!important;border-radius:0!important;background:#fbfaf8!important;color:#161616!important;padding:0 15px!important;font-size:15px!important;outline:none;box-shadow:none!important}.auth-form>input{margin-bottom:23px!important}.auth-form input:focus{border-color:#b18a4a!important;box-shadow:0 0 0 3px #b18a4a1c!important}.auth-password-wrap{position:relative;margin-bottom:27px}.auth-password-wrap input{padding-right:85px!important}.auth-toggle{position:absolute;right:8px;top:8px;height:38px;min-width:66px;padding:0 9px;background:transparent;color:#86683a;font-size:12px;font-weight:800}.auth-submit{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 20px!important;background:#151515!important;color:#f3dfb9!important;border-radius:0!important;font-size:14px!important;font-weight:800!important;letter-spacing:.01em;transition:background .15s,transform .15s}.auth-submit:hover{background:#373027!important}.auth-submit:active{transform:translateY(1px)}.auth-submit span{font-size:22px}.auth-help{display:flex;align-items:center;gap:8px;margin-top:25px;color:#8c8983;font-size:11px}.auth-secure-dot{width:7px;height:7px;border-radius:50%;background:#688c70}.auth-login-footer{display:flex;justify-content:space-between;gap:12px;color:#aaa39a;font-size:9px;letter-spacing:.11em}.auth-error{padding:13px 15px;margin:0 0 20px;border-left:3px solid #b94e46;background:#fff2f0;color:#8d2924;font-size:13px;line-height:1.5}
/* Unified contextual panels — fixed header, independently scrolling content, dock always visible */
.sheet:not([hidden]){display:flex!important;flex-direction:column!important;background:#fff!important;color:#191919!important;border-radius:0!important;box-shadow:-18px 0 70px #0002!important;overflow:hidden!important;min-width:0!important}.sheet .sheet-grip{flex:0 0 auto!important;background:#bda47d!important;width:36px!important;height:4px!important;margin:9px auto 2px!important;border-radius:99px!important}.sheet .sheet-heading{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:57px!important;padding:8px 20px 12px!important;border-bottom:1px solid var(--v47-stroke)!important;background:#fff!important;box-shadow:none!important}.sheet .sheet-heading .overline{color:#967541!important;letter-spacing:.16em!important;font-size:10px!important}.sheet .sheet-heading .icon-button{width:38px!important;height:38px!important;min-width:38px!important;background:#f4f2ee!important;border:1px solid #e8e4dc!important;border-radius:0!important;color:#272727!important;font-size:17px!important}.sheet #sheetContent{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:24px 22px max(30px,env(safe-area-inset-bottom))!important;scrollbar-color:#c9b38e transparent!important}.sheet #sheetContent>*{max-width:100%!important}.sheet #sheetContent h2{font-size:clamp(23px,5.5vw,30px)!important;line-height:1.15!important;letter-spacing:-.045em!important;color:#161616!important;margin:0 0 12px!important;overflow-wrap:anywhere}.sheet #sheetContent h3{font-size:17px!important;line-height:1.25!important;color:#242424!important}.sheet #sheetContent p,.sheet #sheetContent li{line-height:1.55!important;overflow-wrap:anywhere}.sheet #sheetContent button,.sheet #sheetContent a,.sheet #sheetContent input,.sheet #sheetContent select,.sheet #sheetContent textarea{max-width:100%!important}.sheet #sheetContent button,.sheet #sheetContent a{touch-action:manipulation}.sheet #sheetContent button:focus-visible,.sheet #sheetContent a:focus-visible{outline:2px solid #b18a4a!important;outline-offset:2px}.sheet #sheetContent input,.sheet #sheetContent select,.sheet #sheetContent textarea{border-radius:0!important;min-height:43px!important}.sheet #sheetContent textarea{min-height:90px!important}.sheet #sheetContent .primary,.sheet #sheetContent .v45-primary,.sheet #sheetContent .org-form button{min-height:46px!important;border-radius:0!important}.sheet #sheetContent .v45-card,.sheet #sheetContent .org-card,.sheet #sheetContent .v45-tile{border-color:#e6e0d5!important;box-shadow:0 3px 12px #201a0d08!important}.sheet #sheetContent .v45-tile:hover,.sheet #sheetContent .org-position summary:hover{background:#f7f3eb!important}.sheet #sheetContent .org-summary{margin:16px 0 22px!important}.sheet #sheetContent .org-position summary{min-height:64px!important}.sheet #sheetContent .org-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sheet #sheetContent .org-actions button{overflow-wrap:anywhere!important;white-space:normal!important}.sheet #sheetContent .v45-grid{gap:10px!important}.sheet #sheetContent .v45-tile{min-height:130px!important}.sheet #sheetContent .form,.sheet #sheetContent form{min-width:0!important}.sheet #sheetContent table{display:block;max-width:100%;overflow-x:auto}.sheet #sheetContent .tabs{max-width:100%;overflow-x:auto;scrollbar-width:thin}.sheet-backdrop:not([hidden]){background:#0008!important}
@media(max-width:800px){.auth-v47{display:block!important;overflow:auto!important}.auth-v47 .auth-visual{display:none!important}.auth-v47 .auth-login{min-height:100dvh!important;padding:26px 24px max(22px,env(safe-area-inset-bottom))!important}.auth-mobile-brand{display:flex;align-items:center;gap:13px}.auth-mobile-brand .auth-monogram{font-size:25px}.auth-mobile-brand strong{font-size:10px;letter-spacing:.11em;line-height:1.5}.auth-login-inner{padding:48px 0 55px}.auth-login-inner h1{font-size:47px!important}.auth-login-footer{font-size:8px}.sheet:not([hidden]){left:0!important;right:0!important;top:auto!important;bottom:calc(62px + env(safe-area-inset-bottom))!important;width:100%!important;height:min(78dvh,750px)!important;max-height:calc(100dvh - 75px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;border-top:1px solid #d7c6a7!important}.sheet #sheetContent{padding:20px 17px 30px!important}.sheet .sheet-heading{padding:7px 17px 11px!important}.sheet #sheetContent .v45-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sheet #sheetContent .v45-tile{padding:13px 11px!important;min-height:140px!important}.sheet-backdrop:not([hidden]){bottom:calc(62px + env(safe-area-inset-bottom))!important}.dock{z-index:140!important}}
@media(max-width:360px){.sheet #sheetContent .v45-grid{grid-template-columns:1fr!important}.sheet #sheetContent .v45-tile{min-height:95px!important}.auth-login-inner h1{font-size:39px!important}}
@media(prefers-reduced-motion:reduce){.auth-submit{transition:none!important}}

/* V4.8 - porte di navigazione nel campus */
.campus-door-help{position:absolute;z-index:3;top:18px;right:18px;background:#111;color:#ead09a;padding:11px 14px;font-size:12px;font-weight:700;max-width:190px;border:1px solid #b99450;box-shadow:0 6px 20px #0002;pointer-events:none}
@media(max-width:720px){.campus-door-help{top:12px;right:12px;font-size:10px;max-width:145px;padding:8px 10px}}

/* V4.9: sheet without decorative header, clean grab handle */
.sheet:not([hidden]){background:#fff!important}
.sheet .sheet-heading{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important}
.sheet .sheet-grip{display:block!important;flex:0 0 26px!important;height:26px!important;min-height:26px!important;width:100%!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;position:relative!important;box-shadow:none!important;cursor:grab!important}
.sheet .sheet-grip:before{content:""!important;display:block!important;position:absolute!important;left:50%!important;top:10px!important;transform:translateX(-50%)!important;width:44px!important;height:5px!important;border-radius:20px!important;background:#c8b38f!important;box-shadow:none!important}
.sheet #sheetContent{padding-top:9px!important}
.sheet #sheetContent>.sheet-intro:first-child{padding-top:5px!important}
.sheet #sheetContent h2:first-child{margin-top:3px!important}
.dock button>span:first-child{display:flex!important;align-items:center;justify-content:center;height:28px;margin-bottom:5px}
.ui-icon{display:inline-block;width:22px;height:22px;vertical-align:middle;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dock .ui-icon{width:25px;height:25px;stroke-width:1.9}
.menu-trigger .ui-icon,.mega-head .ui-icon{width:24px;height:24px}
.v45-tile .ui-icon,.v45-card .ui-icon{width:27px;height:27px;color:#a38550}
@media(max-width:800px){.sheet:not([hidden]){border-top:1px solid #e6dfd3!important}.sheet .sheet-grip{height:26px!important;min-height:26px!important;flex-basis:26px!important}.sheet #sheetContent{padding-top:9px!important}}

/* V5.0 enterprise icon system */
.mc-icon{display:inline-block;flex:none;width:1em;height:1em;vertical-align:-.125em;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
[data-mc-icon]{display:inline-flex;align-items:center;justify-content:center;flex:none;font-size:22px;line-height:1}
.dock .dock-icon{font-size:27px!important;min-width:30px;height:30px}
.dock .mc-icon{width:27px;height:27px;stroke-width:1.85}
.mega-grid a,.mega-grid button{display:flex;align-items:center;gap:13px;text-align:left}
.mega-grid [data-mc-icon]{width:24px;min-width:24px;font-size:22px;color:#987743}
.mega-grid .mc-icon{width:22px;height:22px}
.mega-grid .mega-section a>span:last-child,.mega-grid .mega-section button>span:last-child{min-width:0}
.mega-grid .mc-company-icon{color:var(--company-accent,#aa8b52)}
#menuButton [data-mc-icon]{font-size:27px}
#closeMenu [data-mc-icon]{font-size:24px}
.v45-tile-icon .mc-icon{width:31px;height:31px;stroke-width:1.7}
.v45-arrow .mc-icon{width:16px;height:16px}
#sheetContent .v45-wide .mc-icon{width:20px;height:20px}
#sheetContent .mc-icon{max-width:100%}
.mc-company-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px;color:#9a7a46}
.mc-company-icon .mc-icon{width:22px;height:22px}
.mega-grid a:focus-visible,.mega-grid button:focus-visible,.dock button:focus-visible{outline:2px solid #c5a15f;outline-offset:-3px}
@media(max-width:720px){.dock .dock-icon{font-size:27px!important}.mega-grid a,.mega-grid button{gap:12px}}

/* V5.1: menu structural fix — header never shares scroll container */
.mega:not([hidden]){display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;inset:0 0 var(--dock-height,80px) 0!important;height:auto!important;min-height:0!important;background:#faf9f6!important}
.mega .mega-head{position:relative!important;top:auto!important;left:auto!important;right:auto!important;z-index:2!important;display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:22px max(20px,env(safe-area-inset-left)) 18px!important;background:#faf9f6!important;border-bottom:1px solid #e6dfd4!important;box-shadow:none!important;transform:none!important}
.mega .mega-head-copy{min-width:0!important;display:flex!important;flex-direction:column!important;gap:8px!important}
.mega .mega-head-copy .overline{font-size:11px!important;line-height:1.5!important;letter-spacing:.16em!important;color:#94733f!important}
.mega .mega-head h2{font-size:clamp(26px,6vw,34px)!important;line-height:1.14!important;margin:0!important;padding:0!important;font-weight:750!important;color:#181818!important}
.mega .mega-head .icon-button{flex:0 0 44px!important;width:44px!important;height:44px!important;align-self:center!important}
.mega .mega-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:20px 20px 34px!important;scrollbar-gutter:stable}
.mega .mega-grid{margin:0!important;padding:0!important;min-height:0!important}
.mega .mega-section{min-width:0!important}
.mega .mega-section a,.mega .mega-section button{min-height:52px!important}
@media(min-width:801px){.mega:not([hidden]){bottom:0!important}.mega .mega-head{padding:28px 42px 22px!important}.mega .mega-scroll{padding:24px 42px 42px!important}}
@media(max-width:360px){.mega .mega-head{padding:16px 14px!important}.mega .mega-scroll{padding:15px 14px 24px!important}}
@media(prefers-reduced-motion:reduce){.mega,.sheet{transition:none!important;animation:none!important}}

html.mc-menu-open,html.mc-menu-open body{overflow:hidden!important}
