.ps-workroom, .ps-customer {
    --ps-muted: #596579;
    --ps-edge: #cbd5e1;
    --ps-panel: #f2f5fa;
    --ps-ink: #162039;
    --ps-accent: #075a90;
}
.ps-workroom { margin: 0 auto; width: min(100%, 1440px); padding: clamp(12px, 3vw, 28px); box-sizing: border-box; }
.ps-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ps-heading h2, .ps-panel h3 { margin: 0; }
.ps-workroom label, .ps-customer label { font-weight: 600; }
.ps-panel { border: 1px solid var(--ps-edge); border-radius: 14px; padding: clamp(12px, 2.2vw, 22px); margin: 0 0 16px; }
.ps-workroom .ps-panel { background: var(--surface, transparent); }
.ps-panel p { margin-block: 8px; overflow-wrap: anywhere; }
.ps-form, .ps-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-block: 12px; }
.ps-form label { min-width: min(100%, 210px); }
.ps-workroom input, .ps-workroom select, .ps-customer input {
    display: block; min-height: 42px; border: 1px solid var(--ps-edge); border-radius: 6px;
    padding: 6px 9px; margin-top: 4px; background: var(--ps-panel); color: var(--ps-ink); max-width: 100%; box-sizing: border-box;
}
.ps-workroom input[type="checkbox"] { display: inline; min-height: 0; margin: 0; }
.ps-workroom button, .ps-customer button { min-height: 42px; }
.ps-workroom [hidden], .ps-customer [hidden] { display: none !important; }
.ps-workroom #ps-message[data-error="true"] { color: var(--danger, #b42318); }
.ps-muted { font-size: 0.94rem; }
.ps-secret { border: 1px solid var(--ps-edge); border-radius: 8px; padding: 12px; margin-top: 8px; }
.ps-secret input { width: min(100%, 600px); }
.ps-secret img { display: block; margin-bottom: 10px; }
.ps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(145px, 100%), 1fr)); gap: 12px; margin-block: 12px; }
.ps-tile { border: 1px solid var(--ps-edge); border-radius: 10px; min-width: 0; overflow: hidden; }
.ps-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--ps-panel); }
.ps-tile > div { padding: 9px; }
.ps-tile a { display: inline-block; margin-block: 4px; }
.ps-customer { margin: 0; font: 1rem/1.55 system-ui, sans-serif; background: var(--ps-panel); color: var(--ps-ink); }
.ps-customer .ps-shell { margin: auto; width: min(100% - 32px, 1040px); }
.ps-hero { padding: clamp(26px, 5vw, 64px) 0 20px; }
.ps-hero h1 { font-size: clamp(1.9rem, 6vw, 3.55rem); line-height: 1.1; margin: .18em 0; overflow-wrap: anywhere; }
.ps-overline { color: var(--ps-accent); font-size: .82rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.ps-customer .ps-panel { background: var(--ps-page, #fff); }
.ps-customer a { color: var(--ps-accent); }
.ps-customer button { border: 1px solid var(--ps-accent); border-radius: 8px; background: var(--ps-page, #fff);
    color: var(--ps-accent); padding: 8px 12px; font: inherit; font-weight: 650; cursor: pointer; }
.ps-customer #gallery-claim button { background: var(--ps-accent); color: var(--ps-primary-ink, #fff); }
.ps-customer button:disabled { opacity: .7; cursor: wait; }
.ps-customer footer { color: var(--ps-muted); padding: 4px 0 26px; }
@media (prefers-color-scheme: dark) {
    .ps-workroom, .ps-customer {
        --ps-page: #142039; --ps-panel: #10192c; --ps-ink: #edf3ff; --ps-edge: #516079;
        --ps-muted: #c7d4e7; --ps-accent: #93d7ff; --ps-primary-ink: #142039;
    }
}
