@font-face{font-family:RobotoPainting;src:url('assets/Roboto-Italic.ttf') format('truetype');font-style:italic;font-display:swap}
:root{--ink:#352f2c;--muted:#655d57;--brand:#4c4540;--soft:#e6e0dc;--line:#cfc5bd;--focus:#87512d}*{box-sizing:border-box}body{margin:0;background:#f6f4f2;color:var(--ink);font:18px/1.6 'Open Sans',Arial,sans-serif}button,input,select{font:inherit}button,.button,summary{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.upload:focus-within{outline:3px solid var(--focus);outline-offset:4px}button:disabled{opacity:.5;cursor:wait}button{min-height:48px}header{background:#fff;display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:24px max(28px,calc((100vw - 1440px)/2));border-bottom:1px solid var(--line)}.brand{font:32px/1.3 'Playfair Display',Georgia,serif;letter-spacing:.025em}.brand-sub{font-size:17px;color:var(--muted)}main{max-width:1496px;margin:0 auto;padding:30px 28px}.heading{background:var(--soft);padding:26px 30px;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;border-radius:4px}h1{font:38px/1.25 'Playfair Display',Georgia,serif;margin:0 0 8px}.heading p{margin:0;font-size:18px;color:var(--muted)}.upload{background:var(--brand);color:white;display:flex;align-items:center;justify-content:center;gap:12px;min-height:60px;padding:13px 25px;white-space:nowrap;border-radius:4px;font-size:20px;font-weight:600}.upload:hover,.primary:hover{background:#352f2c}.upload input{position:absolute;width:1px;height:1px;opacity:0}.step-number{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;border:1px solid currentColor;border-radius:50%;font:18px/1 Arial,sans-serif}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:26px;align-items:start}.workbench{background:white;border:1px solid var(--line);border-radius:5px;overflow:hidden}.bench-head{padding:0 24px 14px;border-bottom:1px solid var(--line)}[role=tablist]{display:flex;gap:26px}.tab{border:0;border-bottom:3px solid transparent;background:none;font-size:19px;padding:20px 0 14px;color:var(--muted);font-weight:500}.tab.active{border-color:var(--brand);color:var(--ink);font-weight:700}#photoName{display:block;font-size:16px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:8px}#previewStage{min-height:570px;padding:26px;background:#e9e5e2;display:grid;place-items:center}#preview{display:block;width:min(100%,650px);height:auto;box-shadow:0 4px 18px #352f2c15}#previewEmpty{max-width:450px;text-align:center;padding:25px;color:var(--muted);font-size:20px}.bench-note{font-size:16px;color:var(--muted);margin:18px 24px;line-height:1.65}.canvas-message{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px;font-size:17px}.secondary{border:1px solid #a79a90;background:#fff;color:var(--ink);padding:10px 15px;border-radius:4px;font-size:16px}.secondary:hover{background:#f2efec}.mask-tools{padding:0 22px 18px;display:flex;gap:18px;flex-wrap:wrap;justify-content:space-between;align-items:center}.tool-group{display:flex;gap:7px;flex-wrap:wrap}.tool-group button{font-size:17px;padding:9px 16px;background:white;color:var(--ink);border:1px solid #a99d94;border-radius:4px}.tool-group button.selected{background:var(--brand);color:white}.mask-tools label{font-size:16px;display:flex;align-items:center;gap:10px}.mask-tools input{width:100px;accent-color:var(--brand)}#stage{position:relative;height:490px;padding:24px;overflow:auto;overscroll-behavior:contain;background-color:#e4e3e1;background-image:linear-gradient(45deg,#d7d5d2 25%,transparent 25%),linear-gradient(-45deg,#d7d5d2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d7d5d2 75%),linear-gradient(-45deg,transparent 75%,#d7d5d2 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}#editor{display:block;touch-action:none;cursor:crosshair;margin:0 auto}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#e6e0dc;color:var(--muted);font-size:20px}.canvas-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:20px 22px 0}.corner-picker{display:flex;gap:8px}.corner-picker button{width:44px;border:1px solid #a79a90;background:white;border-radius:4px;color:var(--ink)}.corner-picker button.selected{background:var(--brand);color:white}.zoom-label{display:flex;align-items:center;gap:10px;font-size:16px}.zoom-label input{width:110px;accent-color:var(--brand)}.zoom-label span{min-width:45px}.corrections{margin:20px 22px;border-top:1px solid var(--line);padding-top:15px}summary{font-size:17px;color:var(--brand);padding:10px 0;font-weight:600;min-height:48px}.mask-settings{padding-top:18px}.mask-settings label{font-size:17px;display:block}.mask-settings>input{display:block;width:100%;margin:12px 0;accent-color:var(--brand)}.mask-settings p{font-size:16px;color:var(--muted);line-height:1.65;margin:12px 0 22px}.mask-settings output{float:right}.mask-settings .check-label{display:flex;align-items:center;gap:12px;font-weight:600}.check-label input{width:23px;height:23px;accent-color:var(--brand)}.done-editing{margin:0 22px 24px;font-size:18px}.details{padding:26px;background:white;border:1px solid var(--line);border-radius:5px}.details h2{display:flex;gap:12px;align-items:center;font:26px/1.3 Georgia,serif;margin:0 0 26px}.details label{display:block;font-size:18px;font-weight:600;margin-bottom:21px}.details input,.details select{display:block;width:100%;height:54px;font-size:20px;color:var(--ink);border:1px solid #ad9f95;background:#fff;border-radius:4px;margin-top:9px;padding:10px 13px}.details input:focus{background:#fffdf9}.dimensions{display:flex;gap:10px}.dimensions label{flex:1;min-width:0}.times{padding-top:46px;font-size:20px;color:var(--muted)}.layout-note{font-size:16px;color:var(--muted)}.layout-note strong{font-weight:600}.layout-note p{font-size:16px;margin:4px 0 0}.rule{border-top:1px solid var(--line);margin:24px 0}.primary{width:100%;display:flex;justify-content:center;align-items:center;gap:12px;min-height:62px;padding:14px 12px;border:0;border-radius:4px;background:var(--brand);color:white;font-size:20px;font-weight:600}#status{color:#4c4540;font-size:18px;line-height:1.6;margin:16px 0 0}#status:empty{display:none}.export-note{font-size:16px;line-height:1.6;margin:18px 0;color:var(--muted)}.export-options{border-top:1px solid var(--line);padding-top:8px}.export-options label{margin-top:12px;font-size:16px}.export-options select{font-size:17px}.export-options p{font-size:15px;color:var(--muted);margin:10px 0 0}.privacy{font-size:16px;color:var(--muted);margin:18px 7px;line-height:1.6}footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:26px;font-size:16px;color:var(--muted)}.text-button{border:0;background:none;color:var(--brand);font-size:16px;padding:8px 0;text-decoration:underline;text-underline-offset:4px}#magnifier{position:fixed;right:24px;bottom:24px;display:none;width:220px;height:171px;pointer-events:none;z-index:20;border:3px solid white;border-radius:5px;box-shadow:0 5px 24px #0004;background:#e6e0dc}[hidden]{display:none!important}@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 320px;gap:20px}.details{padding:22px}.heading{padding:24px}.canvas-message{flex-wrap:wrap}#previewStage{min-height:430px;padding:20px}.tab{font-size:18px}[role=tablist]{gap:20px}.details h2{font-size:23px}}@media(max-width:800px), (pointer:coarse) and (max-height:500px){header{padding:20px}.brand{font-size:27px}.brand-sub{font-size:15px}main{padding:20px 14px}.heading{display:block;padding:23px 21px;margin-bottom:20px}.heading p{font-size:17px}.upload{margin-top:22px;width:100%;font-size:20px}h1{font-size:32px}.workspace{grid-template-columns:1fr}.bench-head{padding:0 18px 14px}[role=tablist]{gap:18px}.tab{font-size:18px}#previewStage{min-height:330px;padding:18px}#stage{height:360px;padding:24px}.bench-note{margin:16px 18px;font-size:16px}.details{padding:24px}.details h2{font-size:26px}.details input{height:56px}.privacy{text-align:center;font-size:16px}.canvas-message{padding:16px 18px;gap:12px;font-size:17px}.mask-tools{padding:0 18px 18px}.tool-group button{padding:8px 12px;min-height:48px}.mask-tools label{flex-wrap:wrap}.canvas-tools{padding:18px 18px 0}.corrections{margin:18px}.done-editing{margin:0 18px 20px}footer{align-items:start;flex-direction:column;gap:8px;font-size:15px}#magnifier{width:180px;height:140px;right:12px;bottom:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.ai-options{background:white;border:1px solid var(--line);border-radius:5px;padding:20px 24px;margin-bottom:24px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.ai-options>label{font-weight:600}.ai-options select,.ai-options input{font:inherit;border:1px solid #ad9f95;border-radius:4px;background:white;padding:10px 14px;min-height:52px;max-width:100%}.ai-options p{width:100%;margin:0;color:var(--muted);font-size:16px}.ai-options form{display:flex;gap:14px;align-items:end;flex-wrap:wrap;width:100%}.ai-options form label{display:grid;gap:6px}.stepper{list-style:none;padding:0;margin:0 0 26px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stepper button{width:100%;height:100%;min-height:94px;padding:14px;text-align:left;background:#ede8e3;border:1px solid var(--line);border-radius:5px;color:var(--ink);font-size:17px;display:flex;align-items:center;gap:12px;line-height:1.4}.stepper span{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:1px solid currentColor;border-radius:50%}.stepper [aria-current=step]{background:var(--brand);color:white;border-color:var(--brand)}.stepper button:disabled{opacity:.65;cursor:default}.stepper .complete span{background:#ddd5cd}.analysis-panel{padding:50px 28px;background:white;border:1px solid var(--line);text-align:center;border-radius:5px;min-height:310px}.analysis-panel h2{font:30px/1.4 Georgia,serif;margin:0 0 15px}.analysis-panel p{color:var(--muted)}.analysis-panel progress{width:min(100%,420px);height:18px;accent-color:var(--brand)}.analysis-panel ol{list-style:none;padding:0;color:var(--muted)}.analysis-panel li{margin:10px}.analysis-panel .done:before{content:'✓ ';color:#38633c}.analysis-panel .running{font-weight:700;color:var(--ink)}.workspace.review{grid-template-columns:minmax(0,1fr)}.workspace.review .bench-head [role=tablist]{display:none}.done-editing.primary{width:calc(100% - 44px)}#continueDownload{margin-bottom:16px}#refineBoundary{margin-bottom:12px}.workflow-hint{font-size:18px}
@media(max-width:800px), (pointer:coarse) and (max-height:500px){.stepper{grid-template-columns:repeat(2,1fr);gap:8px}.stepper button{font-size:16px;min-height:100px;padding:12px;gap:9px}.stepper span{width:28px;height:28px}.ai-options{padding:18px}.ai-options>label{width:100%}.ai-options select{width:100%}.analysis-panel{padding:35px 20px}.analysis-panel h2{font-size:26px}.done-editing.primary{width:calc(100% - 36px)}}
/* Refined gallery workspace and phone layout. */
body{background:#f5f2ee}header{background:#fcfaf7;padding-top:20px;padding-bottom:20px}.brand{font-size:30px}.brand-sub{letter-spacing:.08em;text-transform:uppercase;font-size:13px}main{max-width:1320px;padding-top:24px}.heading{border-radius:16px;background:#e9e2db;padding:32px;margin-bottom:24px}h1{font-size:40px}.upload{border-radius:8px;box-shadow:0 4px 12px #352f2c12}.upload svg{width:23px;height:23px;flex-shrink:0}.step-caption{font-size:17px;font-weight:600;margin:0 0 10px;color:var(--muted)}.stepper{gap:8px;margin-bottom:22px}.stepper button{border-radius:10px;min-height:78px;font-size:16px;background:#faf8f5}.stepper button.complete{border-color:#bcb0a4}.stepper .complete span{color:var(--ink)}.workbench,.details,.analysis-panel{border-radius:12px;box-shadow:0 3px 14px #352f2c06}.analysis-panel{min-height:330px;display:flex;flex-direction:column;justify-content:center;align-items:center}.analysis-panel p{max-width:540px;margin:0 auto 20px}.analysis-panel h2{max-width:620px}.analysis-panel li{text-align:left}.analysis-panel .running:before{content:'● ';color:#8b6749}.primary{border-radius:8px}.tool-group button,.secondary{border-radius:7px}.upload-privacy{font-size:15px;color:var(--muted);line-height:1.6;margin:-10px 4px 24px;max-width:800px}.workspace{gap:22px}.workspace>*{min-width:0}.canvas-message{min-height:82px}input[type=range]{min-height:36px}.details input,.details select{border-radius:7px}#previewStage{background:#ece7e1}#refineBoundary:disabled{cursor:default}#stage{height:510px}
@media(max-width:800px), (pointer:coarse) and (max-height:500px){
 header{padding:16px 18px;gap:8px}.brand{font-size:25px}.brand-sub{font-size:10px;letter-spacing:.05em}main{padding:18px 12px 110px}.heading{border-radius:12px;padding:24px 20px;margin-bottom:18px}h1{font-size:32px}.heading p{line-height:1.5}.upload{min-height:56px;margin-top:20px}.upload-privacy{font-size:14px;margin:0 4px 20px}
 nav[aria-label="Hazırlama adımları"]{position:sticky;top:0;z-index:5;background:#f5f2eef5;padding:10px 0 8px;backdrop-filter:blur(10px)}.step-caption{font-size:16px;margin:0 4px 8px}.stepper{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:0}.stepper button{flex-direction:column;justify-content:center;gap:5px;padding:9px 3px;min-height:76px;font-size:0;line-height:1.1;border-radius:8px}.stepper button:after{content:attr(data-short);font-size:14px;font-weight:600}.stepper span{font-size:16px;width:28px;height:28px}
 .workspace{margin-top:14px;gap:18px}.analysis-panel{min-height:280px;padding:30px 18px;margin-top:14px}.analysis-panel h2{font-size:27px}.analysis-panel p{font-size:17px}.analysis-panel li{font-size:16px;margin:12px 0}.workbench{border-radius:10px}.bench-head{padding:0 14px 10px}#photoName{font-size:14px}.tab{font-size:16px;padding:15px 0 12px;min-height:50px}[role=tablist]{gap:18px}
 #stage{height:clamp(260px,48svh,470px);padding:12px}.mask-tools{padding:0 12px 12px;gap:12px;display:block}.tool-group{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.tool-group button{padding:10px 5px;min-height:50px;font-size:16px}.mask-tools label{margin-top:12px;justify-content:space-between}.mask-tools input{flex:1;max-width:180px}.canvas-message{padding:14px;font-size:16px;min-height:0;gap:10px}.canvas-message .secondary{font-size:14px;min-height:44px}.canvas-tools{padding:14px 12px 0;gap:12px}.corner-picker button{min-width:48px;min-height:48px}.zoom-label{width:100%;justify-content:space-between}.zoom-label input{flex:1;max-width:190px}.bench-note{font-size:15px;margin:14px}.corrections{margin:14px}.corrections summary{font-size:16px}.check-label{min-height:50px}
 .done-editing.primary,#continueDownload:not([hidden]),#download:not([hidden]){position:fixed;z-index:10;bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px;width:auto;margin:0;min-height:58px;font-size:18px;box-shadow:0 4px 24px #352f2c35;padding:13px 14px}.done-editing.primary:disabled{opacity:1;background:#a69b92;color:#fff}.done-editing{margin:0 14px 18px}#previewStage{padding:12px;min-height:240px}#preview{max-height:55svh;width:auto;max-width:100%;object-fit:contain}.details{padding:22px 18px}.details h2{font-size:26px;margin-bottom:22px}.details label{font-size:18px}.details input{font-size:20px;min-height:56px}.privacy{font-size:14px;margin:14px 6px}footer{padding-bottom:16px}#magnifier{display:none!important}
 body:not([data-step="1"]) .heading{display:flex;align-items:center;padding:15px 16px;gap:12px;margin-bottom:8px}body:not([data-step="1"]) .heading h1{font-size:22px;margin:0}body:not([data-step="1"]) .heading p,body:not([data-step="1"]) .upload-privacy{display:none}body:not([data-step="1"]) .upload{font-size:15px;padding:10px 13px;margin:0;width:auto;min-height:48px;gap:6px}body:not([data-step="1"]) .upload svg{width:18px}
}
@media(max-width:360px){.brand-sub{display:none}.stepper button:after{font-size:12px}body:not([data-step="1"]) .heading h1{font-size:19px}.tool-group button{font-size:15px}}

#analysisPanel{scroll-margin-top:110px}

/* The photo occupies one stable viewport; only the controls below change. */
#photoDock{height:30vh;padding:12px;background:#eae5df;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;overflow:hidden;margin-bottom:18px}
#loadedPhoto{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
#refinement{margin:0 0 20px}#refinement>summary{margin:0 20px;padding:14px 0}.review-intro{margin:20px;font-size:17px}
@media(max-width:800px), (pointer:coarse) and (max-height:500px){
 body.has-photo{--photo-height:30vh;--photo-height:30svh}
 body.has-photo.refining{--photo-height:30svh}
 body.has-photo>header{display:none}
 body.has-photo main{display:flex;flex-direction:column;padding-top:calc(var(--photo-height) + 12px)}
 body.has-photo #photoDock{position:fixed;inset:0 0 auto;height:var(--photo-height);z-index:8;margin:0;border-radius:0;border:0;border-bottom:1px solid var(--line);padding:10px;box-shadow:0 3px 12px #352f2c12}
 #photoDock #stage,#photoDock #previewStage{position:absolute;inset:0;height:100%;width:100%;min-height:0;padding:10px;border-radius:0}
 #photoDock #preview{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
 #photoDock #stage{display:flex;align-items:safe center;justify-content:safe center}
 #photoDock #editor{flex-shrink:0}
 body.has-photo nav[aria-label="Hazırlama adımları"]{position:static;order:1;padding-top:0;backdrop-filter:none}
 body.has-photo .stepper button{min-height:61px;padding:6px 2px}
 body.has-photo #analysisPanel{order:2;min-height:0;margin-top:8px;padding:22px 18px;scroll-margin-top:calc(var(--photo-height) + 12px)}
 body.has-photo #workspace{order:3;margin-top:12px}
 body.has-photo .heading{order:4;padding:0;background:none;margin:22px 0 12px}
 body.has-photo .heading>div{display:none}
 body.has-photo .heading .upload{margin:0;font-size:17px;min-height:50px;background:transparent;color:var(--brand);border:1px solid var(--line);box-shadow:none}
 body.has-photo .upload-privacy{order:5;font-size:13px}
 body.has-photo footer{order:6;margin-top:8px}
 body.has-photo .bench-head,body.has-photo #previewPanel{display:none}
 body.has-photo:not([data-step="2"]) .workbench{display:none}
 body.has-photo #refinement>summary{margin:0 16px;font-size:18px}
 body.has-photo .review-intro{margin:16px}
 body.has-photo .details input{scroll-margin-top:calc(var(--photo-height) + 22px)}
 body.has-photo[data-step="3"] .export-options,body.has-photo[data-step="3"] .export-note{display:none}
}

#rectifiedPhoto{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
#photoDock{position:relative;touch-action:pan-y}

#photoPeek{position:fixed;inset:0;z-index:100;background:#211d1af5;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:70px 16px max(48px,env(safe-area-inset-bottom));touch-action:none}
#peekCanvas{max-width:100%;max-height:100%;object-fit:contain;min-height:0}
#closePeek{position:absolute;right:16px;top:max(16px,env(safe-area-inset-top));z-index:1}
#photoPeek p{position:absolute;bottom:8px;color:#fff;font-size:14px;text-align:center}
body.peeking{overflow:hidden}

#workflowHeader{display:flex;align-items:center;gap:16px;margin:0 0 16px}#workflowTitle{font:26px/1.3 Georgia,serif;margin:0}
body[data-step="2"]>header,body[data-step="2"] .heading,body[data-step="2"] footer,body[data-step="2"] .upload-privacy{display:none}
#photoDock canvas{cursor:zoom-in}#photoPeek canvas{cursor:default}
@media(max-width:800px), (pointer:coarse) and (max-height:500px){body.has-photo #workflowHeader{order:0;margin:0 0 12px;gap:12px}#workflowTitle{font-size:23px}#workflowBack{flex-shrink:0;min-width:76px}}

#analysisPanel .upload{margin:8px auto 24px;width:min(100%,360px);min-height:58px}body.has-photo .heading{display:none}#analysisPanel progress{margin-top:12px}

/* Large iPhone portrait, Safari toolbars, keyboard and landscape safe areas. */
html{-webkit-text-size-adjust:100%;scroll-padding-bottom:110px}
@media(max-width:800px), (pointer:coarse) and (max-height:500px){
 main{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));padding-top:calc(16px + env(safe-area-inset-top));padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 .heading{padding:22px 20px}h1{font-size:30px}.heading p{font-size:17px}
 .analysis-panel{padding:26px 20px;min-height:0}.analysis-panel h2{font-size:26px}#analysisPanel .upload{font-size:19px;width:100%;min-height:58px;margin-bottom:6px}
 button,.secondary,summary{min-height:48px}input,select,textarea{font-size:18px}
 body.has-photo main{padding-top:calc(var(--photo-height) + env(safe-area-inset-top) + 14px)}
 body.has-photo #photoDock{height:calc(var(--photo-height) + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left))}
 #photoDock #stage,#photoDock #previewStage{padding:calc(10px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left))}
 #photoDock canvas{min-width:0;min-height:0}
 .done-editing.primary,#continueDownload:not([hidden]),#download:not([hidden]){left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));min-height:56px;font-size:17px}
 #workflowTitle{font-size:24px;overflow-wrap:anywhere}#workflowBack{min-width:80px}
 body.has-photo .details input{scroll-margin-top:calc(var(--photo-height) + env(safe-area-inset-top) + 24px);scroll-margin-bottom:100px}
 body.has-photo.keyboard-open{--photo-height:calc(var(--visible-height,100svh)*.3)}
 body.keyboard-open #continueDownload:not([hidden]),body.keyboard-open #download:not([hidden]){position:static;width:100%;margin:18px 0 0;box-shadow:none}
 body.keyboard-open .stepper{display:none}
 #photoPeek{height:100dvh;padding:calc(68px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(56px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
 #closePeek{top:calc(10px + env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));min-width:90px;min-height:48px}
 #photoPeek p{bottom:calc(8px + env(safe-area-inset-bottom));left:16px;right:16px;margin:0}
}
@media(pointer:coarse) and (orientation:landscape) and (max-height:500px){
 body.has-photo .stepper button{min-height:48px;flex-direction:row;gap:8px}body.has-photo .stepper span{width:24px;height:24px}
 #workflowHeader{margin-bottom:8px!important}#workflowTitle{font-size:21px}.details{max-width:640px;margin:auto}
}
