.photo-camera-dialog{box-sizing:border-box;width:min(100vw,480px);max-width:480px;height:100dvh;max-height:100dvh;min-width:0;margin:0 auto;padding:0;border:0;background:#101518;color:#fff;overflow:hidden;font:14px/1.35 system-ui,sans-serif}.photo-camera-dialog::backdrop{background:rgb(0 0 0 / .8)}.photo-camera-dialog *,.photo-camera-dialog *::before,.photo-camera-dialog *::after{box-sizing:border-box}.photo-camera-dialog [hidden]{display:none!important}.photo-camera-dialog button{font-family:inherit;color:inherit;cursor:pointer}.photo-camera-dialog button:focus-visible{outline:3px solid #96f1df;outline-offset:3px}.photo-camera-shell{position:relative;isolation:isolate;width:100%;height:100%;overflow:hidden}.photo-camera-viewfinder{position:absolute;inset:0;overflow:hidden;container-type:size;z-index:-1;background:#13191c}.photo-camera-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.photo-camera-guide,.photo-camera-demo-image{--guide-top:max(calc(env(safe-area-inset-top) + 78px),10.8cqh);--guide-height:min(48.5cqh,calc(61cqh - var(--guide-top)),96.875cqw);position:absolute;left:50%;top:var(--guide-top);transform:translateX(-50%);width:calc(var(--guide-height)*.8);height:var(--guide-height)}.photo-camera-guide{border:1.5px solid rgb(255 255 255 / .92);border-radius:10px;box-shadow:0 0 1px rgb(0 0 0 / .4)}.photo-camera-demo-image{width:calc(var(--guide-height)*.715909);object-fit:contain}.photo-camera-dialog.is-demo .photo-camera-video{visibility:hidden}.photo-camera-header{position:absolute;top:max(14px,env(safe-area-inset-top));left:7%;right:7%;height:50px;display:flex;align-items:center;gap:8px;padding:0 8px;border:1px solid rgb(255 255 255 / .23);border-radius:22px;background:rgb(213 222 235 / .19);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 2px 14px rgb(0 0 0 / .08)}.photo-camera-header p{flex:1;min-width:0;margin:0;text-align:center;font-size:15px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-camera-value{flex-shrink:0;min-height:40px;padding:7px 10px;border:1px solid #9df7e9;border-radius:14px;background:#164942;font-size:12px;font-weight:700}.photo-camera-value:disabled{opacity:.45;cursor:default}.photo-camera-close,.photo-camera-settings-button,.photo-camera-library{flex:0 0 38px;width:38px;height:40px;display:grid;place-items:center;appearance:none;border:0;border-radius:50%;padding:0;background:transparent;font-size:27px;line-height:1}.photo-camera-demo{position:absolute;top:53px;right:1%;z-index:3;padding:2px 7px;border-radius:6px;background:rgb(0 0 0 / .55);color:#fff;font-size:10px}.photo-camera-feedback{position:absolute;top:61.5%;left:11%;right:11%;min-height:42px;height:6.5%;margin:0;display:flex;align-items:center;padding:7px 12px;border-radius:14px;border:1px solid rgb(255 255 255 / .2);background:rgb(190 199 211 / .17);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-size:12px;line-height:1.3;text-shadow:0 1px 3px #000}.photo-camera-recent{position:absolute;left:0;right:0;top:69.2%;height:14%;min-width:0;padding:0 14px}.photo-camera-recent-list{display:flex;gap:8px;height:80px;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity}.photo-camera-recent-list::-webkit-scrollbar{display:none}.photo-camera-card-summary{position:relative;flex:0 0 184px;height:80px;min-width:0;display:flex;align-items:center;gap:10px;text-align:left;padding:9px;border:1px solid rgb(255 255 255 / .28);border-radius:12px;overflow:hidden;scroll-snap-align:start;background:rgb(205 216 228 / .17);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.photo-camera-card-summary:disabled{cursor:default;opacity:1}.photo-camera-failed-card{flex:0 0 254px;height:80px;display:grid;grid-template-columns:minmax(0,1fr) 62px;gap:6px;scroll-snap-align:start}.photo-camera-failed-card .photo-camera-card-summary{width:100%;height:80px;min-width:0;flex:initial}.photo-camera-retry{min-width:44px;min-height:44px;padding:6px;border:1px solid #89d7cb;border-radius:12px;background:#265d5a;font-size:11px;font-weight:700;line-height:1.15}.photo-camera-retry:disabled{opacity:.5;cursor:default}.photo-camera-card-summary img{width:39px;height:57px;flex:0 0 39px;object-fit:cover;border-radius:2px;background:rgb(0 0 0 / .15)}.photo-camera-card-details{display:block;min-width:0}.photo-camera-card-details>strong{display:block;font-size:12px;line-height:1.25;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-camera-card-details>small{display:block;font-size:11px;opacity:.88;line-height:1.2}.photo-camera-price{display:block;min-height:16px;font-size:12px;line-height:1.2}.photo-camera-price strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff;font-size:12px;font-weight:500;overflow-wrap:anywhere}.photo-camera-price small{font-size:10px}.photo-camera-price strong~small,.photo-camera-price a{display:none}.photo-camera-quantity-badge{position:absolute;bottom:5px;left:7px;padding:0 4px;border-radius:4px;color:#fff;background:rgb(0 0 0 / .76);font-size:10px}.photo-camera-total{height:21px;margin-top:5px;color:#72efdd;text-align:right;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-camera-total strong{color:#9df7e9;font-size:12px;font-weight:550}.photo-camera-total small{font-size:11px}.photo-camera-total strong~small{display:none}.photo-camera-pending-label::before{content:"";display:inline-block;width:12px;height:12px;margin-right:5px;border:2px solid rgb(255 255 255 / .25);border-top-color:#72efdd;border-radius:50%;animation:photo-camera-spin .9s linear infinite;vertical-align:-1px}.photo-camera-controls{position:absolute;left:0;right:0;bottom:max(14px,env(safe-area-inset-bottom));height:108px;display:grid;grid-template-columns:minmax(0,1fr) 104px minmax(0,1fr);gap:14px;align-items:center;margin:0;padding:0 18px;border:0;background:transparent}.photo-camera-library{justify-self:start;width:48px;height:48px;background:rgb(0 0 0 / .16);border:1px solid rgb(255 255 255 / .13)}.photo-camera-shutter{width:104px;height:104px;border:5px solid #fff;border-radius:50%;background:rgb(0 0 0 / .15);padding:3px}.photo-camera-shutter i{display:block;width:100%;height:100%;border-radius:50%;background:#fff}.photo-camera-shutter:active i{transform:scale(.95)}.photo-camera-shutter:disabled{opacity:.55}.photo-camera-review{justify-self:end;min-height:44px;border:1px solid rgb(255 255 255 / .15);border-radius:22px;padding:8px 12px;background:rgb(0 0 0 / .16);font-size:14px;font-weight:700;white-space:nowrap}.photo-camera-review:disabled{opacity:.45}.photo-camera-review span{display:none}.photo-camera-empty{margin:0;padding:15px 18px;max-width:260px;align-self:center;border-radius:12px;background:rgb(205 216 228 / .17);border:1px solid rgb(255 255 255 / .22);font-size:12px;line-height:1.4;backdrop-filter:blur(12px)}.photo-camera-settings-panel,.photo-camera-quantity-panel{position:absolute;z-index:5;right:7%;left:7%;padding:16px;border:1px solid rgb(255 255 255 / .35);border-radius:18px;background:rgb(22 31 37 / .94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 5px 35px rgb(0 0 0 / .4)}.photo-camera-settings-panel{top:calc(env(safe-area-inset-top) + 76px)}.photo-camera-quantity-panel{bottom:calc(31% + 12px)}.photo-camera-settings-panel p,.photo-camera-quantity-panel p{margin:0 0 12px;font-size:14px}.photo-camera-quantity-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.photo-camera-quantity-heading h2{margin:0;font-size:16px}.photo-camera-quantity-close{width:38px;height:38px;border:1px solid rgb(255 255 255 / .25);border-radius:10px;padding:0;background:rgb(255 255 255 / .08);font-size:25px}.photo-camera-settings-panel label{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:14px}.photo-camera-settings-panel input{width:22px;height:22px}.photo-camera-quantity-controls{display:flex;justify-content:center;align-items:center;gap:20px;margin:12px 0}.photo-camera-quantity-button{width:46px;height:46px;border:1px solid rgb(255 255 255 / .35);border-radius:12px;padding:0;background:rgb(255 255 255 / .1);font-size:27px}.photo-camera-quantity-controls output{font-size:24px;font-weight:700}.photo-camera-quantity-price{margin-top:8px;font-size:13px}.photo-camera-quantity-price a{display:block;margin-top:6px;color:#9df7e9}.photo-camera-quantity-price small{display:block;font-size:12px}.photo-camera-edit,.photo-camera-apply{width:100%;min-height:44px;padding:10px 12px;border:1px solid #89d7cb;border-radius:12px;background:#265d5a;font-size:14px}.photo-camera-correction{position:absolute;inset:72px 12px 12px;z-index:8;display:flex;flex-direction:column;gap:10px;padding:15px;border:1px solid #6c9293;border-radius:18px;background:rgb(15 30 36 / .97);overflow-y:auto}.photo-camera-correction header{display:flex;align-items:center;justify-content:space-between}.photo-camera-correction h2{margin:0;font-size:17px}.photo-camera-correction header button{width:44px;height:44px;background:#294149;border:1px solid #68838c;border-radius:10px;font-size:24px}.photo-camera-correction-photo{align-self:center;width:68px;height:95px;object-fit:contain}.photo-camera-correction label{display:grid;gap:5px;font-size:13px}.photo-camera-correction input{box-sizing:border-box;width:100%;min-height:44px;padding:10px;border:1px solid #779b9c;border-radius:9px;background:#142e38;color:#fff;font-size:16px}.photo-camera-correction-results{overflow-y:auto;min-height:80px;flex:1 1 180px;display:flex;flex-direction:column;gap:7px}.photo-camera-match{display:flex;align-items:center;gap:10px;min-height:76px;flex-shrink:0;padding:6px;border:1px solid #48696c;border-radius:9px;background:#203942;text-align:left;font-size:12px}.photo-camera-match[aria-pressed=true]{border:2px solid #8ce8d6;background:#315951}.photo-camera-match img{width:43px;height:60px;object-fit:contain}.photo-camera-correction-price{font-size:12px}.photo-camera-correction-price small,.photo-camera-correction-price a{display:block;color:#a7dddb}.photo-camera-correction p{margin:0;font-size:12px}.photo-camera-correction button:disabled{opacity:.5;cursor:default}@keyframes photo-camera-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.photo-camera-pending-label::before{animation:none}}@media(max-height:700px){.photo-camera-header{height:44px;top:max(10px,env(safe-area-inset-top))}.photo-camera-demo{top:47px}.photo-camera-guide,.photo-camera-demo-image{--guide-top:max(calc(env(safe-area-inset-top) + 67px),10.8cqh);--guide-height:min(46cqh,calc(58.5cqh - var(--guide-top)),96.875cqw)}.photo-camera-feedback{top:59.5%;height:7%;min-height:37px;padding:5px 10px}.photo-camera-recent{top:67.5%}.photo-camera-recent-list{height:80px}.photo-camera-card-summary{height:70px}.photo-camera-card-summary{flex-basis:178px;gap:8px;padding:7px}.photo-camera-card-summary img{width:35px;height:51px;flex-basis:35px}.photo-camera-controls{height:85px;bottom:max(8px,env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr)}.photo-camera-shutter{width:82px;height:82px;border-width:4px}.photo-camera-review{min-height:44px;font-size:13px;padding:7px 10px}}@media(orientation:landscape)and (max-height:500px){.photo-camera-dialog{width:100vw;max-width:none}.photo-camera-header{left:3%;right:43%}.photo-camera-guide,.photo-camera-demo-image{--guide-top:68px;--guide-height:calc(100cqh - 90px);left:30%}.photo-camera-feedback{top:16px;right:3%;left:62%;height:auto;min-height:46px}.photo-camera-recent{top:78px;left:60%;right:0;height:98px}.photo-camera-controls{left:60%;height:78px;padding:0 8px;gap:6px;grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr)}.photo-camera-shutter{width:68px;height:68px}.photo-camera-quantity-panel{bottom:90px;left:10%;right:10%}}
