.photo-section{max-width:1120px;margin:auto;padding-top:40px}
.photo-notice{padding:20px 24px;border:1px solid #b8ded7;border-left:5px solid var(--teal);border-radius:12px;background:#f0faf7}
.photo-notice strong{font-size:15px;color:#075e61}.photo-notice p{margin:5px 0 0;color:#4d6875;font-size:13px}
.photo-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}
.photo-steps article{padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff}
.photo-steps article>b{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#e3f3ef;color:var(--teal);font:700 11px 'DM Sans'}
.photo-steps h2{font-size:15px;margin:12px 0 5px}.photo-steps p{font-size:12px;color:var(--muted);margin:0}
.photo-editor-card,.photo-prompt-card{margin-top:22px;padding:25px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:var(--shadow)}
.photo-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.photo-editor-heading h2{font-size:22px;letter-spacing:-.035em;margin:4px 0 0}.photo-editor-heading>p{margin:0;color:var(--teal-dark);font-size:12px;font-weight:700}
.photo-file-label{display:flex;align-items:center;gap:12px;width:max-content;max-width:100%;padding:12px 16px;border:1px dashed #8abbb5;border-radius:9px;color:var(--teal-dark);font-size:13px;font-weight:700;cursor:pointer;background:#f8fcfb}
.photo-file-label small{color:var(--muted);font-size:10px;font-weight:500}.photo-file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.photo-file-input:focus-visible+.photo-tool-help{outline:2px solid var(--teal)}.photo-tool-help{font-size:11px;color:var(--muted);margin:10px 0 14px}
.photo-queue{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.photo-queue:empty{display:none}.photo-queue button{padding:7px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#385867;font-size:11px;cursor:pointer}.photo-queue button[aria-pressed="true"]{border-color:var(--teal);background:#eaf7f4;color:var(--teal-dark);font-weight:700}
.photo-editor[hidden]{display:none!important}.photo-canvas-wrap{display:flex;align-items:center;justify-content:center;min-height:180px;max-height:62vh;overflow:auto;padding:12px;border-radius:10px;background:#eef2f2}
#photo-canvas{display:block;max-width:100%;max-height:58vh;width:auto;height:auto;touch-action:none;cursor:crosshair;background:#fff;box-shadow:0 2px 12px rgba(20,43,59,.14)}
.photo-tool-actions,.photo-footer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.photo-tool-actions .button,.photo-footer-actions .button{font-size:11px;padding:9px 12px}.photo-tool-actions button:disabled,.photo-footer-actions button:disabled{opacity:.45;cursor:not-allowed;transform:none}.photo-footer-actions{justify-content:space-between;align-items:center;margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}
.photo-footer-actions a[aria-disabled="true"]{opacity:.5;pointer-events:none}.photo-status{font-size:11px;color:var(--muted);min-height:18px;margin:10px 0 0}.photo-prompt-card textarea{display:block;width:100%;padding:14px;border:1px solid var(--line);border-radius:9px;background:#f8fbfa;color:#294758;font-size:12px;line-height:1.8;resize:vertical}
.photo-ai-limit{margin-top:22px;padding:25px;border-radius:14px;background:#f4f7f5}.photo-ai-limit h2{font-size:18px;margin:0 0 10px}.photo-ai-limit ul{margin:0 0 18px;padding-left:20px;color:#4c6572;font-size:12px}.photo-ai-limit li+li{margin-top:5px}
.photo-guide-cta{margin:0 0 18px}.photo-guide-cta h2{font-size:17px}.photo-guide-cta p{max-width:700px}
@media(max-width:800px){.photo-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.photo-section{padding:28px 18px 50px}.photo-steps{grid-template-columns:1fr}.photo-editor-card,.photo-prompt-card,.photo-ai-limit{padding:18px}.photo-editor-heading{align-items:flex-start;flex-direction:column;gap:10px}.photo-file-label{align-items:flex-start;flex-direction:column;gap:3px}.photo-tool-actions .button{flex:1 1 42%}.photo-footer-actions{align-items:stretch;flex-direction:column}.photo-footer-actions .button{width:100%}}
