/* Scoped additions to the existing print studio. */
.ps-start-actions,.ps-workflow-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.ps-start-actions .btn{font-size:13px}.ps-auth-panel{scroll-margin-top:24px}
dialog:has([data-ps-action]) .ps-primary{background:#316aff;color:#fff}dialog:has([data-ps-action]) .ps-primary:hover{background:#2655d7}dialog:has([data-ps-action]) .modal-actions{flex-wrap:wrap}
.ps-workflow{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ps-workflow>div{min-width:0;border:1px solid var(--ps-line);border-radius:12px;padding:18px;background:#fff}.ps-workflow h2{font-size:15px}.ps-workflow p{font-size:13px;color:#406caa;margin:10px 0}.ps-workflow span{display:block;font-size:12px;color:#7f90aa;line-height:1.8}.ps-workflow a{display:block;color:#507cac;margin-top:6px}.ps-workflow-note{margin:12px 0 20px}
.ps-sync-issue{padding:18px;border:1px solid #e1b47b;border-radius:12px;background:#fff8ee;margin-bottom:20px;color:#775630;font-size:13px;line-height:1.8}.ps-sync-issue p{margin-top:7px}.ps-sync-issue .ps-workflow-actions{margin-bottom:0}.ps-copy-buffer{display:block;width:100%;min-height:160px;margin-bottom:20px;font-size:12px}
.ps-batch-plan{border:1px solid #cfdcf1;border-radius:12px;padding:16px;margin:16px 0;background:#f9fbff;min-width:0}.ps-batch-plan h3{font-size:15px}.ps-batch-plan .ps-panel-head{margin-bottom:12px}.ps-batch-rows{list-style:none;padding:0;margin:15px 0;display:flex;flex-direction:column;gap:9px;max-height:470px;overflow:auto}.ps-batch-rows li{display:flex;align-items:center;gap:12px;padding:10px;background:#fff;border:1px solid var(--ps-line);border-radius:8px;min-width:0}.ps-batch-rows img{width:45px;height:60px;object-fit:cover;border-radius:4px;flex-shrink:0}.ps-batch-rows li>div:first-of-type{flex:1;min-width:0}.ps-batch-rows strong,.ps-batch-rows span,.ps-batch-rows small{display:block;overflow-wrap:anywhere}.ps-batch-rows strong{font-size:12px;color:#5276a4}.ps-batch-rows span,.ps-batch-rows small{font-size:11px;margin-top:5px}.ps-batch-order{display:flex;gap:10px;flex-shrink:0}.ps-batch-order button{font-size:12px;min-width:25px;min-height:34px}.ps-batch-failed{border-color:#ddaaaa!important}.ps-batch-succeeded,.ps-batch-reconciled{border-color:#c5ddcd!important}.ps-batch-uploading{background:#edf4ff!important}.ps-refresh-note{margin:13px 0}.ps-batch-plan>.help:last-child{font-size:11px;line-height:1.8}
.ps-submit-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-height:280px;overflow:auto;margin:20px 0}.ps-submit-thumbs>div{min-width:0}.ps-submit-thumbs small{display:block;text-align:center;font-size:10px;margin-top:6px}.ps-submit-address{font-size:13px;line-height:1.9;overflow-wrap:anywhere;margin:20px 0}.ps-compare{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.ps-compare>div{padding:16px;border:1px solid var(--line);border-radius:10px;min-width:0}.ps-compare h3{font-size:14px;margin-bottom:10px}.ps-compare p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.ps-compare small{font-size:11px;color:var(--muted)}
@media(max-width:680px){.ps-start-actions{margin:18px 0 8px}.ps-start-actions .btn{font-size:12px;padding:10px 12px}.ps-workflow{grid-template-columns:1fr;gap:10px}.ps-workflow>div{padding:15px}.ps-batch-plan{padding:12px}.ps-batch-rows li{gap:8px;flex-wrap:wrap}.ps-batch-rows img{width:35px;height:47px}.ps-batch-order{margin-left:auto}.ps-batch-rows li>div:first-of-type{min-width:150px}.ps-batch-plan .ps-workflow-actions .btn{width:100%;font-size:12px}.ps-submit-thumbs{gap:6px}.ps-compare{grid-template-columns:1fr}.ps-sync-issue .btn{font-size:12px}.ps-refresh-note{font-size:10px}}

.ps-text2img{margin-top:18px}.ps-text2img .ps-panel-head{margin-bottom:10px}.ps-t2i-input{display:block;width:100%;box-sizing:border-box;min-height:74px;resize:vertical;padding:11px 12px;font:inherit;font-size:13px;line-height:1.6;color:#1e2b3a;border:1px solid var(--ps-line,#cfdcf1);border-radius:10px;background:#fff;margin:6px 0 12px}.ps-t2i-input:focus{outline:none;border-color:#316aff;box-shadow:0 0 0 3px rgba(49,106,255,.15)}.ps-t2i-input:disabled{background:#f2f5f9;color:#90a0b4}
@media(max-width:680px){.ps-t2i-input{font-size:12px}}
