.photo-agent{margin:28px 0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.photo-agent>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:78px;padding:17px 24px;list-style:none}.photo-agent>summary::-webkit-details-marker{display:none}.agent-summary-action,.agent-summary-title{display:inline-flex;align-items:center;gap:12px}.agent-summary-title>svg{color:var(--accent);flex-shrink:0}.agent-summary-title>span{font-weight:600}.agent-summary-title small{display:block;color:var(--muted);font-size:12px;font-weight:400}.agent-summary-action{font-size:12px;color:var(--accent);flex-shrink:0}.photo-agent[open]>summary{border-bottom:1px solid var(--line)}.photo-agent[open] .agent-summary-action svg{transform:rotate(180deg)}.agent-body{padding:28px;max-width:100%}.agent-intro{max-width:740px}.agent-intro h3{margin:7px 0 12px;font-family:Instrument,Georgia,serif;font-size:32px;font-weight:400;line-height:1.1}.agent-intro p:not(.eyebrow){font-size:14px;line-height:1.65}.agent-intro .agent-scope{margin-top:12px;color:var(--muted);font-size:12px}.agent-funnel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.agent-funnel-card{padding:13px 15px;border:1px solid var(--line);border-radius:5px;background:var(--paper)}.agent-funnel-card-ai{border-color:#e6c6b8;background:var(--accent-wash)}.agent-funnel-badge{display:inline-block;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--green);margin-bottom:4px}.agent-funnel-card-ai .agent-funnel-badge{color:var(--accent)}.agent-funnel-card strong{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:4px}.agent-funnel-card p{font-size:12px;line-height:1.55;color:var(--muted)}.agent-prompt-chips{display:flex;flex-wrap:wrap;gap:8px}.agent-prompt-chip{text-align:left;min-height:36px;padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:var(--paper);font-size:12px;line-height:1.35;color:var(--ink);transition:border-color .15s,color .15s,background .15s}.agent-prompt-chip:hover:not(:disabled){border-color:var(--accent);color:var(--accent);background:var(--accent-wash)}.agent-availability{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0;padding:15px 18px;background:var(--soft);border-radius:4px;font-size:13px}.agent-availability .button{flex-shrink:0}.agent-result{margin-top:24px}.agent-comparison{position:relative;width:100%;max-height:610px;overflow:hidden;background:var(--soft);border:1px solid var(--line);border-radius:4px}.agent-comparison>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.agent-after-image{z-index:1}.agent-compare-line{position:absolute;top:0;bottom:0;width:1px;background:#fff;z-index:2;pointer-events:none}.agent-compare-line>svg{position:absolute;top:calc(50% - 16px);left:-16px;width:32px;height:32px;padding:8px;border-radius:50%;background:var(--paper);box-shadow:0 1px 4px #0002}.agent-image-label{position:absolute;top:12px;z-index:3;background:var(--paper);color:var(--ink);padding:5px 8px;border-radius:2px;font-size:10px;letter-spacing:.05em;pointer-events:none}.agent-before-label{left:12px}.agent-after-label{right:12px}.agent-compare-label{display:grid;grid-template-columns:auto minmax(80px,1fr);align-items:center;gap:18px;margin:10px 0;font-size:12px;color:var(--muted)}.agent-compare-label input{width:100%;min-height:44px;accent-color:var(--accent)}.agent-result-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.agent-history-actions{display:flex;gap:6px;flex-wrap:wrap}.agent-history-actions button,.agent-submit-actions>button:not(.button){min-height:44px;padding:8px 12px;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}.agent-history-actions button:disabled{text-decoration:none}.agent-image-note{margin:8px 0 0;font-size:11px;color:var(--muted)}.agent-conversation{padding:0;margin:24px 0;list-style:none;display:grid;gap:12px;max-height:360px;overflow-y:auto}.agent-message{padding:12px 16px;border-left:2px solid var(--line);font-size:13px;overflow-wrap:anywhere}.agent-message>span{display:block;margin-bottom:5px;color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.agent-message p{white-space:pre-wrap}.agent-message-assistant{border-color:var(--accent);background:var(--accent-wash)}.agent-form{display:grid;gap:10px;margin-top:24px}.agent-form>label:first-child{font-size:13px;font-weight:600}.agent-form textarea{width:100%;min-height:108px;max-height:280px;resize:vertical;border:1px solid var(--line);background:var(--paper);border-radius:4px;color:var(--ink);font-size:14px;line-height:1.6;padding:13px 15px}.agent-form textarea:disabled{opacity:.6;cursor:not-allowed}.agent-prompt-footer{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.agent-prompt-footer>span:last-child{flex-shrink:0}.agent-consent{display:flex;align-items:flex-start;gap:10px;margin:8px 0;color:var(--muted);font-size:12px;line-height:1.6}.agent-consent input{flex-shrink:0;width:20px;height:20px;margin:2px 0;accent-color:var(--accent)}.agent-consent a{text-decoration:underline;text-underline-offset:3px}.agent-submit-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.agent-submit-actions .primary{min-width:190px}.agent-progress{display:flex;align-items:center;gap:10px;margin-top:18px;color:var(--muted);font-size:13px}.agent-progress .spinner{width:15px;height:15px;flex-shrink:0}.agent-error{margin-top:16px;padding:12px 15px;color:#a33420;background:var(--accent-wash);border-radius:4px;font-size:13px}.agent-notice{margin-top:16px;color:var(--green);font-size:12px;overflow-wrap:anywhere}.agent-footnote{margin-top:17px;color:var(--muted);font-size:11px}@media (min-width:1000px){.agent-body{padding-inline:32px}.agent-conversation,.agent-form,.agent-result{max-width:860px}}@media (max-width:600px){.photo-agent>summary{padding:15px 17px}.agent-summary-title{gap:9px}.agent-summary-title small{font-size:11px}.agent-summary-action{font-size:11px;gap:5px}.agent-body{padding:22px 17px}.agent-intro h3{font-size:29px}.agent-funnel-grid{grid-template-columns:1fr}.agent-prompt-chip{border-radius:8px;width:100%}.agent-availability{align-items:flex-start;flex-direction:column;padding:13px}.agent-compare-label{grid-template-columns:1fr;gap:0;margin-top:9px}.agent-result-actions{gap:6px}.agent-history-actions{width:100%;justify-content:space-between;gap:0}.agent-history-actions button{padding-inline:8px}.agent-result-actions>a{width:100%}.agent-prompt-footer{font-size:10px}.agent-image-label{font-size:9px;top:9px;padding:4px 6px}.agent-before-label{left:9px}.agent-after-label{right:9px}.agent-submit-actions{gap:8px}.agent-submit-actions .primary{flex:1 1;min-width:170px}}@media (prefers-reduced-motion:reduce){.photo-agent .spinner{animation:none}}