/* Syntrans background presets, shared by the login and workspace. */
[data-theme="theme1"]{--theme-bg:url('/images/syntrans/themes/1.png')}
[data-theme="theme2"]{--theme-bg:url('/images/syntrans/themes/2.png')}
[data-theme="theme3"]{--theme-bg:url('/images/syntrans/themes/3.png')}
[data-theme="theme4"]{--theme-bg:url('/images/syntrans/themes/4.png')}
[data-theme="theme5"]{--theme-bg:url('/images/syntrans/themes/5.png')}
[data-theme="theme6"]{--theme-bg:url('/images/syntrans/themes/6.png')}
[data-theme="theme7"]{--theme-bg:linear-gradient(45deg,#0c675e,#069e90)}
[data-theme="theme8"]{--theme-bg:linear-gradient(45deg,rgb(0,242,96),rgb(5,117,230))}
[data-theme="theme9"]{--theme-bg:linear-gradient(45deg,#29323c,#485563)}
[data-theme="theme10"]{--theme-bg:linear-gradient(45deg,#795548,#945c48)}
[data-theme="theme11"]{--theme-bg:linear-gradient(45deg,#1565c0,#1e88e5)}
[data-theme="theme12"]{--theme-bg:linear-gradient(45deg,#65379b,#886aea)}
body[data-theme]{background-color:#29323c;background-image:var(--theme-bg);background-position:center;background-size:cover;background-attachment:fixed}
.theme-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:14px;margin:22px 0}.theme-option{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:12px;border:1px solid #ffffff30;border-radius:9px;cursor:pointer;font-size:12px}.theme-option:has(input:checked){outline:2px solid #eee;background:#ffffff15}.theme-option input{accent-color:#ddd}.theme-swatch{height:58px;background:var(--theme-bg) center/cover;border-radius:5px;border:1px solid #ffffff30}.theme-option>span:last-child{grid-column:1/-1}.branding-preview{display:block;max-width:220px;max-height:110px;object-fit:contain;margin:20px 0;background:#ffffff10;padding:10px;border-radius:8px}.settings-save{margin:24px 0 32px}.settings-save button{border:0;cursor:pointer}.general-form input:focus-visible,.general-form select:focus-visible{outline:2px solid #ddd;outline-offset:3px}
/* Fit navigation into rows instead of creating nested scrollbars. */
.app-header .module-nav{overflow:visible;min-width:0;flex:1;gap:3px;padding-left:12px}
.app-header .module-link{padding:0 12px;flex-shrink:0}.app-header .module-link.active:after{bottom:0}
@media(min-width:1101px) and (max-width:1400px){.app-header .brand{width:200px;padding-left:20px;font-size:18px}.app-header .module-nav{padding-left:0;gap:2px}.app-header .module-link{font-size:12px;padding:0 9px;gap:6px}.app-header .header-context{padding:0 14px;gap:8px}.app-header .environment{display:none}}
@media(min-width:761px) and (max-width:1100px){:root{--header:126px}.app-header{height:126px;flex-wrap:wrap;align-content:start}.app-header .brand{height:64px;width:auto}.app-header .header-context{height:64px;margin-left:auto;order:1}.app-header .module-nav{order:2;flex:0 0 100%;width:100%;height:62px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:8px 14px;border-top:1px solid var(--line)}.app-header .module-link{justify-content:center;padding:0 8px;height:44px}}
@media(max-width:760px){:root{--header:163px}.app-header{height:163px}.app-header .module-nav{flex:0 0 100%;height:98px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px 12px;overflow:visible}.app-header .module-link{justify-content:center;height:40px;padding:0 5px;font-size:12px}.app-header .module-link.active:after{bottom:0}.app-header .brand{width:auto}.app-header .header-context{padding:0 14px}.theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
