#settings{top:auto;bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px));right:max(18px,env(safe-area-inset-right));width:44px;height:44px;display:grid;place-items:center;border:1px solid #42676f;border-radius:50%;color:#b9e4e2;background:#071215}
#settings svg{width:21px;height:21px}
#camera-settings[data-sheet]{padding:0;background:#0006;z-index:12;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;text-transform:none}
#camera-settings[data-sheet] .settings-sheet{width:100%;max-width:560px;max-height:86dvh;min-height:0;background:#0a171b;color:#e3efec;border:1px solid #7bb0b24d;border-bottom:0;border-radius:24px 24px 0 0;padding:0 max(22px,env(safe-area-inset-left)) max(18px,env(safe-area-inset-bottom));display:flex;flex-direction:column;box-sizing:border-box;animation:settings-rise 180ms ease-out;font-family:'Courier New',monospace}
.settings-handle{width:30px;height:3px;background:#7897987d;border-radius:3px;margin:11px auto 13px;flex:none}
#camera-settings[data-sheet] .settings-header{min-height:54px;flex:none;align-items:center;margin-bottom:10px}
#camera-settings[data-sheet] .settings-kicker{font:9px/1.4 'Courier New',monospace;color:#86a8ac;letter-spacing:1.8px;margin:0}
#camera-settings[data-sheet] #settings-title{font:400 29px/1.15 'Courier New',monospace;letter-spacing:-1.3px;margin:5px 0 0}
#camera-settings[data-sheet] .settings-close{width:44px;height:44px;border-radius:50%;border:1px solid #3c5960;display:grid;place-items:center;color:#b7d2d1}
#camera-settings[data-sheet] #settings-content{margin:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;max-width:none}
#camera-settings[data-sheet] .settings-instrument{border:0}
.sheet-group{margin-top:20px}.sheet-group>h2{font:400 10px/1.4 'Courier New',monospace;letter-spacing:1.1px;text-transform:uppercase;color:#89b3b7;margin:0 0 6px}
#camera-settings[data-sheet] .settings-main .settings-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;min-height:65px;padding:12px 0;border-bottom:1px solid #6d999b1c}
#camera-settings[data-sheet] .settings-main .settings-row>svg{grid-column:1;grid-row:1/3;align-self:center;color:#9bbfc1}
#camera-settings[data-sheet] .settings-main .settings-row h2{grid-column:2;grid-row:1;font:400 13px/1.4 'Courier New',monospace;letter-spacing:0}
#camera-settings[data-sheet] .settings-main .settings-value{grid-column:3;grid-row:1/3;align-self:center}
#camera-settings[data-sheet] .settings-main .settings-detail{grid-column:2;grid-row:2;font:10px/1.5 'Courier New',monospace;color:#92a9ac;margin:3px 0 0}
#camera-settings[data-sheet] .settings-main .settings-static,#camera-settings[data-sheet] .settings-main .settings-action{font-size:10px;max-width:90px;text-align:right;color:#91b2b4}
.you-permission-toggle{display:flex;align-items:center;min-height:44px;padding-left:4px}
#you-ai-permission{appearance:none;-webkit-appearance:none;width:38px;height:22px;margin:0;border:1px solid #587379;border-radius:20px;background:#263b40;position:relative}
#you-ai-permission:before{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#b2c8c7}
#you-ai-permission:checked{background:#20525b;border-color:#80c3c5}#you-ai-permission:checked:before{transform:translateX(16px);background:#b8f5ed}
.sheet-nav-row{width:100%;display:flex;align-items:center;gap:12px;min-height:65px;border:0;border-bottom:1px solid #6d999b1c;background:transparent;padding:12px 0;text-align:left;font:13px/1.4 'Courier New',monospace;color:#e3efec}
.sheet-nav-row>svg{flex:none;color:#9bbfc1}.sheet-nav-row>span:first-of-type{flex:1;min-width:0}.sheet-nav-row small{display:block;font:10px/1.5 'Courier New',monospace;color:#92a9ac;margin-top:3px}.sheet-chevron{color:#789b9e;font-size:20px}
.sheet-footer{font:9px/1.4 'Courier New',monospace;color:#607e83;letter-spacing:1.7px;margin:25px 0 4px}
.sheet-detail{padding:5px 0 16px}.sheet-back{width:44px;height:44px;display:grid;place-items:center;border:1px solid #3c5960;border-radius:50%;background:transparent;color:#b7d2d1}
.sheet-detail-title{font:400 23px/1.2 'Courier New',monospace;margin:16px 0}.sheet-detail .settings-row{display:block;min-height:0;padding:12px 0}.sheet-detail .settings-row h2{font-size:13px;margin:0 0 12px}.sheet-detail .settings-value{justify-content:flex-start}.sheet-detail .settings-action{margin:4px 0;text-align:left;min-height:44px}.sheet-detail .settings-detail{font-size:12px;max-width:none;line-height:1.65}.sheet-detail a{color:#a3e5e1}.sheet-detail .settings-chevron{display:none}
#camera-settings[data-sheet] #clear-confirmation{top:auto;bottom:max(18px,env(safe-area-inset-bottom));left:18px;right:18px;margin:auto;border-radius:12px;text-transform:none;max-height:80dvh;overflow-y:auto}
#camera-settings [hidden]{display:none!important}
@keyframes settings-rise{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){#camera-settings[data-sheet] .settings-sheet{animation:none}}
@media(max-height:650px){.sheet-group{margin-top:14px}#camera-settings[data-sheet] .settings-sheet{max-height:90dvh}.sheet-nav-row,#camera-settings[data-sheet] .settings-main .settings-row{min-height:58px;padding-block:9px}.sheet-footer{margin-top:18px}}
@media(min-width:700px) and (max-height:500px){#camera-settings[data-sheet] .settings-sheet{max-width:640px;max-height:94dvh}}
