.custom-photo-settings{display:grid;gap:22px;padding:28px;border:1px solid var(--line,#d8d3c5);background:#fffdf8}.custom-photo-heading,.custom-photo-heading>div,.custom-photo-actions,.photo-order-actions,.photo-available-card,.photo-action-toggle{display:flex}.custom-photo-heading{align-items:flex-start;justify-content:space-between;gap:24px}.custom-photo-heading>div{flex-direction:column;gap:6px}.custom-photo-heading h4,.custom-photo-form h5{margin:0;font-family:var(--serif,"Songti SC",serif);color:var(--green,#174c3e)}.custom-photo-heading h4{font-size:clamp(24px,3vw,34px)}.custom-photo-form{display:grid;gap:24px}.custom-photo-form section{display:grid;gap:14px}.custom-photo-form p,.custom-photo-form small{margin:0;color:var(--muted,#726d60);line-height:1.8}.mode-badge{flex:none;padding:8px 12px;border:1px solid #b9c1b0;color:var(--green,#174c3e);background:#eef1e8;font-size:12px}.photo-upload{padding:22px;border:1px dashed #b8b29f;background:#f8f4ea}.photo-upload input[type=file]{width:100%;padding:12px;border:1px solid #d8d3c5;background:#fff}.photo-upload .primary{justify-self:start}.photo-rotation-grid{display:grid;gap:12px}.photo-rotation-card{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px;border:1px solid #ddd8ca;background:#fff}.photo-rotation-visual{position:relative;aspect-ratio:4/3;overflow:hidden;background:#f1ede2}.photo-rotation-visual img{width:100%;height:100%;object-fit:contain}.photo-rotation-visual span{position:absolute;left:7px;top:7px;min-width:28px;padding:2px 6px;background:rgba(23,76,62,.9);color:#fff;text-align:center;font:11px/1.5 Georgia,serif}.photo-rotation-copy{display:grid;min-width:0;gap:4px}.photo-rotation-copy strong{overflow:hidden;color:var(--ink,#272b27);text-overflow:ellipsis;white-space:nowrap}.photo-rotation-copy small{font-size:12px}.photo-order-actions{align-items:center;gap:6px}.photo-order-actions button{min-width:38px;min-height:38px;padding:4px 9px;border:1px solid #cbc6b8;background:#fff;color:var(--green,#174c3e)}.photo-order-actions .text-button{border:0;min-width:auto}.photo-available-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.photo-available-card{align-items:center;gap:10px;min-width:0;padding:8px;border:1px solid #ddd8ca;background:#fff;color:var(--ink,#272b27);text-align:left}.photo-available-card img{width:58px;height:58px;flex:none;object-fit:cover;background:#f1ede2}.photo-available-card span{display:grid;min-width:0;gap:3px}.photo-available-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-available-card small{color:var(--green,#174c3e)}.photo-action-toggle{align-items:center;gap:10px;padding:16px 0;border-top:1px solid #e4dfd2;border-bottom:1px solid #e4dfd2;color:var(--ink,#272b27)}.photo-action-toggle input{width:18px;height:18px;accent-color:var(--green,#174c3e)}.custom-photo-actions{align-items:center;flex-wrap:wrap;gap:12px}.custom-photo-actions .primary,.custom-photo-actions .secondary{min-height:48px}@media(max-width:700px){.custom-photo-settings{padding:20px 16px}.custom-photo-heading{display:grid}.mode-badge{justify-self:start}.photo-rotation-card{grid-template-columns:84px minmax(0,1fr)}.photo-order-actions{grid-column:1/-1;justify-content:flex-end}.custom-photo-actions{display:grid}.custom-photo-actions>button{width:100%}}
