.photo-main{max-width:1200px;margin:auto;padding:30px 24px 60px}.photo-intro{padding:24px 0 38px}.photo-intro h1{font-size:clamp(34px,5vw,60px);line-height:1.04;letter-spacing:-2px;margin:16px 0}.photo-intro>p:last-child{max-width:620px;font-size:18px;color:#4d5b70}.photo-workspace{display:grid;grid-template-columns:minmax(300px,440px) minmax(0,1fr);gap:24px;align-items:start}.photo-controls,.photo-output{border:1px solid #dbe1eb;border-radius:20px;padding:24px;background:#fff;min-width:0}.photo-output{background:#f5f7fc;position:sticky;top:16px}.photo-main h2{font-size:21px;letter-spacing:-.5px;margin:0 0 18px}.photo-controls h2:not(:first-child){margin-top:28px}.photo-main label{display:block;font-size:14px;font-weight:650;margin:14px 0}.photo-main select,.photo-main input[type=number]{display:block;width:100%;margin-top:7px;min-height:44px;padding:10px;border:1px solid #c6cfde;border-radius:9px;background:white;font:inherit;box-sizing:border-box}.photo-main button{min-height:44px;border-radius:9px;border:1px solid #c6cfde;padding:9px 13px;background:white;font:inherit;font-size:14px;color:#152745;cursor:pointer}.photo-main button.primary{background:#254eed;color:white;border-color:#254eed;font-weight:700}.photo-main button:disabled{opacity:.45;cursor:default}.photo-main :focus-visible{outline:3px solid #254eed;outline-offset:3px}.photo-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photo-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.photo-main .small{font-size:13px;line-height:1.6;color:#59657a}.photo-main [hidden]{display:none!important}#photo-list{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}#photo-list li{min-width:0;border:1px solid #dbe1eb;border-radius:12px;overflow:hidden;padding:10px}.photo-thumb{height:100px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#edf0f5;margin-bottom:8px}.photo-thumb img{max-width:75%;max-height:75%;object-fit:contain}.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:8px}.photo-actions button{padding:5px;font-size:12px}.photo-main details{margin:18px 0}.photo-main summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:650;line-height:1.4}.photo-check{display:flex!important;align-items:center;gap:10px;min-height:44px}.photo-check input{width:20px;height:20px}.photo-paper{background:#e2e7ef;border-radius:12px;padding:22px;min-height:200px;display:grid;place-items:center;margin:18px 0}.photo-paper canvas{display:block;width:auto;max-width:100%;max-height:580px;height:auto;background:white;box-shadow:0 4px 18px #2638542a}.photo-paper:has(canvas:not([hidden])) .photo-empty{display:none}.photo-empty{font-size:15px;text-align:center;color:#58677b;line-height:1.7}.photo-output #download-pdf{width:100%;font-size:17px}.photo-print-tip{font-size:14px;line-height:1.6}.photo-print-tip strong{display:block}#photo-status{padding:12px;border-radius:10px;background:#e8edf9;font-size:14px;line-height:1.6}#photo-status.error{background:#fff0ed;color:#982d1a}#layout-summary{font-size:14px;line-height:1.6;min-height:44px}.photo-guide{margin-top:48px;line-height:1.7}.photo-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.photo-guide h3{font-size:17px;margin-bottom:8px}.photo-guide p{font-size:15px;color:#46546a}.photo-home-link{max-width:1120px;margin:24px auto;padding:20px;border-radius:12px;background:#eef2ff;line-height:1.7}.photo-home-link a{display:block}@media(max-width:760px){header{flex-wrap:wrap;gap:14px}header nav{flex-wrap:wrap}.photo-main{padding:18px 16px 40px}.photo-workspace{grid-template-columns:1fr}.photo-controls,.photo-output{padding:18px}.photo-output{position:static}.photo-intro{padding:8px 0 22px}.photo-guide-grid{grid-template-columns:1fr;gap:8px}.photo-paper{padding:15px}.photo-paper canvas{max-height:none}.photo-home-link{margin:16px}.photo-intro h1{letter-spacing:-1px}}
