/* Project-native form controls, retaining the existing values and semantics. */
select:not([multiple]){appearance:none;-webkit-appearance:none;padding-right:var(--sp-6)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239696a2' stroke-width='1.75'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;color-scheme:dark}
.custom-select-menu{position:fixed;z-index:10000;overflow:auto;overscroll-behavior:contain;padding:var(--sp-1);background:#222225;border:1px solid #ffffff18;border-radius:14px;box-shadow:0 12px 32px #0006;color:#eee;font:13px var(--sans,Arial,sans-serif);box-sizing:border-box;scrollbar-width:thin}
.custom-select-menu button{display:block;width:100%;min-height:40px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;box-sizing:border-box}.custom-select-menu button:hover,.custom-select-menu button:focus-visible{background:#ffffff0b;outline:none}.custom-select-menu button[aria-selected=true]{background:#0088ff18;color:#8bcaff}.custom-select-menu button:disabled{opacity:.4;cursor:default}
input[type=range]:not(#color-hue){appearance:none;-webkit-appearance:none;background:transparent;height:28px;cursor:pointer}input[type=range]:not(#color-hue)::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:#45454c}input[type=range]:not(#color-hue)::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:18px;margin-top:-7px;border:2px solid #19191c;border-radius:50%;background:#0088ff;box-shadow:0 0 0 1px #ffffff14}input[type=range]:not(#color-hue)::-moz-range-track{height:4px;border-radius:4px;background:#45454c}input[type=range]:not(#color-hue)::-moz-range-thumb{width:14px;height:14px;border:2px solid #19191c;border-radius:50%;background:#0088ff}

/* Page content has its own gutter; the shared island retains its original parent. */
body.site-island :is(#app,.page-content).page-content{box-sizing:border-box;width:min(1160px,100vw);max-width:1160px;margin-left:calc(50% - min(580px,50vw))!important;margin-right:0;padding-left:var(--sp-4)!important;padding-right:var(--sp-4)!important}
body.site-island .page-content.page-flow{padding-top:var(--sp-5);display:flow-root}
body.site-island .page-content.page-flow>.hi{margin-top:0}
body.site-island .page-content.page-flow>.settings-heading{margin-top:0}
@media(min-width:600px){body.site-island :is(#app,.page-content).page-content{padding-left:var(--sp-5)!important;padding-right:var(--sp-5)!important}}
@media(min-width:1024px){body.site-island :is(#app,.page-content).page-content{padding-left:var(--sp-6)!important;padding-right:var(--sp-6)!important}}

body.site-island .page-content.page-flow>:first-child{margin-top:0}
body.site-island .page-content>.editor-toolbar,body.site-island .texture-header.page-content.editor-toolbar{padding-top:0!important;align-items:flex-start!important}

.settings-page .site-legal-link a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.settings-page .custom-select-menu button{min-height:44px}

body.site-island #app>.page-content{min-width:0;margin-left:calc(50% - min(580px,50vw))!important}

body.site-island .texture-header.page-content.editor-toolbar{margin-top:var(--sp-5)!important}
