.intro{max-width:800px}.intro h1{overflow-wrap:anywhere}.resize-workspace{display:grid;grid-template-columns:minmax(315px,.82fr) minmax(0,1.18fr);gap:22px;align-items:start}.control-column{display:grid;gap:22px}.drop-zone{min-height:150px}.photos-card .photo-list{max-height:230px}.photo-row[aria-current=true]{border-color:#8eaaf0;background:#eff4ff}.photo-select{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:0;border:0;background:transparent;text-align:start;color:#293a57;cursor:pointer}.photo-select:hover .photo-name{text-decoration:underline}.photo-info{display:flex;flex-direction:column}.list-heading{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px;color:#62728a;font-weight:700;font-size:.9rem}.text-button{border:0;background:transparent;color:#3154aa;font-size:.9rem;font-weight:750;text-decoration:underline;text-underline-offset:3px;padding:6px;cursor:pointer}.control-status{min-height:22px;margin:12px 0 0;color:#526781;font-size:.9rem;line-height:1.45}.control-status.error{color:#a43236}
.spaced{margin-top:17px}.field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.field-pair>div{min-width:0}.field-label{font-size:.9rem;margin-bottom:7px}.number-field{width:100%;height:47px;padding:0 12px;border:1px solid #cbd6e6;border-radius:9px;background:white;color:#172741;font-weight:650}.page-select{height:47px}.field-hint{font-size:.85rem;line-height:1.5}.check-row{display:inline-flex;align-items:center;gap:9px;color:#293a57;font-size:.9rem;font-weight:650;line-height:1.4;cursor:pointer}.check-row input{width:18px;height:18px;accent-color:#2457d5}.background-row{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.background-row input[type=color]{width:66px;height:43px;padding:4px;border:1px solid #cbd6e6;border-radius:9px;background:#fff}.settings-card #proportions-note{margin:12px 0}.settings-card #size-fields[hidden]{display:none!important}.settings-card #size-fields>div[hidden]{display:none!important}
.preview-card{min-width:0}.selected-name{display:flex;justify-content:space-between;gap:12px;min-height:22px;margin:-7px 0 14px;color:#52637e;font-size:.9rem}.selected-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#293a57}.selected-name span{white-space:nowrap}.editor-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:13px;flex-wrap:wrap}.editor-toolbar label{display:grid;gap:6px;flex:1;min-width:150px;color:#293a57;font-size:.9rem;font-weight:750}.editor-toolbar .page-select{height:41px}.rotate-actions{display:flex;gap:6px}.rotate-actions button,.preview-actions button{min-width:39px;min-height:39px;border:1px solid #cbd6e6;border-radius:9px;background:#fff;color:#2457d5;font-weight:750;cursor:pointer}.rotate-actions button{font-size:1.25rem}.rotate-actions button:disabled,.preview-actions button:disabled{opacity:.4;cursor:not-allowed}.rotate-actions button:hover:not(:disabled),.preview-actions button:hover:not(:disabled){background:#eaf0ff}.preview-frame{height:365px;min-height:260px;display:grid;place-items:center;overflow:hidden;padding:12px;border:1px solid #dce4ef;border-radius:12px;background-color:#f8faff;background-image:linear-gradient(45deg,#eef2f8 25%,transparent 25%),linear-gradient(-45deg,#eef2f8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef2f8 75%),linear-gradient(-45deg,transparent 75%,#eef2f8 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.preview-frame canvas{display:block;max-width:100%;max-height:100%;touch-action:none;cursor:grab;box-shadow:0 5px 16px #15234030}.preview-frame canvas:active{cursor:grabbing}.empty-preview{max-width:330px;text-align:center;color:#687790;line-height:1.5;background:#ffffffed;padding:20px;border-radius:9px}.preview-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.preview-actions #reset-crop{padding:7px 14px;color:#3154aa;font-size:.88rem}.warning{margin-top:16px;padding:10px 12px;border:1px solid #edcf96;border-radius:9px;background:#fff9e9;color:#765117;font-size:.88rem;line-height:1.4}.export-controls{margin-top:20px;border-top:1px solid #e5eaf2;padding-top:5px}.quality-row{display:flex;align-items:center;gap:8px;height:47px;color:#3154aa;font-weight:750;font-size:.88rem}.quality-row input{min-width:0;flex:1;accent-color:#2457d5}.create-button{margin-top:20px}.secondary-button{width:100%;min-height:48px;margin-top:10px;border:1px solid #b6c8eb;border-radius:10px;background:#f2f6ff;color:#16419c;font-size:.95rem;font-weight:750;cursor:pointer}.secondary-button:hover:not(:disabled){background:#e9f0ff}.secondary-button:disabled{opacity:.5;cursor:not-allowed}.preview-card .count{white-space:normal;text-align:end;font-variant-numeric:tabular-nums}
[dir=rtl] .page-select{background-position:left 12px center;padding-left:33px;padding-right:14px}
@media(max-width:950px){.resize-workspace{grid-template-columns:1fr}.control-column{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.preview-card{grid-column:1}}
@media(max-width:690px){.control-column{grid-template-columns:1fr;gap:15px}.resize-workspace{gap:15px}.preview-frame{height:320px}.card h2{overflow-wrap:anywhere}}
@media(max-width:420px){.editor-toolbar label{width:100%}.rotate-actions{width:100%;justify-content:space-between}.field-pair{gap:10px}}
