.portal-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.portal-sidebar{position:sticky;top:0;height:100dvh;overflow-y:auto;background:var(--dt-blue);padding:32px 18px 24px;color:white;display:flex;flex-direction:column}.sidebar-top{display:flex;align-items:center;gap:12px;margin:0 6px 32px}.sidebar-logo img{display:block;max-width:100%;height:auto;filter:brightness(0) invert(1)}.portal-sidebar nav{display:flex;flex-direction:column;gap:4px;margin:0}.portal-sidebar nav>small{font-size:10px;letter-spacing:.12em;color:#d2e5ff;padding:16px 14px 8px}.portal-sidebar .portal-link{display:flex;align-items:center;gap:12px;min-height:46px;padding:10px 14px;color:white;text-decoration:none;font-size:14px;line-height:1.4}.portal-link>span:first-child{width:20px;flex-shrink:0;text-align:center;font-size:19px}.portal-link small{display:block;font-size:10px;color:#d2e5ff;font-weight:400}.portal-sidebar a.portal-link:hover,.portal-sidebar a[aria-current=page]{background:#ffffff22;box-shadow:inset 3px 0 0 white}.portal-sidebar .pending{color:#d2e5ff}.sidebar-support{margin-top:auto;padding:32px 14px 0;font-size:13px}.sidebar-support a{display:block;margin-top:8px;color:white}.portal-body{min-width:0}.deltron-brand.portal-ready header{min-height:82px;padding:14px 32px;gap:20px}.portal-ready header .portal-logo{display:none}.deltron-brand.portal-ready header .portal-title{font-size:14px;max-width:none;flex:1}.deltron-brand.portal-ready .preview-notice{padding:10px 32px}.deltron-brand.portal-ready main{padding:36px 32px;min-height:calc(100vh - 190px)}.portal-ready .wide{max-width:1320px}.portal-ready :is(#portal-menu-toggle,#portal-menu-close){display:none}.portal-ready header nav{width:auto;margin-left:auto}.portal-ready .portal-sidebar :is(button,a):focus-visible{outline:2px solid white;outline-offset:2px}
.portal-sidebar .portal-link{border-radius:var(--dt-radius)}
.deltron-brand.portal-ready #portal-menu-toggle{background:var(--dt-blue);color:white}
.deltron-brand header .portal-logout{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--dt-blue);background:#fff;color:var(--dt-blue);font-size:14px;font-weight:500;line-height:1.4}
.deltron-brand .portal-logout-message{flex-basis:100%;margin:0;color:#8b3636;font-size:14px}
.portal-documentation-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:0;border-radius:var(--dt-radius)}
.portal-documentation-row:is(:hover,:has(a[aria-current=page])){background:#ffffff22}
.portal-documentation-row:has(a[aria-current=page]){box-shadow:inset 3px 0 0 #fff}
.portal-sidebar .portal-documentation-row .portal-link{gap:10px;padding-inline:10px}
.portal-sidebar .portal-documentation-row .portal-link:is(:hover,[aria-current=page]){background:transparent;box-shadow:none}
.deltron-brand .portal-sidebar #portal-brand-toggle{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;box-shadow:none;transform:none}
.deltron-brand .portal-sidebar #portal-brand-toggle:hover{background:transparent}
.portal-documentation-row:has(:focus-visible){outline:2px solid #fff;outline-offset:2px}
.portal-ready .portal-sidebar .portal-documentation-row :is(button,a):focus-visible{outline:none}
.portal-brand-chevron{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);transition:transform 160ms ease}
[aria-expanded=true]>.portal-brand-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.portal-brand-links{display:grid;gap:6px;margin:4px 8px 12px;padding:0}
.portal-brand-links[hidden]{display:none}
.deltron-brand .portal-sidebar .portal-brand-link{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:64px;padding:8px;border:2px solid transparent;border-radius:var(--dt-radius);background:var(--brand-accent,var(--dt-gray));color:#fff;font-size:13px;line-height:1.4;text-decoration:none}
.portal-brand-link[data-material-brand="Mitsubishi Electric"]{--brand-accent:var(--dt-me)}
.portal-brand-link[data-material-brand="Gree"]{--brand-accent:var(--dt-gree)}
.portal-brand-link[data-material-brand="Azuri"]{--brand-accent:var(--dt-azuri)}
.portal-brand-logo{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:42px;padding:5px 8px;color:#fff}
.portal-brand-logo img{display:block;width:100%;height:32px;object-fit:contain;filter:brightness(0) invert(1)}
.portal-brand-logo [hidden]{display:none}
.portal-brand-fallback{text-align:center;font-weight:500}
.portal-brand-state{display:grid;place-items:center;color:var(--dt-blue);width:24px;height:24px;flex-shrink:0;border-radius:50%;font-weight:700}
.deltron-brand .portal-sidebar .portal-brand-link[aria-current=true]{border-color:#fff}
.portal-brand-link[aria-current=true] .portal-brand-state{background:#fff}
.deltron-brand .portal-sidebar .portal-brand-link:hover{background:var(--brand-accent,var(--dt-gray));box-shadow:inset 0 0 0 1px #ffffffb3}
.deltron-brand .portal-sidebar .portal-brand-links a:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media(forced-colors:active){.deltron-brand .portal-sidebar .portal-brand-link{border-color:ButtonText;color:CanvasText}.deltron-brand .portal-sidebar .portal-brand-link[aria-current=true]{border-color:Highlight;background:Highlight;color:HighlightText}.portal-brand-logo{forced-color-adjust:none;background:#fff;color:#000}.portal-brand-logo img{filter:brightness(0)}.portal-brand-link[aria-current=true] .portal-brand-state{background:Canvas;color:CanvasText}}
@media(prefers-reduced-motion:reduce){.portal-brand-chevron{transition:none}}
@media(max-width:1000px){.portal-layout{grid-template-columns:220px minmax(0,1fr)}.portal-sidebar{padding-inline:12px}.deltron-brand.portal-ready header{flex-wrap:wrap}.portal-ready header nav{font-size:13px;width:auto;margin-left:auto}.deltron-brand.portal-ready main{padding:28px 24px}}
@media(max-width:760px){.portal-layout{display:block}.portal-sidebar{display:none;position:fixed;z-index:10;inset:0 auto 0 0;width:min(300px,100vw);height:100dvh;box-shadow:12px 0 40px #0005}.portal-menu-open .portal-sidebar{display:flex}.portal-ready :is(#portal-menu-toggle,#portal-menu-close){display:block}.portal-ready #portal-menu-close{padding:4px 12px;background:transparent;color:white;border-color:#ffffff55;font-size:24px}.deltron-brand.portal-ready header{padding:14px 16px;gap:12px}.deltron-brand.portal-ready header .portal-title{font-size:12px;min-width:120px}.portal-ready header nav{gap:16px;width:100%;margin:0}.deltron-brand.portal-ready main{padding:28px 16px}.deltron-brand.portal-ready .preview-notice{padding-inline:16px}.portal-menu-open #portal-menu-toggle{visibility:hidden}}
