@font-face{font-family:Schibsted;src:url('/assets/schibsted-grotesk.woff2') format('woff2');font-weight:400 900;font-display:swap}
:root{--pink:#CB285E;--ink:#243B53;--mango:#FFBE32;--line:#e4e5e7;--muted:#647585}*{box-sizing:border-box}body{margin:0;background:#faf9f7;color:var(--ink);font-family:Schibsted,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--mango);outline-offset:4px}[hidden]{display:none!important}button{min-height:44px;padding:11px 18px;border:1px solid #ccd2d8;border-radius:8px;background:white;color:var(--ink);font-weight:650;cursor:pointer}button:hover{border-color:var(--pink);background:#fff8fa}button:disabled{opacity:.55;cursor:wait}.button{background:var(--pink);border-color:var(--pink);color:white;min-height:50px;padding:14px 24px}.button:hover{background:#ad1e4d;color:white}.text-button{border:0;background:transparent;padding:12px 0;color:var(--pink);text-decoration:underline;text-underline-offset:4px}p{font-size:15px;line-height:1.6;margin:0 0 12px}h1,h2{letter-spacing:-.04em;margin:0}h1{font-size:clamp(27px,3vw,38px);line-height:1.15;font-weight:800}h2{font-size:24px;font-weight:750}.studio-header{display:flex;align-items:center;justify-content:space-between;max-width:1440px;padding:16px 40px;margin:auto;gap:16px}.studio-header img{display:block;width:208px;height:56px}.header-tools{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:650}.header-tools a{text-decoration:none}.header-tools #credits{min-height:0;background:#fff0c9;border:1px solid #f3dc9c;border-radius:24px;padding:10px 16px;color:inherit;font-weight:inherit;white-space:nowrap;cursor:pointer}.photo-app{max-width:1360px;margin:auto;padding:24px 40px 48px}.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:44px}.workspace{min-width:0;background:white;border:1px solid var(--line);border-radius:16px;padding:30px 36px;box-shadow:0 3px 16px #243b5305}.studio-heading{margin-bottom:16px}#app-status{font-size:14px;min-height:22px;margin-bottom:10px}#app-status:empty{display:none}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 8px}.step{font-size:10px;font-weight:750;letter-spacing:.1em;color:var(--muted);white-space:nowrap}.muted{color:var(--muted);font-size:13px}.upload-panel{text-align:center;min-height:450px;border:1px dashed #d7c9cf;border-radius:10px;background:#fffaf8;padding:42px 20px 28px;display:flex;align-items:center;flex-direction:column;justify-content:center}.upload-panel.drag-over{background:#fce9ef;border-color:var(--pink)}.upload-panel h2{font-size:28px;margin:12px 0}.upload-panel .button{margin:8px 0 16px}.upload-art{height:170px;display:flex;justify-content:center;align-items:center;margin-bottom:16px}.upload-art img{width:124px;height:158px;object-fit:cover;border:7px solid white;box-shadow:0 4px 14px #243b5320;transform:rotate(-10deg)}.upload-art img+img{transform:rotate(9deg);margin-left:-20px}.preview-note{font-size:12px;font-weight:650;color:var(--pink)}.app-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.crop-tools{display:flex;justify-content:center;gap:10px}.crop-tools button{font-size:13px}.app-status-row{display:flex;align-items:baseline;gap:8px}.busy-spinner{display:inline-block;flex:none;width:14px;height:14px;border:2px solid #e4c5d0;border-top-color:var(--pink);border-radius:50%;animation:busy-spin .9s linear infinite}@keyframes busy-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.busy-spinner{animation:none}}#crop-panel{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#crop-stage,#crop-stage *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none}#crop-magnifier{position:fixed;z-index:100;width:120px;height:120px;border-radius:50%;pointer-events:none;background:#eef0f2;box-shadow:0 0 0 3px white,0 5px 22px #15283d66}#crop-help{font-size:13px;color:var(--muted)}#crop-stage{position:relative;margin:30px auto;max-width:100%;width:fit-content;line-height:0}#crop-canvas{display:block;max-width:100%;max-height:calc(var(--studio-height,100vh)*.56);width:auto;height:auto}#crop-outline{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}#crop-outline polygon{fill:#CB285E12;stroke:var(--pink);stroke-width:2;vector-effect:non-scaling-stroke}.crop-handle{position:absolute;transform:translate(-50%,-50%);padding:0;min-height:44px;height:44px;width:44px;border:0;border-radius:50%;background:transparent;touch-action:none;z-index:2}.crop-handle:hover{background:transparent}.crop-handle::after{content:'';display:block;background:var(--pink);border:3px solid #fff;box-shadow:0 0 0 1px var(--pink);width:21px;height:21px;border-radius:50%;margin:auto}.app-comparison{position:relative;width:fit-content;max-width:100%;margin:20px auto;touch-action:pan-y pinch-zoom;overflow:hidden;border-radius:5px;background:#f1f1f1}.app-comparison>img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(var(--studio-height,100vh)*.59)}.before-layer{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--split)) 0 0)}.before-layer img{width:100%;height:100%;object-fit:fill}.comparison-input{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}.app-comparison:focus-within{outline:3px solid var(--mango);outline-offset:3px}.seam{position:absolute;left:var(--split);top:0;bottom:0;width:2px;background:white;pointer-events:none;transform:translateX(-50%);box-shadow:0 0 6px #0002}.seam span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:white;box-shadow:0 2px 12px #0003}.seam svg{width:32px;fill:none;stroke:var(--pink);stroke-width:2}.photo-label{position:absolute;top:14px;padding:5px 9px;background:#fffffff0;border-radius:4px;font-size:11px;font-weight:750;pointer-events:none}.before-label{left:14px}.after-label{right:14px}.result-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.job-image{background:#f6f4f1;padding:16px;margin:20px 0;border-radius:8px}.job-image img{display:block;max-height:calc(var(--studio-height,100vh)*.5);max-width:100%;margin:auto;object-fit:contain}.history{padding-top:20px;min-width:0}.history-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.history h2{font-size:21px}.history-heading span{font-size:12px;border-radius:12px;background:#eae7e2;padding:3px 8px}#recent-photos{display:grid;gap:8px;margin-top:20px;max-height:620px;overflow:auto;padding:3px}.history-photo{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:8px;border:1px solid transparent;background:transparent}.history-photo[aria-current=true]{background:white;border-color:#dcc4cd}.history-photo img{width:54px;height:64px;object-fit:cover;border-radius:4px;background:#e5e7e8}.history-photo span{display:block;font-size:12px;line-height:1.5;font-weight:500}.history-photo strong{font-size:13px}.history-photo .unlocked{color:var(--pink);font-size:11px}#history-empty{font-size:13px;color:var(--muted);padding:30px 0}.checkout-photo{display:flex;gap:20px;align-items:center;margin:24px 0;background:#faf7f5;border-radius:8px;padding:16px}.checkout-photo img{width:74px;height:90px;object-fit:contain}.checkout-photo p{font-size:13px;margin:0}.pack-options{display:grid;gap:10px;margin:20px 0}.pack-option{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px;text-align:left}.pack-option[aria-pressed=true]{border:2px solid var(--pink);background:#fff7fa;padding:17px}.pack-option strong{font-size:18px}.pack-option small{display:block;color:var(--muted);font-weight:400;font-size:12px;margin-top:4px}.pack-option .pack-price{font-size:22px;font-weight:750;flex-shrink:0}.pack-option .offer-price{display:inline-flex;flex-direction:column;align-items:flex-end;gap:6px}.pack-option .price-pair{display:inline-flex;align-items:baseline;gap:8px;line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums}.pack-option .sale-price{font-size:inherit;font-weight:750}.pack-option .offer-chip{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;padding:5px 8px;border:1px solid #e9b8c7;border-radius:3px;background:#fff0f4;color:#922144;text-align:left;letter-spacing:0;line-height:1.15;white-space:nowrap}.pack-option .offer-chip .limited{font-size:10px;font-weight:500}.pack-option .offer-chip .sale-line{display:flex;align-items:baseline;gap:7px;font-size:11px}.pack-option .offer-chip .occasion{font-weight:550}.pack-option .offer-chip .discount{font-weight:800}@media(max-width:700px){.pack-option .offer-price{flex-direction:column;align-items:flex-end;gap:6px}.pack-option .offer-chip{padding:4px 6px}.pack-option .offer-chip .sale-line{gap:6px}}.pack-option .regular-price{text-align:right;font-size:inherit;font-weight:400;color:var(--muted);text-decoration-thickness:1px}.checkout-note{font-size:12px;color:var(--muted);max-width:480px}#continue-checkout{width:100%;margin:6px 0 16px}#recheck-payment{margin-top:18px}.studio-footer{max-width:1360px;margin:auto;display:flex;justify-content:space-between;padding:0 40px 28px;font-size:11px;color:var(--muted)}.studio-footer nav{display:flex;gap:18px}.studio-footer a{text-decoration:none}
@media(min-width:1300px){.workspace{padding:32px 48px}.photo-app{padding-top:32px}}@media(max-width:900px){.studio-layout{grid-template-columns:minmax(0,1fr) 190px;gap:24px}.workspace{padding:24px}.studio-header,.photo-app{padding-left:24px;padding-right:24px}.header-tools{gap:12px}.step{font-size:9px}.result-footer{flex-wrap:wrap}.result-footer>button{width:100%}}@media(max-width:680px){.studio-header{padding:12px 18px;align-items:center}.studio-header img{width:152px;height:44px}.header-tools{gap:4px;flex-direction:column;font-size:11px}.header-tools #credits{padding:7px 10px}.header-tools a{padding:6px}.photo-app{padding:10px 12px 28px}.studio-layout{display:flex;flex-direction:column;gap:8px}.workspace{padding:22px 20px;border-radius:12px}.studio-heading{margin-bottom:20px}h1{font-size:27px;max-width:280px}h2{font-size:22px}.panel-heading{flex-wrap:wrap;gap:6px}.upload-panel{min-height:405px;padding:24px 10px}.upload-panel h2{font-size:24px}.upload-panel .muted{font-size:11px}.upload-art{height:145px}.upload-art img{height:140px;width:110px}.history{padding:24px 10px}#recent-photos{grid-template-columns:repeat(2,minmax(0,1fr));max-height:330px;gap:6px}.history-photo{gap:8px;padding:5px}.history-photo img{width:42px;height:52px}.history-photo strong,.history-photo span{font-size:11px}.history-photo .unlocked{font-size:10px}#history-empty{padding:12px 0}.studio-footer{padding:0 22px 24px}.app-actions{gap:8px}.app-actions button{flex:1 1 120px;font-size:13px}.crop-tools button{padding:10px 12px;font-size:12px}#crop-stage{margin:26px auto}#crop-canvas{max-height:calc(var(--studio-height,100vh)*.51)}.app-comparison>img{max-height:calc(var(--studio-height,100vh)*.55)}.photo-label{font-size:10px;top:10px}.before-label{left:10px}.after-label{right:10px}.seam span{width:42px;height:42px}.result-footer{gap:14px}.result-footer>button{width:100%}.step{font-size:9px}.pack-option{padding:16px}.pack-option[aria-pressed=true]{padding:15px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,border-color .15s}}

/* svh is the no-script fallback. JS freezes a pixel height between layout-width
   changes, including in older WebViews. Deliberate pinch zoom stays available. */
:root{--studio-height:100vh}
@supports(height:100svh){:root{--studio-height:100svh}}
/* Keep the restored image intact; fitComparison crops only the displayed original. */
.app-comparison{width:100%;height:calc(var(--studio-height,100vh)*.59)}.app-comparison>img{width:100%;height:100%;max-height:none;object-fit:contain}.before-layer img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);object-fit:cover}.history-upload{width:100%;margin-bottom:24px}
@media(max-width:680px){.app-comparison{height:calc(var(--studio-height,100vh)*.55)}}

