.photo-page{background:#f5f7fc;color:#14213c}.photo-site-header,.photo-site-footer{padding:24px max(20px,calc((100vw - 1200px)/2));background:white}.photo-site-header{display:flex;justify-content:space-between;gap:20px}.photo-site-header nav{display:flex;gap:20px}.photo-site-footer>a{margin-right:20px}#photo-workspace{max-width:1220px;margin:30px auto;padding:28px;background:white;border:1px solid #dfe5f0;border-radius:24px;font-family:Arial,sans-serif;box-sizing:border-box}#photo-workspace *{box-sizing:border-box}.photo-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.photo-heading h1{font-size:clamp(26px,3vw,36px);letter-spacing:-1px;margin:8px 0}.photo-heading p{color:#53617a;margin:0;line-height:1.55}.photo-kicker{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#236f68}.photo-step{font-size:12px;background:#e7f5f1;padding:10px 12px;border-radius:20px;white-space:nowrap}.photo-upload{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px;border:2px dashed #a6b5d1;background:#f7f9ff;border-radius:16px;cursor:pointer;overflow:hidden}.photo-upload strong{color:#2e4bd7;font-size:19px}.photo-upload span{font-size:13px;color:#54617a;text-align:center}.photo-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-upload:focus-within,.photo-upload.is-drag{outline:3px solid #4461ef;outline-offset:3px}.photo-source{font-size:13px;overflow-wrap:anywhere;color:#5c6980;margin:12px 0 20px}.photo-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:24px}.photo-stage-card,.photo-settings{border:1px solid #dfe5f0;border-radius:16px;overflow:hidden;min-width:0}.photo-stage-toolbar{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#f5f7fc;gap:12px}.photo-stage-toolbar button{padding:8px 12px;border:1px solid #bfc9dd;border-radius:9px;background:white;color:#283f61;cursor:pointer}.photo-stage{position:relative;background:#19243b;line-height:0}.photo-stage canvas{display:block;width:100%;height:auto;touch-action:none;cursor:move}.photo-stage canvas:focus-visible{outline:4px solid #58e0d0;outline-offset:-4px}.photo-stage #photo-empty{position:absolute;inset:45% 0;text-align:center;color:#c9d4e6;font-size:14px;pointer-events:none;line-height:1.5}.photo-position{padding:0 16px 16px}.photo-position label{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:12px;font-size:12px;padding:7px 0}.photo-help{font-size:12px!important;color:#5a6880;line-height:1.6!important}.photo-stage-card>.photo-help{margin:12px 16px}.photo-settings{padding:22px}.photo-settings h2{font-size:18px;margin:0 0 20px}.photo-settings label{display:block;font-weight:700;font-size:13px;margin-bottom:16px}.photo-settings input:not([type=range]),.photo-settings select{width:100%;padding:12px;margin-top:8px;border:1px solid #b9c6db;border-radius:9px;background:#fff;color:#14213c;font-size:15px}.photo-settings input[type=range]{display:block;width:100%;margin:12px 0 0}.photo-settings output{float:right;color:#67768e;font-size:11px;font-weight:400;max-width:67%;text-align:right}.photo-dimensions{display:grid;grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr);gap:10px;align-items:center}.photo-dimensions>span{text-align:center}.photo-output{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:center;margin-top:24px;padding:24px;background:#f4f7ff;border:1px solid #dbe4f4;border-radius:16px}.photo-output-image{min-height:150px;display:grid;place-items:center;border:1px solid #d2daea;border-radius:10px;padding:10px;background:repeating-conic-gradient(#e6e9ef 0 25%,#fff 0 50%) 0/16px 16px}.photo-output-image img{max-width:100%;max-height:230px;object-fit:contain}.photo-output h2{font-size:23px;margin:8px 0 14px}.photo-output p{line-height:1.6;font-size:14px}.photo-output button{margin:8px 0}.photo-output [data-state=fit]{color:#126d4c;font-weight:700}.photo-output [data-state=over],.photo-output [data-state=error]{color:#a32938;font-weight:700}.photo-quota{margin-top:18px;background:#f6f7fa;border-radius:12px;padding:16px;font-size:13px}.photo-quota p{margin:8px 0;line-height:1.5}.photo-quota a{color:#304bd5}.photo-result-preview{flex:1 1 100%;width:100%;padding:22px;background:#f4f7fc;border-radius:16px}.photo-result-preview img{display:block;max-width:100%;max-height:500px;object-fit:contain;margin:18px auto;background:repeating-conic-gradient(#e6e9ef 0 25%,#fff 0 50%) 0/16px 16px}.photo-result-preview h3{font-size:21px;margin:0 0 12px}.is-embedded #photo-workspace{margin:0;border:0;border-radius:0;max-width:none;box-shadow:none}.pwt-embedded-workspace:has(#photo-workspace){height:auto;min-height:0;overflow:visible}.photo-page .button:disabled{opacity:.5;cursor:not-allowed}.photo-page input[type=range]{accent-color:#3d57e9}.photo-page button:focus-visible,.photo-page input:focus-visible,.photo-page select:focus-visible{outline:3px solid #6b85ed;outline-offset:3px}@media(max-width:760px){#photo-workspace{padding:18px;margin:16px 10px;border-radius:16px}.photo-heading{display:block}.photo-step{display:inline-block;margin-top:12px}.photo-grid{grid-template-columns:1fr}.photo-output{grid-template-columns:1fr;padding:18px;gap:18px}.photo-output-image{min-height:130px}.photo-output-image img{max-height:200px}.photo-position label{grid-template-columns:125px minmax(0,1fr)}.photo-site-header{padding:18px;font-size:13px}.photo-site-header nav{gap:10px}.photo-settings{padding:18px}.photo-upload{padding:20px 10px}}
