html,body{overscroll-behavior:none}
html body{--rail-w:0px;--strip-h:0px;--footer-h:0px;--header-h:34px}
html body .parz-brandbar,html body .parz-compact-left,html body #parzReferenceFooter,html body #parzScanTools,html body #parzMobilePanels{display:none!important}
html body .parz-projectbar{left:0!important;right:0!important;top:0!important;height:34px!important;min-height:34px!important}
html body .parz-projectbar .tabs{left:70px!important;width:auto!important;gap:16px!important}
html body .parz-projectbar .tab{font-size:16px!important}
html body .parz-workspace{position:fixed!important;inset:34px 0 0!important;width:auto!important;height:auto!important;min-height:0!important}
html body #viewer{position:absolute!important;inset:0!important}
html body #svg2d,html body #threeHost canvas{touch-action:none!important;user-select:none;-webkit-user-select:none}
html body #parzMainMenu{display:block!important;position:absolute!important;top:12px!important;right:12px!important;bottom:auto!important;left:auto!important;zoom:.5;max-height:calc(200dvh - 100px)!important;height:auto!important;overflow:auto!important}
html body #parzContextColumn{position:absolute!important;top:12px!important;right:calc(var(--main-w) + 28px)!important;bottom:auto!important;left:auto!important;zoom:.5;max-height:calc(200dvh - 100px)!important;height:auto!important;overflow:auto!important}
html body #parzBaseSettings{zoom:.5;top:80px!important;right:12px!important;width:min(600px,calc(200vw - 24px))!important;max-height:calc(200dvh - 110px)!important}
html body:not(.parz-3d-mode) #camera3dPanel{display:none!important}
html body.parz-3d-mode #camera3dPanel{zoom:.5;max-height:calc(200dvh - 110px)!important}
html body #parzShowAr{display:block!important}
html body #parzSide{max-width:95vw!important;max-height:90dvh!important;overflow:auto!important}
html body .parz-projectbar #parzHeaderSettings{right:5px!important;width:30px!important;height:30px!important}
html body .manual-resize-handle{fill-opacity:.98!important;stroke-opacity:1!important} html body .manual-resize-corner-hit{stroke:transparent;stroke-width:20px;vector-effect:non-scaling-stroke} html body #layoutStatus{zoom:.5;max-width:calc(200vw - 230px)!important} html body.parz-3d-mode #parzMainMenu,html body.parz-3d-mode #parzContextColumn{display:none!important}
/* Reference layout: narrow right rail, contextual settings below it. */
html body #parzMainMenu{display:none!important}
#nativeRail{position:fixed;right:6px;top:82px;bottom:26dvh;width:64px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 4px;background:var(--parz-menu-fill,#f2ede6);border:1px solid #aca3a4;border-radius:18px;z-index:140;overflow:auto;box-sizing:border-box;scrollbar-width:none}
#nativeRail small{font:8px Arial;white-space:nowrap;letter-spacing:.04em}
#nativeRail button{flex-shrink:0;display:flex;flex-direction:column;justify-content:center;align-items:center;width:44px;min-height:44px;height:44px;padding:3px;border:1px solid #b2a8a9;border-radius:50%;background:#fff9;color:#373435;font:18px Arial;line-height:1.15!important;touch-action:manipulation;box-shadow:none!important}
#nativeRail button span{font:9px/1.15 Arial}
#nativeRail button[aria-pressed=true]{background:var(--parz-accent,#ffd255);border-color:#373435}
#nativeRail button:disabled{opacity:.35}
#nativeRail .rail-export{margin-top:auto;border-radius:12px;font-size:10px;min-height:30px;height:30px;width:54px}
#nativeRail .rail-divider{width:34px;border-top:1px solid #b2a8a9;margin:3px}
#nativeRail .rail-dim{font:9px Arial;display:flex;flex-direction:column;align-items:center;gap:4px;margin:3px 0;cursor:pointer}
#nativeRail input{accent-color:#373435;width:26px;height:18px;margin:0}
#nativeMenuEye{position:fixed;right:16px;top:38px;width:44px;height:38px;padding:6px;background:var(--parz-menu-fill,#f2ede6);border:1px solid #b2a8a9;border-radius:18px;color:#373435;z-index:145}
#nativeMenuEye svg{width:30px;height:24px}
#nativeLayers{position:fixed;right:78px;top:30vh;width:170px;max-height:50dvh;overflow:auto;padding:12px;background:var(--parz-menu-fill,#f2ede6);border:1px solid #aca3a4;border-radius:16px;z-index:145}
#nativeLayers[hidden]{display:none}
#nativeLayers label{display:flex;justify-content:space-between;align-items:center;min-height:32px;font:12px Arial}
#nativeLayers input{accent-color:#373435}
html body #parzContextColumn{position:fixed!important;zoom:.5;top:auto!important;bottom:12px!important;right:12px!important;width:min(440px,110vw)!important;height:46dvh!important;max-height:46dvh!important;overflow:auto!important;border-radius:22px}
html body.native-menu-hidden #nativeRail,html body.native-menu-hidden #nativeLayers,html body.native-menu-hidden #parzContextColumn{display:none!important}
html body.parz-3d-mode #nativeRail,html body.parz-3d-mode #nativeMenuEye,html body.parz-3d-mode #nativeLayers{display:none!important}
@media(max-height:680px){#nativeRail{gap:3px;top:76px}#nativeRail button{width:38px;height:38px;min-height:38px}#nativeRail .rail-divider{margin:0}#nativeRail small{display:none}}
html body:not(.parz-3d-mode) #parzGlbLibrary.curtain-library{display:none!important}
html body #nativeRail{overflow-x:hidden!important;scrollbar-width:none!important}
html body #nativeRail::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
html body #nativeRail svg{width:20px;height:20px;flex-shrink:0;pointer-events:none}
html body #nativeRail input[type=checkbox]{appearance:none;-webkit-appearance:none;width:26px;height:16px;border:1px solid #817b78;border-radius:12px;background:#c8c2c4;position:relative;padding:0;cursor:pointer}
html body #nativeRail input[type=checkbox]:after{content:'';position:absolute;width:12px;height:12px;border-radius:50%;background:white;left:1px;top:1px;transition:transform .15s}
html body #nativeRail input[type=checkbox]:checked{background:#373435}
html body #nativeRail input[type=checkbox]:checked:after{transform:translateX(10px)}
html body #nativeRail img{width:30px;height:30px;pointer-events:none}
html body #nativeRail .rail-dim{width:54px;height:46px;border:0;border-radius:8px;background:transparent;font:9px Arial;gap:5px}
.native-toggle{display:block;width:25px;height:15px;border-radius:20px;background:#aaa;position:relative;flex-shrink:0;pointer-events:none}
.native-toggle:after{content:'';position:absolute;left:2px;top:2px;width:11px;height:11px;border-radius:50%;background:white}
[aria-checked=true]>.native-toggle{background:#373435}
[aria-checked=true]>.native-toggle:after{transform:translateX(10px)}
html body #nativeLayers button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;border:0;border-radius:8px;padding:8px;background:transparent;font:12px Arial;color:inherit;box-shadow:none!important}
html body #nativeHistory{position:fixed;left:132px;top:2px;height:30px;display:flex;gap:4px;z-index:160}
html body #nativeHistory button{width:32px;height:30px;border:0;background:transparent;color:#373435;font:23px Arial;padding:0;box-shadow:none!important}
html body .parz-undo{display:none!important}
html body #nativeRail,html body #nativeLayers,html body #nativeMenuEye,html body #nativeHistory,html body #parzContextColumn,html body #parzBaseSettings{touch-action:pan-y!important}
/* Android planner controls: fixed chrome and bottom contextual sheet. */
html body{--header-h:40px}
html body .parz-projectbar{height:40px!important;min-height:40px!important}
html body .parz-workspace{inset:40px 0 0!important}
html body .parz-projectbar .tabs{left:12px!important;top:2px!important;transform:none!important;display:flex!important;width:72px!important;height:36px!important;gap:0!important;border:1px solid #b2a8a9;border-radius:24px;background:var(--parz-menu-fill,#f2ede6);padding:0!important;overflow:hidden}
html body .parz-projectbar .tab{width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;font:600 14px Arial!important;color:#999!important;background:transparent!important;box-shadow:none!important}
html body .parz-projectbar .tab.active{background:var(--parz-accent,#ffd255)!important;color:#373435!important}
html body #nativeHistory{left:auto;right:42px;top:5px;gap:2px}
html body #nativeHistory svg{width:24px;height:24px;display:block;margin:auto;overflow:visible}
html body #nativeMenuEye{top:43px}
html body #nativeRail{bottom:24dvh;gap:3px;padding:6px 4px}
html body #nativeRail button{width:40px;height:40px;min-height:40px}
html body #nativeRail svg{width:26px;height:26px;overflow:visible}
html body #nativeRail .rail-divider{margin:0}
html body #nativeRail .rail-dim{height:38px;min-height:38px;margin:0}
html body #nativeLayers #wallsMapToggle{position:static!important;display:flex!important;inset:auto!important;margin:0!important;padding:8px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;font:12px Arial!important;zoom:1!important;width:auto!important;gap:8px;justify-content:flex-start}
html body #parzGuideOverlay,html body #parzGuideOverlay *{touch-action:none!important}
html body:not(.parz-3d-mode) #parzRoomDesigns{display:none!important}
#nativeSheet{position:fixed;left:6px;right:6px;bottom:6px;height:20dvh;z-index:142;border:1px solid #aca3a4;border-radius:18px;background:var(--parz-menu-fill,#f2ede6);overflow:hidden;box-shadow:0 3px 14px #0001;touch-action:pan-y}
#nativeSheet[hidden],body.parz-3d-mode #nativeSheet,body.native-menu-hidden #nativeSheet{display:none!important}
#nativeSheet>header{height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 8px 0 14px;font:12px Arial;color:#373435}
#nativeSheet>header button{width:32px;height:32px;border:0;background:none;font:26px Arial;color:inherit;padding:0;box-shadow:none}
#nativeSheet .sheet-content{height:calc(100% - 32px);overflow:auto;overscroll-behavior:contain}
html body #nativeSheet #parzContextColumn{position:relative!important;inset:auto!important;zoom:.5;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;display:block!important;border-radius:0}
html body #nativeSheet #parzApprovedSettings{max-width:560px!important;margin:0 auto!important}
html body.native-menu-hidden #nativeSheet #parzContextColumn{display:none!important}
html body #nativeSheet>header{height:32px!important;min-height:32px!important;max-height:32px!important;box-sizing:border-box;padding:0 8px 0 14px!important;position:static!important}
html body #nativeSheet #parzApprovedSettings{max-width:440px!important}
html body #nativeSheet{height:132px;background:linear-gradient(110deg,#eee9f2 0%,#d5c5e3 55%,#b39bc8 100%);border:1px solid #b5a6be;touch-action:pan-x}
html body #nativeSheet>header{position:absolute!important;right:2px;top:0;width:32px;padding:0!important;border:0!important;background:transparent!important;z-index:2}
html body #nativeSheet .sheet-content{height:100%;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;padding:12px 38px 12px 10px;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#a890bd transparent}
html body #nativeSheet #parzContextColumn{position:fixed!important;left:-10000px!important;top:0!important;width:440px!important;opacity:0;pointer-events:none!important}
#nativeSettingCards{display:flex;width:max-content;height:100%;gap:8px;align-items:stretch;touch-action:pan-x}
.setting-card{flex:0 0 auto;min-width:112px;max-width:180px;box-sizing:border-box;padding:10px 12px;border-radius:14px;background:#ffffff73;border:1px solid #ffffffa8;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:8px;color:#373435;font:12px Arial;touch-action:pan-x}
.setting-card>span{font-size:11px;white-space:nowrap}
html body .setting-card button{min-width:44px;height:40px;padding:6px 10px;border:0;border-radius:12px;background:#ffffff9c;color:#373435;font:12px Arial;box-shadow:none!important;touch-action:pan-x}
html body .setting-card button[role=switch]{background:transparent;display:flex;align-items:center;justify-content:center;min-width:66px}
.setting-card .native-toggle{width:36px;height:22px}.setting-card .native-toggle:after{width:18px;height:18px}.setting-card [aria-checked=true]>.native-toggle:after{transform:translateX(14px)}
html body .setting-card button[aria-pressed=true]{background:#b39bc8}
.setting-stepper{display:flex;align-items:center;gap:5px}.setting-stepper output{min-width:30px;text-align:center}
.setting-card input[type=range]{width:145px;accent-color:#846499;touch-action:none}
.setting-card button:disabled,.setting-card input:disabled{opacity:.35}
html body #nativeRail{bottom:150px}
html body .parz-projectbar{background:transparent!important;border:0!important;box-shadow:none!important}
/* Comfortable top controls, with room below the screen edge. */
html body{--header-h:64px}
html body .parz-projectbar{height:64px!important;min-height:64px!important}
html body .parz-workspace{inset:64px 0 0!important}
html body .parz-projectbar .tabs{top:16px!important;height:40px!important;width:80px!important}
html body .parz-projectbar .tab{height:40px!important;width:40px!important;min-width:40px!important}
html body .parz-projectbar #parzHeaderSettings{top:16px!important;transform:none!important;width:40px!important;height:40px!important;right:6px!important}
html body #nativeHistory{top:16px;right:50px;height:40px;gap:4px}
html body #nativeHistory button{width:38px;height:40px}
#nativeFit{position:fixed;top:16px;left:100px;width:40px;height:40px;padding:7px;border:0;border-radius:50%;background:var(--parz-menu-fill);color:#373435;z-index:160;box-shadow:none}
#nativeFit svg{width:26px;height:26px}
html body #nativeMenuEye{top:68px}
html body #nativeRail{top:112px}
html body #nativeRail [data-view]{margin-bottom:3px}
html body #nativeLayers{width:138px;padding:6px;box-sizing:border-box}
html body #nativeLayers button{padding:5px 4px;min-height:34px;gap:8px;font-size:11px}
html body #nativeLayers label{font-size:11px!important}
html body #parzBaseSettings{zoom:1!important;top:70px!important;right:8px!important;width:calc(100vw - 16px)!important;max-height:calc(100dvh - 88px)!important;min-height:0!important;padding:14px!important;font-size:15px!important}
html body #parzBaseSettings h2{font-size:18px!important}
html body #parzBaseSettings .parz-settings-body{grid-template-columns:1fr;gap:12px}
html body #parzBaseSettings nav{grid-column:1;grid-row:1;flex-direction:row;overflow-x:auto;padding:0 0 8px;border-right:0;border-bottom:1px solid #b6aab8;gap:6px}
html body #parzBaseSettings nav button{font-size:14px!important;min-height:44px!important;flex-shrink:0;padding:10px 14px!important}
html body #parzSettingsContent{grid-column:1;grid-row:2;font-size:15px!important;line-height:1.5}
html body #parzSettingsContent :is(button,input,select){font-size:15px!important;min-height:40px}
html body #parzBaseSettings svg{min-width:24px;min-height:24px}
html body .setting-card>span{font-size:13px}
html body .setting-card button{font-size:14px}
@font-face{font-family:'Swis721 Ex BT';src:url('/fonts/swis_regular.ttf') format('truetype');font-weight:100 500;font-style:normal;font-display:swap}
@font-face{font-family:'Swis721 Ex BT';src:url('/fonts/swis_bold.ttf') format('truetype');font-weight:600 900;font-style:normal;font-display:swap}
html body,html body *,html body input,html body button,html body select,html body textarea{font-family:'Swis721 Ex BT'!important;letter-spacing:.025em}
html body #nativeSheet{background:linear-gradient(110deg,var(--parz-menu-low),var(--parz-accent-soft) 55%,var(--parz-accent));border-color:var(--parz-accent)}
html body .setting-card button[aria-pressed=true]{background:var(--parz-accent)}
html body #nativeSheet .sheet-content{scrollbar-color:var(--parz-accent) transparent}
/* Keep settings navigation outside the independently scrolling content. */
html body #parzBaseSettings:not([hidden]){display:flex!important;flex-direction:column;max-height:calc(100dvh - 88px)!important;overflow:hidden!important}
html body #parzBaseSettings>header{flex:0 0 auto;min-height:44px}
html body #parzBaseSettings .parz-settings-body{display:flex!important;flex-direction:column;min-height:0;overflow:hidden;gap:8px;padding-top:12px}
html body #parzBaseSettings nav{order:0;flex:0 0 auto;min-width:0;width:100%;box-sizing:border-box;overflow-x:auto;overflow-y:hidden}
html body #parzSettingsContent{order:1;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:4px;overscroll-behavior:contain}
html body #parzBaseSettings .parz-drawing-row{grid-template-columns:minmax(0,1fr) minmax(0,145px);width:100%;box-sizing:border-box;font-size:13px}
html body #parzBaseSettings fieldset{min-width:0}
html body #parzBaseSettings .parz-drawing-row select{width:100%;min-width:0;max-width:145px;font-size:13px!important}
html body #parzBaseSettings input[type=color]{width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;min-height:36px!important;max-height:36px!important;aspect-ratio:1;border-radius:50%!important;padding:0!important;flex:0 0 36px;box-sizing:border-box}
html body #parzBaseSettings input[type=color]::-webkit-color-swatch-wrapper{padding:0}
html body #parzBaseSettings input[type=color]::-webkit-color-swatch{border-radius:50%;border:0}
html body #nativeColorPicker{width:min(350px,calc(100vw - 28px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:18px;border:1px solid #9f92a8;border-radius:24px;background:linear-gradient(135deg,var(--parz-menu-low),var(--parz-accent-soft));color:#373435;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 55px #30253640}
#nativeColorPicker::backdrop{background:#29212c66;backdrop-filter:blur(3px)}
html body #nativeColorPicker header{display:flex;position:static;align-items:center;justify-content:space-between;min-height:40px;height:auto;padding:0;margin:0 0 14px;border:0;background:none}
#nativeColorPicker h2{font-size:17px;font-weight:400;margin:0}
html body #nativeColorPicker button{border:0;box-shadow:none;color:inherit;touch-action:manipulation}
#nativeColorPicker [data-close]{width:36px;height:36px;padding:0;background:transparent;font-size:28px;border-radius:50%}
#nativeColorPicker .color-palette{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:18px}
html body #nativeColorPicker .color-palette button{display:block;width:36px;height:36px;min-width:36px;min-height:36px;margin:auto;padding:0;aspect-ratio:1;border-radius:50%;background:var(--color);border:1px solid #37343525}
#nativeColorPicker .color-palette [aria-pressed=true]{outline:2px solid #373435;outline-offset:3px}
#nativeColorPicker .color-custom{display:flex;align-items:center;gap:16px}
#nativeColorPicker .color-preview{display:block;width:44px;height:44px;flex:0 0 44px;border:1px solid #37343530;border-radius:50%}
#nativeColorPicker .color-custom label{display:flex;align-items:center;gap:12px;flex:1;font-size:12px}
#nativeColorHex{min-width:0;width:100%;box-sizing:border-box;border:1px solid #aaa0b4;border-radius:12px;background:#ffffff99;color:inherit;padding:10px;font-size:14px;min-height:44px}
#nativeColorPicker .color-error{font-size:10px;min-height:12px;margin:4px 0}
#nativeColorPicker .color-channel{display:grid;grid-template-columns:52px minmax(0,1fr) 30px;align-items:center;gap:8px;min-height:40px;font-size:12px}
#nativeColorPicker .color-channel input{width:100%;min-width:0;accent-color:var(--parz-accent);touch-action:none}
#nativeColorPicker .color-channel output{text-align:right;font-size:11px}
html body #nativeColorPicker footer{display:flex;position:static;gap:10px;background:none;border:0;padding:14px 0 0;margin:0}
#nativeColorPicker footer button{flex:1;min-height:44px;border-radius:18px;font-size:13px;padding:10px;background:#ffffff80}
#nativeColorPicker footer [data-apply]{background:var(--parz-accent);color:#272329}
#nativeColorPicker footer [data-apply]:disabled{opacity:.4}
/* Original manual architecture tools, with room left for touch drawing. */
html body #drawArchitecturePanel{position:fixed;left:8px;right:8px;top:auto;bottom:8px;width:auto;max-height:210px;padding:12px;border-radius:22px;background:linear-gradient(110deg,var(--parz-menu-low),var(--parz-accent-soft));z-index:180;box-sizing:border-box;overflow:hidden}
#drawArchitecturePanel .draw-architecture-head{margin-bottom:6px}
#drawArchitecturePanel .draw-architecture-title{font-size:13px}
#drawArchitecturePanel .draw-architecture-tools{margin-bottom:6px}
#drawArchitecturePanel .draw-architecture-tool{height:40px;font-size:12px;border-radius:18px}
#drawArchitecturePanel .draw-architecture-tool.active{background:var(--parz-accent);color:#272329;border-color:var(--parz-accent)}
#drawArchitecturePanel .native-draw-fields{display:flex;gap:12px;overflow-x:auto;touch-action:pan-x;padding-bottom:4px}
#drawArchitecturePanel .draw-architecture-field{flex:0 0 124px;display:flex;flex-direction:column;gap:3px;margin:0;font-size:11px}
#drawArchitecturePanel .draw-architecture-field input{box-sizing:border-box;width:100%;min-height:36px;font-size:14px;border-radius:12px}
#drawArchitecturePanel .draw-architecture-hint{font-size:10px;line-height:1.35;margin-top:5px}
body.draw-architecture-active #nativeSheet{display:none!important}
body.draw-architecture-active #objectSwitchMenu{top:76px!important;max-height:calc(100dvh - 310px);overflow-y:auto;z-index:190!important}
html body #drawArchitecturePanel .draw-architecture-head{height:30px;min-height:0;padding:0;margin:0 0 6px;border:0}
html body #drawArchitecturePanel .draw-architecture-hint{padding:0;margin:5px 0 0;border:0;font-size:10px;line-height:1.35}
html body.draw-architecture-active #nativeRail{bottom:220px}
html body #nativeHome{margin-left:auto;margin-right:8px;min-width:58px;min-height:38px;padding:7px 10px;font-size:12px;border-radius:18px;background:var(--parz-accent-soft);border:1px solid var(--parz-accent);color:#373435}
html body #nativeRail .rail-divider{flex:0 0 1px;min-height:1px}
html body #nativeProjectMenu{position:fixed;left:8px;top:16px;width:40px;height:40px;padding:6px;background:transparent;border:0;z-index:170;color:#373435;box-shadow:none}
#nativeProjectMenu svg{width:28px;height:28px}
#nativeProjectMenu .draft-dot{display:none;position:absolute;top:1px;left:1px;width:8px;height:8px;border-radius:50%;background:var(--parz-accent);box-shadow:0 0 0 2px white}
#nativeProjectMenu.unnamed .draft-dot{display:block;animation:parzDraftPulse 2s ease-in-out infinite}
@keyframes parzDraftPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.3;transform:scale(.8)}}
@media(prefers-reduced-motion:reduce){#nativeProjectMenu .draft-dot{animation:none!important}}
html body .parz-projectbar .tabs{left:60px!important}
html body #nativeFit{left:148px}
#nativeProjectDropdown{position:fixed;left:8px;top:64px;width:180px;padding:10px;box-sizing:border-box;border:1px solid var(--parz-accent);border-radius:20px;background:linear-gradient(135deg,var(--parz-menu-low),var(--parz-accent-soft));z-index:190;box-shadow:0 8px 24px #37343520}
#nativeProjectDropdown[hidden]{display:none!important}
#nativeProjectDropdown button{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;margin:0;padding:8px;font-size:13px;background:transparent;border:0;box-shadow:none}
html body #nativeProjectDropdown #nativeHome{margin:4px 0 0;width:100%;border-radius:14px}
#nativeProjectDropdown #nativeHome svg{width:24px;height:24px}
/* Compact, themed electrical assemblies. Layout is anchored below rotated previews. */
html body #socketContextMenu,html body #lightSwitchContextMenu{position:fixed!important;width:224px!important;max-width:calc(100vw - 20px);box-sizing:border-box;padding:10px!important;zoom:1!important;transform:none!important;border:1px solid var(--parz-accent)!important;border-radius:20px!important;background:linear-gradient(135deg,var(--parz-menu-low),var(--parz-accent-soft))!important;box-shadow:0 8px 24px #37343520!important;z-index:185!important}
html body .socket-context-menu-title{display:flex;align-items:center;justify-content:space-between;font-size:10px;min-height:30px;margin-bottom:6px;color:inherit}
html body .socket-context-menu .native-template-save{display:grid;place-items:center;min-width:30px;width:30px;height:30px;min-height:30px;padding:5px;border:0;border-radius:10px;background:var(--parz-accent-soft);box-shadow:none;color:inherit}
.native-template-save svg{width:20px;height:20px}
html body .socket-context-menu .section-symbol-palette,html body .socket-context-menu .switch-section-types{gap:4px}
html body .socket-context-menu .section-symbol-btn,html body .socket-context-menu .switch-section-type-btn{height:34px;min-height:34px;padding:4px;border-radius:9px;background:#ffffff70;border:1px solid var(--parz-accent-soft);color:inherit;box-shadow:none}
html body .socket-context-menu .section-symbol-btn svg,html body .socket-context-menu .switch-section-type-btn svg{width:24px;height:24px}
html body .socket-context-menu .section-symbol-btn.active,html body .socket-context-menu .switch-section-type-btn.active{background:var(--parz-accent);border-color:var(--parz-accent)}
html body .socket-context-menu .socket-section-controls{display:flex;justify-content:center;gap:12px;margin-top:8px;padding-top:8px;border-color:var(--parz-accent-soft)}
html body .socket-context-menu .socket-section-step{flex:0 0 36px;width:36px;height:30px;min-height:30px;padding:0;border:0;border-radius:12px;font-size:20px;background:var(--parz-accent-soft);color:inherit;box-shadow:none}
html body.native-scene-popup #nativeRail,html body.native-scene-popup #nativeMenuEye,html body.native-scene-popup #nativeLayers,html body.native-scene-popup #nativeSheet{visibility:hidden!important;pointer-events:none!important}
html body #nativeProjectMenu{border:0!important;outline:0;box-shadow:none!important}
html body #nativeProjectMenu .draft-dot{width:12px;height:12px;left:7px;top:7px;box-shadow:none;pointer-events:none}
@media(orientation:landscape){html body #nativeRail,html body.draw-architecture-active #nativeRail{top:72px;bottom:8px;max-height:none;height:auto;overflow-y:auto!important}html body #nativeMenuEye{top:32px;right:80px}html body #nativeSheet{right:78px;height:110px}html body #nativeLayers{top:76px;max-height:calc(100dvh - 88px)}}
html body .socket-context-menu .socket-variant-grid{margin-top:0;padding-top:0;border:0}
html body .socket-context-menu .socket-section-controls{margin-top:0;padding-top:0;border:0}
html body .socket-context-menu .section-symbol-btn.active,html body .socket-context-menu .switch-section-type-btn.active{box-shadow:none}
@media(orientation:landscape){html body #nativeMenuEye{top:76px;right:80px}}
html body .socket-context-menu .native-template-save{position:absolute;right:10px;top:10px}
html body .socket-context-menu .socket-section-controls{min-height:30px;padding-right:42px;padding-left:6px;justify-content:center}
/* In landscape the navigation becomes a left-hand toolbar. */
@media(orientation:landscape){
 html body{--header-h:0px}
 html body .parz-projectbar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:60px!important;height:100dvh!important;min-height:0!important;z-index:160!important}
 html body .parz-workspace{inset:0 0 0 60px!important}
 html body #nativeProjectMenu{top:12px;left:10px}
 html body .parz-projectbar .tabs{left:10px!important;top:66px!important;width:40px!important;height:80px!important;flex-direction:column!important}
 html body #nativeFit{top:156px;left:10px}
 html body #nativeHistory{left:10px;right:auto;top:206px;flex-direction:column;height:82px;gap:2px}
 html body .parz-projectbar #parzHeaderSettings{left:10px!important;right:auto!important;top:auto!important;bottom:12px!important}
 html body #nativeProjectDropdown{left:64px;top:12px}
 html body #nativeRail,html body.draw-architecture-active #nativeRail{top:54px;bottom:8px}
 html body #nativeMenuEye{top:8px;right:16px}
 html body #nativeSheet{left:66px;right:78px}
}
/* Sticky touch hover must follow the current theme, including the active Settings tab. */
html body #parzBaseSettings nav button:hover{background:var(--parz-accent-soft)!important}
html body #parzBaseSettings nav button[aria-selected=true],html body #parzBaseSettings nav button[aria-selected=true]:hover{background:linear-gradient(110deg,var(--parz-accent),var(--parz-accent-soft))!important;color:#373435!important}
html body #svg2d .native-electrical-selected .socket-color-shape,html body #svg2d .native-electrical-selected .switch-color-shape,html body #svg2d .native-electrical-selected .viewport-section-frame{stroke:#19a64a!important}
html body #svg2d .native-electrical-selected .switch-point-axis,html body #svg2d .native-electrical-selected .socket-point-axis{stroke:#19a64a!important}
/* Suppress Android WebView's rectangular tap flash; keep focus and selected states. */
html,body,body *{-webkit-tap-highlight-color:transparent!important}
/* Open menu buttons use the current theme for their original icon artwork. */
html body #nativeProjectMenu[aria-expanded=true],html body #nativeRail [data-layers][aria-expanded=true],html body .parz-projectbar #parzHeaderSettings[aria-expanded=true]{color:var(--parz-accent)!important}

html body #nativeHistory button.native-pressed,html body #nativeDrawPlan[aria-pressed=true]{color:var(--parz-accent)!important}

html body #nativeDrawPlan[aria-pressed=true]{background:var(--parz-accent-soft)!important}

#nativeDrawingControls .architecture-resize-handle{stroke:var(--parz-accent)!important}

html body #objectSwitchMenu:has(.room-type-text-btn){position:fixed!important;left:12px!important;right:12px!important;top:82px!important;bottom:auto!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:calc(100dvh - 310px)!important;transform:none!important;z-index:1200!important;padding:14px!important;box-sizing:border-box;overflow:auto!important}
html body #objectSwitchMenu:has(.room-type-text-btn) .object-switch-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
html body #objectSwitchMenu .room-type-text-btn{min-width:0!important;width:100%!important;min-height:44px!important;font-size:13px!important;padding:10px 5px!important;white-space:normal!important;box-sizing:border-box}
html body #objectSwitchMenu:has(.room-type-text-btn) .object-switch-empty{font-size:11px!important;margin-top:12px!important}
html body #objectSwitchMenu:has(.room-type-text-btn) #objectSwitchTitle{font-size:15px!important}
html body:has(#objectSwitchMenu.open .room-type-text-btn) #nativeRail{visibility:hidden!important}
html body #nativeDrawingControls .architecture-door-resize-handle{fill:#fff!important;stroke:var(--parz-accent)!important;stroke-width:3!important;opacity:1!important}
#nativeOpeningSize{width:min(300px,calc(100vw - 40px));box-sizing:border-box;border:1px solid #373435;border-radius:22px;padding:20px;background:linear-gradient(120deg,var(--parz-menu-low),var(--parz-accent-soft));color:#373435}
#nativeOpeningSize::backdrop{background:#0005}
#nativeOpeningSize label{display:flex;flex-direction:column;gap:12px;font-size:17px}
#nativeOpeningSize input{width:100%;box-sizing:border-box;min-height:48px;border:1px solid #aaa;border-radius:12px;background:#fff;font-size:22px;padding:8px}
#nativeOpeningSize footer{display:flex;gap:10px;margin-top:14px}
#nativeOpeningSize button{flex:1;min-height:44px;border-radius:16px;background:#fff9;font-size:14px}
#nativeOpeningSize [data-apply]{background:var(--parz-accent)}
#nativeOpeningSize p{font-size:12px}
#nativeColorPicker .native-color-gradient{position:relative;height:150px;border-radius:14px;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent);touch-action:none;margin:8px 6px 18px}
#nativeColorPicker .native-color-spectrum{position:relative;height:25px;border-radius:20px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);touch-action:none;margin:0 6px 12px}
#nativeColorPicker .native-color-gradient i,#nativeColorPicker .native-color-spectrum i{position:absolute;width:18px;height:18px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #373435;transform:translate(-50%,-50%);pointer-events:none}
#nativeColorPicker .native-color-spectrum i{top:50%}
.native-sun-controls{border:0;border-bottom:1px solid #aaa6;margin:0 0 16px;padding:0 0 14px}
.native-sun-controls input[type=range]{width:100%;accent-color:var(--parz-accent)}
.native-sun-controls .parz-drawing-row{grid-template-columns:1fr 1fr}
html body:is(.native-adjusting-sun,.native-adjusting-color) :is(#parzBaseSettings,#parzBaseSettings *,#nativeRail,#nativeMenuEye,#nativeLayers,#nativeSheet,.parz-projectbar,#nativeProjectMenu,#drawArchitecturePanel,#objectSwitchMenu){visibility:hidden!important}
html body.native-adjusting-sun #parzBaseSettings .native-preview-control input[type=range]{visibility:visible!important}
html body.native-adjusting-sun #parzBaseSettings .native-preview-control{background:none!important;border:0!important;box-shadow:none!important}
html body.native-adjusting-color #nativeColorPicker::backdrop{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

html body:is(.native-adjusting-sun,.native-adjusting-color) :is(#nativeHistory,#nativeFit){visibility:hidden!important}
html body.native-adjusting-color #nativeColorPicker,html body.native-adjusting-color #nativeColorPicker *{visibility:hidden!important}
html body.native-adjusting-color #nativeColorPicker :is(.native-color-gradient,.native-color-spectrum),html body.native-adjusting-color #nativeColorPicker :is(.native-color-gradient,.native-color-spectrum) *{visibility:visible!important}

html body.native-adjusting-sun #parzBaseSettings .native-preview-control input[type=range]{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;outline:none!important}
html body.native-adjusting-sun #parzBaseSettings,html body.native-adjusting-sun #parzBaseSettings *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;box-shadow:none!important}
html body .parz-projectbar .tab:not(.active){color:#fff!important}
.native-sun-controls input[type=checkbox]{accent-color:var(--parz-accent)!important}
html body:is(.native-editing-number,.native-selecting-setting) :is(#parzBaseSettings,#parzBaseSettings *,#nativeRail,#nativeMenuEye,#nativeLayers,#nativeSheet,#nativeSheet *,#nativeHistory,#nativeFit,.parz-projectbar,#nativeProjectMenu,#drawArchitecturePanel,#drawArchitecturePanel *,#objectSwitchMenu,#nativeOpeningSize,#nativeOpeningSize *){visibility:hidden!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;box-shadow:none!important}
html body.native-editing-number input.native-active-number{visibility:visible!important;border:1px solid var(--parz-accent)!important;background:#fff!important;color:#373435!important}
body.native-editing-number #nativeOpeningSize::backdrop{background:transparent!important}
#nativeSettingsDropdown{position:fixed;z-index:100100;overflow-y:auto;overscroll-behavior:contain;padding:6px;box-sizing:border-box;border:1px solid var(--parz-accent);border-radius:18px;background:linear-gradient(110deg,var(--parz-menu-low),var(--parz-accent-soft));box-shadow:0 8px 24px #0002}
#nativeSettingsDropdown[hidden]{display:none!important}
#nativeSettingsDropdown button{display:block;width:100%;min-height:40px;text-align:left;border:0;border-radius:12px;padding:9px 12px;background:transparent;color:#373435;font:inherit;font-size:14px}
#nativeSettingsDropdown button[aria-selected=true],#nativeSettingsDropdown button:focus-visible{background:var(--parz-accent);color:white}
#nativeRestoreDrawing{width:min(330px,calc(100vw - 32px));box-sizing:border-box;border:1px solid var(--parz-accent);border-radius:24px;padding:22px;background:linear-gradient(110deg,var(--parz-menu-low),var(--parz-accent-soft));color:#373435}
#nativeRestoreDrawing h2{font-size:19px}#nativeRestoreDrawing p{font-size:15px;line-height:1.5}#nativeRestoreDrawing footer{display:flex;gap:10px}#nativeRestoreDrawing button{flex:1;min-height:44px;border:0;border-radius:16px;background:#fff9;font:inherit}#nativeRestoreDrawing [data-restore]{background:var(--parz-accent)}#nativeRestoreDrawing::backdrop{background:#0004}
html body.native-editing-number :is(#parzBaseSettings,#nativeSheet,#nativeOpeningSize,#drawArchitecturePanel,#objectSwitchMenu) input.native-active-number{visibility:visible!important;border:1px solid var(--parz-accent)!important;background:#fff!important;color:#373435!important}
html body.native-editing-number input.native-active-number:focus{outline:none!important;outline-offset:0!important}
/* Keep fixed Android controls in independent compositor layers when the SVG zooms. */
html body #svg2d{contain:paint;isolation:isolate;overflow:hidden}
html body :is(.parz-projectbar,#nativeRail,#nativeMenuEye,#nativeHistory,#nativeFit,#nativeProjectMenu,#nativeLayers,#nativeSheet){will-change:transform;backface-visibility:hidden;isolation:isolate}


#nativeSettingsDropdown{margin:0;right:auto;bottom:auto;visibility:visible!important;color:#373435}#nativeSettingsDropdown::backdrop{background:transparent;pointer-events:none}#nativeSettingsDropdown button{visibility:visible!important}
.parz-drawing-save{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.parz-drawing-save input,.parz-drawing-save select{width:100%;min-width:0;box-sizing:border-box}.parz-drawing-save button{grid-column:1/-1}

#parzBaseSettings .parz-drawing-save{display:grid!important;width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
#parzBaseSettings .parz-drawing-save label{display:flex!important;flex-direction:column;gap:6px;min-width:0;font-size:14px!important;color:#373435}
#parzBaseSettings .parz-drawing-save input,#parzBaseSettings .parz-drawing-save select{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:46px!important;min-height:46px!important;flex:none!important;font-size:16px!important;padding:8px 12px!important;border:1px solid var(--parz-accent)!important;border-radius:14px!important;background:#ffffffcf!important;color:#373435!important;box-sizing:border-box!important}
#parzBaseSettings .parz-drawing-save button{width:100%;min-height:44px;grid-column:1/-1;background:var(--parz-accent)!important;color:#fff!important;border-radius:14px}
@media(min-width:550px){#parzBaseSettings .parz-drawing-save{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}}

#nativeReplaceLayout{width:min(350px,calc(100vw - 32px));box-sizing:border-box;border:1px solid var(--parz-accent);border-radius:24px;padding:22px;background:linear-gradient(110deg,var(--parz-menu-low),var(--parz-accent-soft));color:#373435;font:inherit}
#nativeReplaceLayout h2{font-size:19px}#nativeReplaceLayout p{font-size:15px;line-height:1.5}#nativeReplaceLayout footer{display:flex;gap:10px}#nativeReplaceLayout button{flex:1;min-height:44px;border:0;border-radius:16px;background:#fff9;font:inherit}#nativeReplaceLayout [data-confirm]{background:var(--parz-accent);color:white}#nativeReplaceLayout::backdrop{background:#0004}

#parzBaseSettings input:is([data-drawing=lightAxes],[data-drawing=sunShadows]){width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;accent-color:var(--parz-accent)!important;appearance:auto!important;padding:0!important;justify-self:start}

body.native-textured-workspace #viewer{background-image:none!important}
#parzBaseSettings input[data-drawing="floorTransparent"]{width:18px!important;height:18px!important;min-width:18px!important;appearance:auto!important;accent-color:var(--parz-accent,#a1b4a5)}
html body.native-adjusting-sun #parzBaseSettings input.native-preview-control[type=range]{visibility:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
#nativeExportMenu{position:fixed;z-index:100050;right:74px;top:var(--parz-bar-height,80px);width:min(290px,calc(100vw - 95px));max-height:75vh;overflow:auto;padding:16px;border:1px solid var(--parz-accent,#b7a6c9);border-radius:22px;background:linear-gradient(140deg,var(--parz-accent,#d9cce5),#f7f7f5);box-shadow:0 8px 32px #0002}#nativeExportMenu[hidden]{display:none!important}#nativeExportMenu header{display:flex;align-items:center;justify-content:space-between}#nativeExportMenu button{border:1px solid #aaa7;border-radius:16px;background:#ffffffb0;color:#333;padding:10px;font:inherit;min-height:42px}#nativeExportMenu header button{border:0;background:none;font-size:24px}#nativeExportMenu .export-formats{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:12px 0}#nativeExportMenu [aria-pressed=true]{background:var(--parz-accent,#b7a6c9);color:white}#nativeExportMenu label{display:flex;flex-direction:column;gap:7px;margin:12px 0}#nativeExportMenu select{font:inherit;padding:10px;border-radius:12px;border:1px solid #aaa;background:#fff}#nativeExportMenu .export-note{font-size:12px;line-height:1.5}#nativeExportMenu .export-submit{width:100%}#nativeExportMenu button:disabled{opacity:.45}#nativeRail .rail-export{padding:9px!important;width:44px!important;height:44px!important;min-height:44px!important;border-radius:50%!important}#nativeRail .rail-export svg{width:26px;height:26px}
#nativeExportMenu header{background:none!important;border:0!important;padding:0!important;box-shadow:none!important}#nativeExportMenu .export-choice{display:flex;flex-direction:column;gap:4px;padding:6px;background:#ffffffc9;border:1px solid var(--parz-accent);border-radius:14px;max-height:180px;overflow:auto}#nativeExportMenu .export-choice button{font-size:13px;padding:7px;min-height:36px}
html body.pdf-layout-active,html body.pdf-layout-active #viewer,html body.pdf-layout-active #pdfLayoutOverlay,html body.pdf-layout-active #pdfPaperFrame{touch-action:none!important;overscroll-behavior:none!important}html body.pdf-layout-active #pdfLayoutToolbar{touch-action:pan-x!important;max-width:calc(100vw - 24px)!important;box-sizing:border-box;flex-wrap:wrap;gap:8px;padding:10px;background:var(--parz-menu-fill,#e5dced)!important;border:1px solid var(--parz-accent,#b7a6c9)!important;border-radius:18px!important;box-shadow:0 5px 18px #0002!important;color:#373435!important}html body #pdfLayoutToolbar :is(button,select){font-family:'Swis721 Ex BT',sans-serif!important;font-size:12px!important;letter-spacing:.03em;height:38px!important;min-height:38px!important;padding:0 10px!important;border:1px solid var(--parz-accent,#b7a6c9)!important;border-radius:13px!important;background:#ffffffb0!important;color:#373435!important}html body #pdfLayoutToolbar #pdfExportConfirm{background:var(--parz-accent,#b7a6c9)!important;color:white!important}html body #pdfLayoutToolbar #pdfExportCancel{background:#ffffffb0!important;color:#373435!important}html body #pdfPaperFrame{border:2px solid var(--parz-accent,#b7a6c9)!important;background:transparent!important;box-shadow:0 0 0 1px #fff9!important;touch-action:none!important}html body #pdfPaperFrame:before{background:var(--parz-menu-fill,#e5dced)!important;border:1px solid var(--parz-accent,#b7a6c9);border-radius:10px!important;color:#373435!important;padding:6px 9px!important;font-family:'Swis721 Ex BT',sans-serif!important}html body #pdfPaperFrame:after{border-color:var(--parz-accent,#b7a6c9)!important}
body.pdf-layout-active :is(#nativeRail,#nativeMenuEye,#nativeSheet,#nativeLayers){visibility:hidden!important;pointer-events:none!important}
/* One compact row; only the drawing responds to pinch gestures. */
html body.pdf-layout-active #pdfLayoutToolbar{flex-wrap:nowrap!important;gap:6px!important;padding:8px!important;max-width:calc(100vw - 16px)!important;overflow:visible!important;align-items:center}
html body #pdfLayoutToolbar :is(button,select){font-size:11px!important;padding:0 6px!important;min-width:0!important;flex-shrink:0}
html body #pdfLayoutToolbar #pdfPaperFormat{width:52px!important}html body #pdfLayoutToolbar #pdfOrientation{width:94px!important}
html body #pdfLayoutToolbar .native-pdf-toggle{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;color:#373435;flex-shrink:0;margin:0;padding:0}
html body #pdfLayoutToolbar .native-pdf-toggle input{appearance:auto!important;width:17px!important;height:17px!important;min-width:17px!important;margin:0!important;padding:0!important;accent-color:var(--parz-accent)}
html body #pdfLayoutToolbar #pdfExportCancel{position:absolute!important;right:0!important;top:-36px!important;width:30px!important;height:30px!important;min-height:30px!important;border-radius:50%!important;font-size:25px!important;line-height:1!important;padding:0!important;background:var(--parz-menu-fill,#e5dced)!important}
html body #pdfPaperFrame::before{display:none!important;content:none!important}
#nativePdfBrandPreview{position:absolute;inset:0;opacity:.5;pointer-events:none;overflow:hidden}
html body #pdfLayoutToolbar #pdfOrientation{width:106px!important;font-size:10px!important}
html body #pdfLayoutToolbar #pdfOrientation{display:none!important}
html body #pdfLayoutToolbar :is(#nativePdfOrientation,#pdfExportConfirm){width:34px!important;min-width:34px!important;padding:4px!important;display:flex;align-items:center;justify-content:center}
#pdfLayoutToolbar :is(#nativePdfOrientation,#pdfExportConfirm) svg{width:24px;height:24px}
html body #pdfLayoutToolbar .native-export-line-scale{display:flex;flex-direction:column;gap:2px;font-size:8px!important;width:75px;line-height:1.2;white-space:normal;color:#373435}
html body #pdfLayoutToolbar .native-export-line-scale input{width:65px!important;min-width:0!important;height:24px!important;min-height:24px!important;box-sizing:border-box;border:1px solid var(--parz-accent);border-radius:8px;background:#ffffffb0;padding:2px 6px;font:inherit;font-size:12px!important;color:#373435}
#nativeExportMenu .native-export-line-scale input{font:inherit;min-height:36px;border:1px solid var(--parz-accent);border-radius:10px;padding:5px 10px;width:100%;box-sizing:border-box}
#nativeAnnotations{position:fixed;inset:0;z-index:200000;background:var(--parz-menu-low,#f6f5f3);touch-action:none;overscroll-behavior:none}
#nativeAnnotations canvas{background:white}
#nativeAnnotations .annotation-bar{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100vw - 20px);padding:10px;border:1px solid var(--parz-accent);border-radius:22px;background:linear-gradient(120deg,var(--parz-menu-low),var(--parz-accent-soft));box-shadow:0 5px 20px #0002}
#nativeAnnotations .annotation-row{display:flex;align-items:center;justify-content:center;gap:7px;margin:4px 0}
#nativeAnnotations button{width:36px;height:36px;min-width:36px;border-radius:50%;border:1px solid #8888;background:#ffffffb0;color:#373435;padding:6px;touch-action:manipulation}
#nativeAnnotations button[aria-pressed=true]{outline:2px solid var(--parz-accent);outline-offset:2px;background:var(--parz-accent-soft)}
#nativeAnnotations button.annotation-color{width:29px;height:29px;min-width:29px;padding:0}
#nativeAnnotations svg{width:24px;height:24px}
body.native-annotating :is(.parz-projectbar,#nativeRail,#nativeMenuEye,#nativeHistory,#nativeProjectMenu,#nativeFit,#nativeSheet,#nativeLayers){visibility:hidden!important;pointer-events:none!important}
#nativeExportMenu .export-draw{width:44px;height:44px;padding:8px;border-radius:50%}#nativeExportMenu .export-draw svg{width:26px;height:26px}
#parzBaseSettings input[aria-label^="Background "]{width:100%;accent-color:var(--parz-accent)}
.export-draw-row{display:flex;align-items:center;gap:12px}
.export-draw-loading{display:block;width:110px;height:5px;overflow:hidden;background:#aaa4;border-radius:10px}.export-draw-loading[hidden]{display:none}.export-draw-loading i{display:block;width:45%;height:100%;background:var(--parz-accent);border-radius:10px;animation:parzDrawLoading 1.1s ease-in-out infinite}@keyframes parzDrawLoading{from{transform:translateX(-100%)}to{transform:translateX(325%)}}
#nativeAnnotations .annotation-bar{padding-top:14px}
#nativeAnnotations button.annotation-close{position:absolute;right:-5px;top:-38px;width:30px;height:30px;min-width:30px;padding:3px;border:0;background:var(--parz-menu-low);color:var(--parz-accent);box-shadow:0 2px 8px #0002}
#nativeAnnotations .annotation-width{display:flex;align-items:center;gap:8px;color:#373435;font-size:11px;margin:10px 2px 2px}#nativeAnnotations .annotation-width input{min-width:0;flex:1;width:100px;accent-color:var(--parz-accent)}#nativeAnnotations .annotation-width output{min-width:24px;text-align:right}
#nativeAnnotations .annotation-row{gap:5px}
#nativeAnnotations .annotation-row button{width:34px;height:34px;min-width:34px;padding:5px}
#nativeAnnotations .annotation-export-loading{width:100%;margin-top:8px}
#nativeAnnotations.annotation-exporting canvas,#nativeAnnotations.annotation-exporting button,#nativeAnnotations.annotation-exporting input{pointer-events:none}
#nativeAnnotations button:disabled{opacity:.35}
#nativeAnnotations .annotation-width input{touch-action:none}