/* Optional accounts remain secondary to photo and checkout controls. */
.account-panel{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);overflow-wrap:anywhere}
.account-panel p{font-size:12px;margin:0 0 8px}
.account-panel button{width:100%;text-align:left;font-size:12px}
.account-panel .account-signout{width:auto;border:0;background:transparent;padding:8px 0;color:var(--pink);font-weight:500;text-decoration:underline;text-underline-offset:3px}
.account-panel [role=status]:empty{display:none}

/* Waiting ambience only: no simulated progress meter or completion stages. */
.workspace.is-restoring .studio-heading{text-align:center}
.workspace.is-restoring h1{max-width:none}
.workspace.is-restoring .app-status-row{justify-content:center;align-items:center;min-height:26px}
.workspace.is-restoring #app-status{margin:0}
.workspace.is-restoring .busy-spinner{width:20px;height:20px;border-width:3px}
.restoration-mood{display:grid;place-items:center;min-height:3em;margin:12px 0 8px;font-size:15px;line-height:1.5;text-align:center;color:var(--pink)}
.workspace.is-restoring #job-panel .panel-heading,.workspace.is-restoring #job-panel .app-actions{justify-content:center}
.workspace.is-restoring #job-status{text-align:center}
@media(prefers-reduced-motion:no-preference){.restoration-mood{animation:restoration-breathe 3s ease-in-out infinite}}
@keyframes restoration-breathe{0%,100%{opacity:1}50%{opacity:.72}}
.download-options{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.download-options p{font-size:13px}.download-tools{display:flex;flex-wrap:wrap;gap:10px}.download-tools button{flex:1 1 180px;min-width:0;font-size:13px}

.pack-option.popular-pack:not([aria-pressed=true]){border-color:var(--line);background:#fff}.pack-option .popular-label{display:block;width:fit-content;font-size:10px;font-weight:750;line-height:1.2;margin:6px 0;color:white;background:var(--pink);border-radius:3px;padding:4px 7px}

@media (max-width:720px){body:has(#result-panel:not([hidden])) .history-upload{display:none}}

/* Approved v3 guarantees, scoped to the existing pricing panel. */
#buy-panel .mk-g{display:grid;gap:22px;margin:26px 0 28px}
#buy-panel .mk-g div{display:flex;align-items:center;gap:18px;font-size:17px;font-weight:700;color:#24384c;line-height:1.25}
#buy-panel .mk-g i{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff0f4;color:#cb285e;font-style:normal;font-size:27px;font-weight:800}
#buy-panel .mk-g i svg{display:block;width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
#buy-panel .mk-g i .instant-icon{color:#FFBE32}
#buy-panel .mk-g small{display:block;font-size:14px;font-weight:500;color:#5b6b7a;margin-top:4px}

#pay-panel{max-width:560px;margin:0 auto}
#pay-panel .pay-line{margin:18px 0 6px;font-size:22px;font-weight:750;text-align:center}
#pay-panel #dodo-pay{min-height:260px;margin:0 -4px}
#pay-panel .pay-note{margin:10px 0 0;font-size:13px;color:var(--muted);text-align:center}

/* Crop step: one instruction, small outline tools, one big Continue. */
#crop-panel .crop-instruction{margin:0 0 2px;font-size:15px;font-weight:650;line-height:1.4;color:var(--ink)}
#crop-panel #crop-help{margin:0}
#crop-panel #crop-stage{margin:22px auto 18px}
#crop-panel .crop-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 auto 16px}
#crop-panel .crop-tools button{min-height:36px;padding:7px 14px;border:1px solid #d3d9de;border-radius:8px;background:white;color:var(--ink);font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap}
#crop-panel .crop-tools button:hover{border-color:var(--pink);background:#fff8fa}
#crop-panel .crop-continue{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:480px;min-height:54px;margin:0 auto;font-size:17px;font-weight:750}
#crop-panel .crop-continue.is-saving:disabled{opacity:1;cursor:wait}
#crop-panel .crop-continue .busy-spinner{width:16px;height:16px;border-color:#ffffff73;border-top-color:#fff}
.workspace:has(.crop-continue.is-saving) #restore-progress{display:none}
@media(max-width:680px){#crop-panel .crop-instruction{font-size:14px}#crop-panel #crop-stage{margin:18px auto 14px}#crop-panel .crop-tools{flex-wrap:nowrap;gap:6px;margin-bottom:14px}#crop-panel .crop-tools button{flex:1 1 auto;min-width:0;min-height:36px;padding:7px 8px;font-size:12px}}
