/* Developed by APG Intelligence. © 2027 APG Intelligence Ltd. All rights reserved. */
/* Compact controls, neutral surfaces and layout based on usable workspace width. */
:root[data-theme] .theme-orb,
:root[data-theme] .auth-premium .auth-masthead .theme-orb,
:root[data-theme] .public-header .public-nav .theme-orb,
:root[data-theme] .topbar-right .theme-orb {
 width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;
 flex:0 0 44px;padding:0;border:1px solid #9dcc245c;border-radius:50%;
 background:transparent;color:#c4ff00;box-shadow:inset 0 0 0 2px #c4ff0006;
}
:root[data-theme] .theme-orb svg {width:19px;height:19px}
:root[data-theme] .theme-orb:hover {border-color:#c4ff00;box-shadow:0 0 12px #c4ff001a}
:root[data-theme=light] .theme-orb,
:root[data-theme=light] .auth-premium .auth-masthead .theme-orb,
:root[data-theme=light] .public-header .public-nav .theme-orb,
:root[data-theme=light] .topbar-right .theme-orb {color:#263900;border-color:#91b732;background:transparent}
:root[data-theme] .entry-features-link,
:root[data-theme] .topbar-right .entry-features-link {
 min-height:44px;border:0;border-radius:0;background:transparent;box-shadow:none;
 color:var(--text,#fff);padding:8px 10px;gap:8px;font-weight:650;
}
:root[data-theme] .entry-features-link:hover {background:transparent;color:var(--accent-foreground,#c4ff00);text-decoration:underline;text-underline-offset:6px;box-shadow:none}
.topbar-right {gap:12px}
.topbar-right>.avatar {width:36px;height:36px;flex:0 0 36px;border-radius:11px;border:1px solid #b8ff0080;background:var(--surface-2);color:var(--text);box-shadow:0 0 0 3px #b8ff0008;font-weight:750}
.sidebar .workspace-switch {position:relative;border:1px solid #b8ff0040;border-left:2px solid #b8ff00;border-radius:12px;background:linear-gradient(120deg,#ffffff07,transparent 70%),var(--surface);box-shadow:0 8px 20px #00000012;padding:14px 12px;gap:11px}
.sidebar .workspace-switch .avatar {width:34px;height:34px;flex:0 0 34px;border:1px solid #b8ff0070;border-radius:10px;background:var(--surface-2);color:var(--text);font-weight:750}
.sidebar .workspace-switch strong {font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.sidebar .workspace-switch small {color:var(--muted);font-size:11px;line-height:1.5}
:root[data-theme=light] .sidebar .workspace-switch {border-color:#a0b65c;border-left-color:#8eb800;background:#fff}
:root[data-theme=light] .topbar-right>.avatar,:root[data-theme=light] .sidebar .workspace-switch .avatar {border-color:#91ab47;background:#fff}
.content {container-type:inline-size;container-name:workspace}
.projects-page-header>div:first-child,.library-page-header>div:first-child {min-width:0}
.projects-page-header .page-actions {flex:0 0 auto;justify-content:flex-end;margin-left:auto}
.library-page-header .page-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:0 0 min(52%,570px);min-width:0;gap:10px}
.library-page-header .page-actions>.btn,.projects-page-header .page-actions>.btn {min-width:0;min-height:48px;white-space:normal;line-height:1.35;gap:9px}
.library-page-header .page-actions>.btn>span,.projects-page-header .page-actions>.btn>span {min-width:0;overflow-wrap:anywhere}
.library-page-header .page-actions>.btn>svg {flex:none}
@container workspace (max-width:900px) {
 .library-page-header,.projects-page-header {display:block}
 .library-page-header .page-actions,.projects-page-header .page-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:20px 0 0;gap:10px}
 .library-page-header .page-actions>.btn,.projects-page-header .page-actions>.btn {width:100%;font-size:14px;padding:12px;justify-content:center}
}
@container workspace (max-width:360px) {
 .library-page-header .page-actions>.btn,.projects-page-header .page-actions>.btn {font-size:13px;padding:10px 8px;gap:7px}
}
/* Fallback and small landscape screens, including browsers without container queries. */
@media(max-width:999px) {
 .library-page-header,.projects-page-header {display:block}
 .library-page-header .page-actions,.projects-page-header .page-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:20px 0 0;gap:10px}
 .library-page-header .page-actions>.btn,.projects-page-header .page-actions>.btn {width:100%;font-size:14px;padding:12px;justify-content:center}
}
@media(max-width:620px) {
 .topbar-right {gap:7px}
 .topbar-right .entry-features-link {width:44px;min-width:44px;padding:0;justify-content:center}
 .library-page-header .page-actions>.btn {font-size:13px;min-height:52px;padding:10px 8px;gap:7px}
 .library-page-header .page-actions>.btn>svg {width:18px;height:18px}
}
.account-entry-choice>p {color:var(--muted);line-height:1.7;margin:18px 0}
.account-entry-actions {display:grid;gap:12px;margin-top:30px}
.account-entry-actions>.btn {min-height:50px;white-space:normal}
.lens-workspace[data-hero-scene="1"] .lens-dashboard-hero::before {background-image:linear-gradient(90deg,#07090cf7 0%,#07090cdb 34%,#07090c42 66%,#07090c08 100%),url('/assets/workspace/sitelens-access-v21312.webp');background-position:center,center}
.lens-workspace[data-hero-scene="2"] .lens-dashboard-hero::before {background-image:linear-gradient(90deg,#07090cf7 0%,#07090cdb 34%,#07090c42 66%,#07090c08 100%),url('/assets/workspace/sitelens-logistics-v21312.webp');background-position:center,center}
.lens-workspace.snaglens[data-hero-scene="1"] .lens-dashboard-hero::before {background-image:linear-gradient(90deg,#07090cf7 0%,#07090cc9 37%,#07090c29 69%,#07090c08 100%),url('/assets/workspace/snaglens-finishes-v21312.webp');background-position:center,center}
.lens-workspace.snaglens[data-hero-scene="2"] .lens-dashboard-hero::before {background-image:linear-gradient(90deg,#07090cf7 0%,#07090cc9 37%,#07090c29 69%,#07090c08 100%),url('/assets/workspace/snaglens-services-v21312.webp');background-position:center,center}
@media(max-width:620px) {.lens-workspace[data-hero-scene] .lens-dashboard-hero::before {background-position:center,70% center}}
:root[data-theme=light] .sidebar .workspace-switch strong,
:root[data-theme=light] .topbar-right>.avatar {color:#111}
.library-page-header .page-actions>.btn {height:100%}
