#photo-layout-studio.pls-professional{border:1px solid var(--pls-border);border-radius:16px;background:var(--pls-bg);overflow:hidden}
#photo-layout-studio.pls-professional [hidden]{display:none!important}
#photo-layout-studio .pls-pro-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 16px;background:var(--pls-panel);border-bottom:1px solid var(--pls-border)}
#photo-layout-studio .pls-pro-heading-title{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-width:0}
#photo-layout-studio .pls-pro-heading-title strong{font-size:14px;color:var(--pls-green)}
#photo-layout-studio .pls-pro-heading-title input{width:180px!important;margin:0!important;background:var(--pls-bg)!important;direction:rtl!important}
#photo-layout-studio .pls-pro-save{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:11px;min-width:0}
#photo-layout-studio .pls-pro-save>span{max-width:250px;overflow-wrap:anywhere;color:var(--pls-muted)}
#photo-layout-studio .pls-pro-save>span[data-phase=saved]{color:var(--pls-green)}
#photo-layout-studio .pls-pro-save>span[data-phase=error]{color:#c94b51}
#photo-layout-studio .pls-pro-save [data-design=save-cloud]{background:var(--pls-green);border-color:var(--pls-green);color:#fff}
.dark #photo-layout-studio .pls-pro-save [data-design=save-cloud]{color:#101827}
#photo-layout-studio .pls-pro-auto{display:flex;align-items:center;gap:5px;white-space:nowrap}
#photo-layout-studio .pls-pro-insert{display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:var(--pls-panel);padding:9px 13px;border-bottom:1px solid var(--pls-border)}
#photo-layout-studio .pls-pro-insert button{font-size:12px;padding:6px 11px;gap:6px;border-radius:8px;min-height:34px}
#photo-layout-studio .pls-pro-insert button svg,#photo-layout-studio .pls-pro-heading svg{width:16px;height:16px}
#photo-layout-studio .pls-pro-context{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--pls-panel);border:1px solid var(--pls-border);border-radius:12px;padding:8px 10px;margin-bottom:7px;min-width:0}
#photo-layout-studio .pls-pro-context>span{font-size:11px;font-weight:700;color:var(--pls-green);max-width:150px}
#photo-layout-studio .pls-pro-context label{display:flex;align-items:center;gap:4px;font-size:10px;margin:0}
#photo-layout-studio .pls-pro-context input[type=color]{width:31px!important;height:30px;min-height:30px;padding:2px!important;margin:0!important;border-radius:6px!important}
#photo-layout-studio .pls-pro-context input[type=number]{width:50px!important;margin:0!important;padding:4px!important;height:30px}
#photo-layout-studio .pls-pro-context input[type=range]{width:65px;max-width:100%;accent-color:var(--pls-green)}
#photo-layout-studio .pls-pro-image-options{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}
#photo-layout-studio .pls-pro-image-options button{font-size:11px;padding:5px 8px;min-height:30px}
#photo-layout-studio.pls-professional .pls-commandbar{margin-bottom:7px;gap:5px;padding:7px}
#photo-layout-studio.pls-professional .pls-command-group{gap:4px}
#photo-layout-studio.pls-professional .pls-command-label{display:none}
#photo-layout-studio.pls-professional .pls-commandbar button{padding:5px 7px;min-height:31px;font-size:11px;border-radius:7px}
#photo-layout-studio .pls-pro-context .pls-image-tools{padding:0!important;border:0!important;background:none!important;margin:0!important;display:flex;flex-wrap:wrap;gap:4px;align-items:center;min-width:0}
#photo-layout-studio .pls-pro-context .pls-image-tools button{font-size:10px;padding:5px 7px;min-height:30px}
#photo-layout-studio .pls-pro-context [data-image-status]{max-width:240px;font-size:10px}
#photo-layout-studio .pls-pro-text{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px;border:1px solid var(--pls-border);border-radius:12px;background:var(--pls-panel);margin-bottom:8px}
#photo-layout-studio .pls-pro-text textarea{flex:1 1 180px;min-width:0;min-height:55px;max-height:140px;resize:vertical;background:var(--pls-bg);border:1px solid var(--pls-border);border-radius:8px;padding:8px;color:var(--pls-text);direction:rtl;font:inherit}
#photo-layout-studio .pls-pro-text label{font-size:10px;min-width:0}
#photo-layout-studio .pls-pro-text select{width:115px!important;padding:5px!important;margin-top:2px!important}
#photo-layout-studio .pls-pro-text input{width:65px!important;padding:5px!important;margin-top:2px!important}
#photo-layout-studio .pls-pro-type-buttons{display:flex;gap:4px;flex-wrap:wrap}
#photo-layout-studio .pls-pro-type-buttons button{font-size:11px;padding:6px}
#photo-layout-studio .pls-pro-library-panel{min-width:0;padding-top:8px}
#photo-layout-studio .pls-pro-library-panel>label,#photo-layout-studio .pls-pro-library-panel>input{margin-bottom:9px}
#photo-layout-studio .pls-pro-library-panel>button{width:100%;margin-bottom:8px;font-size:11px}
#photo-layout-studio.pls-professional .pls-left-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#photo-layout-studio.pls-professional .pls-left-tabs button{padding:6px 3px;font-size:10px;min-width:0;overflow-wrap:anywhere}
#photo-layout-studio .pls-pro-shapes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;max-height:530px;overflow:auto;padding:2px}
#photo-layout-studio .pls-pro-shapes button{display:flex;flex-direction:column;gap:3px;font-size:10px;padding:5px 2px;border-radius:7px;min-width:0}
#photo-layout-studio .pls-pro-shapes canvas{display:block;width:min(100%,50px);height:auto}
#photo-layout-studio .pls-pro-fonts{display:flex;flex-direction:column;gap:6px;max-height:530px;overflow:auto;padding:2px}
#photo-layout-studio .pls-pro-fonts button{display:flex;align-items:stretch;flex-direction:column;text-align:right;padding:8px 10px;min-width:0}
#photo-layout-studio .pls-pro-fonts button small{font-family:Cairo,Tahoma,sans-serif;font-size:10px;color:var(--pls-muted)}
#photo-layout-studio .pls-pro-fonts button>span{font-size:21px;min-height:36px;line-height:1.7}
#photo-layout-studio .pls-pro-templates{display:grid;grid-template-columns:1fr;gap:8px}
#photo-layout-studio .pls-pro-templates button{flex-direction:column;align-items:stretch;gap:5px;font-size:11px;min-width:0;padding:7px}
#photo-layout-studio .pls-pro-templates button>small{font-size:10px;color:var(--pls-muted)}
#photo-layout-studio .pls-pro-template-art{display:flex;align-items:center;justify-content:center;white-space:pre-line;min-height:88px;border:1px solid #d4dfd8;border-radius:6px;background:#edf6f1;color:#0b7157;font-size:19px;font-weight:700;line-height:1.8;text-align:center}
#photo-layout-studio .pls-pro-template-art[data-template=thanks]{background:#fcf0dc;color:#886b30}
#photo-layout-studio .pls-pro-template-art[data-template=business]{background:#0b7157;color:#fff}
#photo-layout-studio .pls-pro-template-art[data-template=price]{background:#fff0c2;color:#7c5d20}
#photo-layout-studio .pls-pro-template-art[data-template=cover]{background:#e6f0f7;color:#245169}
#photo-layout-studio .pls-pro-template-art[data-template=certificate]{background:#fffdf5;color:#8f712b;border:3px double #b79a52}
#photo-layout-studio .pls-pro-pagebar{padding:9px 6px;display:flex;align-items:center;flex-direction:column;gap:8px}
#photo-layout-studio .pls-pro-page-actions{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}
#photo-layout-studio .pls-pro-page-actions button{font-size:11px;padding:6px 9px;min-height:32px}
#photo-layout-studio .pls-pro-pages{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;max-width:100%}
#photo-layout-studio .pls-pro-pages button{display:flex;flex-direction:column;min-width:42px;gap:0;padding:4px 6px;font-size:12px;border-radius:6px}
#photo-layout-studio .pls-pro-pages small{font-size:8px;color:var(--pls-muted)}
#photo-layout-studio .pls-pro-page-picker{display:flex;align-items:center;gap:8px;font-size:10px}
#photo-layout-studio .pls-pro-page-picker select{margin:0!important;padding:4px!important;max-width:140px;width:auto!important}
#photo-layout-studio .pls-pro-cloud-tabs,#photo-layout-studio .pls-pro-cloud-actions,#photo-layout-studio .pls-pro-cloud-paging{display:flex;gap:4px;flex-wrap:wrap;margin:7px 0}
#photo-layout-studio .pls-pro-cloud-tabs button,#photo-layout-studio .pls-pro-cloud-actions button,#photo-layout-studio .pls-pro-cloud-paging button{flex:1;padding:5px;font-size:10px;min-height:30px}
#photo-layout-studio .pls-pro-cloud-list{display:flex;flex-direction:column;gap:9px;max-height:500px;overflow:auto;padding:2px}
#photo-layout-studio .pls-pro-cloud-card{border:1px solid var(--pls-border);border-radius:9px;padding:7px;background:var(--pls-panel);display:flex;flex-direction:column;gap:5px;min-width:0}
#photo-layout-studio .pls-pro-cloud-card>button{justify-content:flex-start;border:0;padding:2px;font-size:11px;text-align:right;overflow-wrap:anywhere;min-width:0}
#photo-layout-studio .pls-pro-cloud-card>button img{width:40px;height:50px;object-fit:contain;background:#fff;border-radius:3px;flex-shrink:0}
#photo-layout-studio .pls-pro-cloud-card>small{font-size:9px;color:var(--pls-muted)}
#photo-layout-studio .pls-pro-cloud-card-actions{display:flex;gap:4px;flex-wrap:wrap}
#photo-layout-studio .pls-pro-cloud-card-actions button{flex:1;font-size:10px;padding:3px}
#photo-layout-studio dialog.pls-pro-effects,#photo-layout-studio dialog.pls-pro-eraser,#photo-layout-studio dialog.pls-pro-revisions{width:min(90vw,650px);max-width:calc(100vw - 24px);max-height:90vh;overflow:auto;border:1px solid var(--pls-border);border-radius:16px;background:var(--pls-panel);color:var(--pls-text);padding:20px}
#photo-layout-studio dialog.pls-pro-effects::backdrop,#photo-layout-studio dialog.pls-pro-eraser::backdrop,#photo-layout-studio dialog.pls-pro-revisions::backdrop{background:#0c162c99;backdrop-filter:blur(3px)}
#photo-layout-studio .pls-pro-effects canvas,#photo-layout-studio .pls-pro-eraser canvas{display:block;max-width:100%;max-height:430px;width:auto;height:auto;margin:12px auto;border:1px solid var(--pls-border);background:repeating-conic-gradient(#edf0f3 0% 25%,#fff 0% 50%) 50%/16px 16px}
#photo-layout-studio .pls-pro-eraser canvas{touch-action:none;cursor:crosshair}
#photo-layout-studio .pls-pro-effect-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#photo-layout-studio .pls-pro-effect-controls input,#photo-layout-studio .pls-pro-eraser input{width:100%;accent-color:var(--pls-green)}
#photo-layout-studio .pls-pro-effect-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px;flex-wrap:wrap}
#photo-layout-studio .pls-pro-revisions button{display:block;width:100%;margin:7px 0}
#photo-layout-studio.pls-pro-working .pls-layout,#photo-layout-studio.pls-pro-working .pls-pro-insert{pointer-events:none;opacity:.65}
@media(max-width:700px){#photo-layout-studio .pls-pro-heading{padding:10px}#photo-layout-studio .pls-pro-heading-title{width:100%;justify-content:space-between}#photo-layout-studio .pls-pro-heading-title input{width:140px!important}#photo-layout-studio .pls-pro-save>span{width:100%;max-width:none}#photo-layout-studio .pls-pro-insert{padding:7px;gap:5px}#photo-layout-studio .pls-pro-insert button{flex:1 1 100px;font-size:11px;padding:6px}#photo-layout-studio .pls-pro-text textarea{flex-basis:100%}#photo-layout-studio .pls-pro-context{padding:7px;gap:6px}#photo-layout-studio .pls-pro-context>span{flex-basis:100%;max-width:none}#photo-layout-studio .pls-pro-context .pls-image-tools{width:100%}#photo-layout-studio .pls-pro-effect-controls{grid-template-columns:1fr}}
@media(max-width:540px){#photo-layout-studio.pls-professional .pls-workspace{grid-template-columns:minmax(0,1fr) 116px}#photo-layout-studio .pls-pro-shapes{grid-template-columns:repeat(2,minmax(0,1fr))}#photo-layout-studio .pls-pro-fonts button>span{font-size:17px}#photo-layout-studio .pls-pro-cloud-tabs button{flex-basis:100%}#photo-layout-studio .pls-pro-save button{padding:6px;font-size:10px}#photo-layout-studio .pls-pro-heading-title strong{font-size:12px}#photo-layout-studio .pls-pro-page-picker{flex-direction:column}#photo-layout-studio .pls-pro-text select{width:105px!important}#photo-layout-studio .pls-pro-image-options button{font-size:10px;padding:5px}}
@media(pointer:coarse){#photo-layout-studio.pls-professional button{min-height:40px}#photo-layout-studio .pls-pro-text textarea{font-size:16px}}
