/* Shared business portal presentation. No authentication or application behavior. */
body.resolved-portal-theme{background:linear-gradient(90deg,#020407c9,#02040780),url('/portal-command-mountains-green.png') center/cover fixed!important;min-height:100dvh;color:#f4f7fb;color-scheme:dark;font-family:Arial,Helvetica,sans-serif}
.resolved-portal-theme :is(main,.shell){max-width:1440px}
.resolved-portal-theme>main>header,.resolved-portal-theme .shell>header{color:#fff;background:#090e17d9;border:1px solid #76323d;border-radius:14px;padding:15px;box-shadow:0 0 22px #0008}
.resolved-portal-theme header :is(h1,h2,strong,span){color:#f6f8fc!important}
.resolved-portal-theme :is(.card,.panel,.auth-card,.login-card,.signup-card,.account-card,.portal-card,#auth-card,#auth){background:linear-gradient(145deg,#171e28f5,#080d15f5)!important;color:#f4f7fb!important;border:1px solid #81333f!important;border-radius:16px;box-shadow:0 0 25px #0007}
.resolved-portal-theme :is(#auth-card,#auth,.auth-card,.login-card,.signup-card){border-color:#ef354b!important;box-shadow:0 0 32px #ba102e35,inset 0 1px 0 #ffffff26;max-width:520px;margin:24px auto;padding:28px}
.resolved-portal-theme :is(.card,.panel,.auth-card,.login-card,.signup-card,#auth-card,#auth) :is(h1,h2,h3,h4,p,label,legend,strong,small,dt,dd){color:#f1f5fb!important}
.resolved-portal-theme :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:#0b1320!important;color:#fff!important;border:1px solid #657184!important;min-height:44px;border-radius:9px;box-sizing:border-box;max-width:100%}
.resolved-portal-theme input::placeholder,.resolved-portal-theme textarea::placeholder{color:#b0bfd2!important;opacity:1}
.resolved-portal-theme :is(.primary,button[type=submit]){background:linear-gradient(120deg,#9c0c25,#d11b38)!important;color:#fff!important;border:1px solid #f34d68!important;min-height:44px;border-radius:9px}
.resolved-portal-theme :is(.secondary,.tabs button){background:#172234!important;color:#f2f5fa!important;border:1px solid #6d4051!important;min-height:42px;border-radius:8px}
.resolved-portal-theme :is(.tabs button.active,.tabs button[aria-selected=true]){background:#810d26!important;border-color:#f04b67!important;color:#fff!important}
.resolved-portal-theme :is(a,.eyebrow){color:#ff91a6}
.resolved-portal-theme :is(input,select,textarea,button,a):focus-visible{outline:3px solid #7bd9ff!important;outline-offset:3px}
.resolved-portal-theme :is(table,.task,.job,.request-row){color:#f1f5fb}
.resolved-portal-theme [hidden]{display:none!important}
@media(max-width:700px){body.resolved-portal-theme{background-attachment:scroll;background-position:65% top}.resolved-portal-theme :is(#auth-card,#auth,.auth-card,.login-card,.signup-card){padding:22px 18px;margin:18px auto}.resolved-portal-theme :is(input,select,textarea){font-size:max(16px,1rem)!important}}
@media print{body.resolved-portal-theme,.resolved-portal-theme :is(.card,.panel){background:#fff!important;color:#000!important;box-shadow:none!important}.resolved-portal-theme :is(.card,.panel) *{color:#000!important}}

/* Shared signed-in business portal shell; existing controls retain their IDs/listeners. */
.resolved-shared-sidebar{position:fixed;inset:0 auto 0 0;width:230px;z-index:1000;box-sizing:border-box;padding:22px 16px;background:linear-gradient(165deg,#20040c,#070a10 42%,#12050a);border-right:1px solid #b52b42;box-shadow:4px 0 24px #0008;overflow:auto;color:#f4f7fb}
.resolved-shared-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff!important;font-size:17px;letter-spacing:.05em}.resolved-shared-brand img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:9px}.resolved-shared-name{color:#ff8ca2;font-size:13px;margin:20px 0}.resolved-shared-note{color:#b4bfd0;font-size:12px;margin-top:25px;line-height:1.6}
.resolved-shared-nav-item{display:block;width:100%;text-align:left;background:#101722;color:#f3f6fc;border:1px solid #54303f;border-radius:8px;padding:12px;margin:8px 0;font:600 13px/1.4 Arial,sans-serif;cursor:pointer}.resolved-shared-nav-item:hover,.resolved-shared-nav-item[aria-current]{background:linear-gradient(100deg,#760b22,#ac1231);border-color:#ee5875;color:#fff}
body.resolved-shared-workspace>main{margin-left:230px!important;width:calc(100% - 230px)!important;max-width:none!important;padding:20px 28px 45px!important;box-sizing:border-box;min-width:0;background:#05090fd9;border:0}
.resolved-shared-header{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:72px;margin:-20px -28px 24px;padding:14px 26px;border-bottom:1px solid #a52b42;background:linear-gradient(90deg,#070a10f0,#070a1080),url('/portal-command-mountains-green.png') center/cover;color:#fff;box-sizing:border-box}.resolved-shared-header strong{font-size:20px;color:#fff!important}.resolved-shared-clock{color:#ff506b;font:700 20px/1.3 Consolas,monospace;font-variant-numeric:tabular-nums;white-space:nowrap}
.resolved-shared-menu{display:none;background:#a40f2a;color:white;border:1px solid #ec5770;border-radius:8px;font-size:21px;min-width:44px;min-height:44px}
.resolved-shared-workspace section{scroll-margin-top:24px}.resolved-shared-workspace :is(.card,.panel){border-radius:16px!important}.resolved-shared-workspace :is(.job-card,.property-card,.person,.schedule-row,.task-card){background:#131c2b!important;color:#f3f7fb!important;border-color:#553345!important}
body.resolved-shared-auth .resolved-shared-sidebar,body.resolved-shared-auth .resolved-shared-header{display:none!important}body.resolved-shared-auth>main{display:block!important;width:min(620px,calc(100% - 32px))!important;max-width:620px!important;margin:0 auto!important;padding:28px 0!important;background:transparent!important;border:0!important}
.resolved-shared-auth main>header{display:flex;justify-content:center;flex-wrap:wrap;text-align:center;border:0!important;background:transparent!important;box-shadow:none!important;margin:0 auto 20px;padding:0}.resolved-shared-auth main>header img{width:140px!important;height:140px!important;max-height:140px;object-fit:contain}.resolved-shared-auth :is(#auth-card,#auth,.auth-card,.login-card,.signin-card){width:100%!important;max-width:540px!important;margin:20px auto!important;box-sizing:border-box}
@media(min-width:1250px){.resolved-shared-workspace #profile-card{max-width:none}.resolved-shared-workspace #portal>.card{max-width:none}}
@media(max-width:800px){.resolved-shared-sidebar{transform:translateX(-100%);width:min(300px,86vw);transition:transform .15s}.resolved-shared-menu-open .resolved-shared-sidebar{transform:translateX(0);top:75px;width:100%;bottom:0}.resolved-shared-menu{display:block}body.resolved-shared-workspace>main{margin-left:0!important;width:100%!important;padding:18px 14px 40px!important}.resolved-shared-header{margin:-18px -14px 20px;padding:12px 14px;min-height:75px;position:sticky;top:0;z-index:1001}.resolved-shared-header strong{font-size:15px}.resolved-shared-clock{font-size:13px}.resolved-shared-auth main>header img{width:110px!important;height:110px!important}}
@media(prefers-reduced-motion:reduce){.resolved-shared-sidebar{transition:none}}
@media print{.resolved-shared-sidebar,.resolved-shared-header{display:none!important}body.resolved-shared-workspace>main{width:100%!important;margin:0!important;padding:0!important;background:#fff!important}}

/* Accessible controls inspired by the owner's emailed mountain/aurora reference. */
body :is(.owner-mobile-menu,.resolved-shared-sidebar){--nav-art:url('/portal-command-mountains-green.png')}
body.owner-command-theme .sidebar,body .resolved-shared-sidebar{background:linear-gradient(#020a0bd9,#020709ed 50%,#020809ab),var(--nav-art,url('/portal-command-mountains-green.png')) center/cover!important;border-right:1px solid #32bfa0!important}
body .resolved-shared-brand{flex-direction:column;text-align:center;gap:8px;padding:10px 0 16px}.resolved-shared-brand img{width:145px;height:100px;background:transparent!important;border:0!important;border-radius:0;filter:drop-shadow(0 2px 6px #000)}
body .owner-mobile-menu[open]{background:linear-gradient(#0002,#0007 26%,#0008 85%,#0002),var(--nav-art) center/cover!important;color:#fff;isolation:isolate}
body .owner-mobile-menu-heading{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:205px;padding:30px 20px 14px!important;background:linear-gradient(#0000,#0001 65%,#0009),var(--nav-art) center 38%/cover!important;border:0!important;flex-shrink:0}
body .owner-menu-brand{display:flex;flex-direction:column;gap:4px;text-align:center;width:100%}.owner-mobile-menu .owner-menu-brand img{width:220px!important;height:125px!important;object-fit:contain;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.owner-mobile-menu-heading .owner-menu-brand p{display:none}.owner-mobile-menu-heading .owner-menu-brand h2{font-size:18px!important;max-width:none;letter-spacing:.03em;text-shadow:0 2px 4px #000}
body .owner-mobile-menu-heading>button,body .resolved-shared-close{position:absolute;left:14px;top:max(14px,env(safe-area-inset-top));display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0!important;background:linear-gradient(#420006,#120203)!important;color:#fff!important;border:1px solid #ff525d!important;border-radius:9px;box-shadow:0 0 10px #f22a42,inset 0 0 7px #ef1c38;font:400 30px/1 Arial;cursor:pointer}
body .owner-mobile-menu-content{height:auto!important;min-height:0;overflow:auto;overscroll-behavior:contain;flex:1;padding-bottom:max(30px,env(safe-area-inset-bottom));scrollbar-color:#45e5a4 #050d0c}
body .owner-mobile-menu #nav{display:grid!important;grid-template-columns:minmax(0,1fr)!important;padding:8px 12px 24px!important;gap:9px!important;overflow:visible!important}
body :is(#nav .nav-item,.resolved-shared-nav-item){--neon:#27caff;position:relative;isolation:isolate;box-sizing:border-box!important;display:flex;align-items:center!important;flex-direction:row!important;gap:12px!important;min-height:48px;max-width:100%;width:100%;margin:5px 0;padding:11px 30px 11px 14px!important;text-align:left!important;text-decoration:none;color:#fff!important;background:linear-gradient(170deg,color-mix(in srgb,var(--neon) 25%,#020305),#04070c 45%,color-mix(in srgb,var(--neon) 16%,#010306))!important;border:1px solid var(--neon)!important;border-radius:2px 13px 2px 13px!important;box-shadow:inset 0 -2px 7px color-mix(in srgb,var(--neon) 45%,transparent),inset 0 1px 0 #fff9,0 0 6px color-mix(in srgb,var(--neon) 45%,transparent)!important;font:700 13px/1.3 Arial,sans-serif!important;white-space:normal!important;text-shadow:0 2px 3px #000}
body :is(#nav .nav-item,.resolved-shared-nav-item)::after{content:'›';position:absolute;right:11px;top:50%;transform:translateY(-53%);font:32px/1 Arial;color:white;pointer-events:none}
body :is(#nav .nav-item,.resolved-shared-nav-item)::before{content:'';position:absolute;right:38px;top:8px;bottom:8px;width:12px;transform:skew(-35deg);border-left:3px solid var(--neon);border-right:2px solid var(--neon);opacity:.65;z-index:-1;pointer-events:none}
body :is(#nav .nav-item,.resolved-shared-nav-item):nth-of-type(8n+1){--neon:#ff273c}body :is(#nav .nav-item,.resolved-shared-nav-item):nth-of-type(8n+2){--neon:#2ecbff}body :is(#nav .nav-item,.resolved-shared-nav-item):nth-of-type(8n+3){--neon:#ff871a}body :is(#nav .nav-item,.resolved-shared-nav-item):nth-of-type(8n+4){--neon:#52ff32}body :is(#nav .nav-item,.resolved-shared-nav-item):nth-of-type(8n+5){--neon:#ffcd32}body :is(#nav .nav-item,.resolved-shared-nav-item):nth-of-type(8n+6){--neon:#da40ff}body :is(#nav .nav-item,.resolved-shared-nav-item):nth-of-type(8n+7){--neon:#25eddf}body :is(#nav .nav-item,.resolved-shared-nav-item):nth-of-type(8n){--neon:#becfd8}
body :is(#nav .nav-item,.resolved-shared-nav-item) span{color:#fff!important;font:inherit!important;min-width:0;overflow-wrap:break-word}
body :is(#nav .nav-item.active,.resolved-shared-nav-item[aria-current]){outline:2px solid #fff;outline-offset:2px}body :is(#nav .nav-item,.resolved-shared-nav-item):hover{filter:brightness(1.22)}body :is(#nav .nav-item,.resolved-shared-nav-item):focus-visible{outline:3px solid #fff!important;outline-offset:3px}
body .command-more-tools>summary{color:#fff;background:#06110eee;border:1px solid #749e91;border-radius:5px;margin:12px 0;padding:12px!important;font-weight:700}.command-more-tools{min-width:0}
body .owner-mobile-menu #nav .nav-item{min-height:55px!important;font-size:clamp(16px,4.5vw,21px)!important;padding-left:18px!important;padding-right:50px!important;margin:0!important;gap:14px!important}
.resolved-shared-close{display:none!important}
body :is(#nav .nav-item,.resolved-shared-nav-item)[hidden]{display:none!important}
body.resolved-shared-menu-open :is(#nav .nav-item,.resolved-shared-nav-item){font-size:18px!important}
@media(max-width:800px){body.resolved-shared-menu-open{overflow:hidden}body.resolved-shared-menu-open .resolved-shared-sidebar{inset:0!important;width:100%!important;height:100dvh!important;z-index:1005!important;transform:none;display:block;padding:65px 14px 36px;background:linear-gradient(#0003,#0007 30%,#0009 85%),var(--nav-art) center/cover!important}body.resolved-shared-menu-open .resolved-shared-close{display:grid!important}body.resolved-shared-menu-open .resolved-shared-brand img{width:210px;height:120px}body.resolved-shared-menu-open .resolved-shared-name{text-align:center;margin:4px 0 20px;color:#fff;font-size:16px;font-weight:bold}.resolved-shared-menu-open .resolved-shared-nav-item{min-height:55px;font-size:18px!important;padding-right:50px!important;margin:10px 0!important}.resolved-shared-menu-open .resolved-shared-note{text-align:center;color:#e5f3ed}}
@media(max-height:650px){body .owner-mobile-menu-heading{min-height:145px}.owner-mobile-menu .owner-menu-brand img{height:90px!important}}
@media(prefers-reduced-motion:reduce){body :is(#nav .nav-item,.resolved-shared-nav-item){transition:none!important}}
@media print{body :is(.sidebar,.resolved-shared-sidebar,.owner-mobile-menu){display:none!important}}
