/* Product-only operator header; loaded after existing component styles. */
.mode-app .top { grid-template-columns: auto minmax(0,1fr); gap: 24px; min-height: 96px; padding-block: 20px; background: #09090b; border-bottom: 1px solid #242427; }
.mode-app .top .brand-promise { display: none; }
.mode-app .brand { gap: 12px; }
.mode-app .brand img.pb-logo { width: 46px; height: 46px; border-radius: 12px; }
.mode-app .brand .pb-name { font-size: 30px; }
.mode-app .brand-signature { font-size: 9px; letter-spacing: .16em; }
.mode-app .top-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mode-app .top-tools button, .mode-app .top-tools .print-chip { min-height: 42px; }
.mode-app #pb-my-galleries { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #635238; background: #211d15; color: #efcf8b; padding: 10px 15px; border-radius: 9px; font: 600 13px "DM Sans",sans-serif; cursor: pointer; }
#pb-my-galleries svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.mode-app .pb-workspace-hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 42px 0 32px; }
.pb-workspace-eyebrow { margin: 0; color: #c1a66e; font: 600 10px/1.5 "DM Sans",sans-serif; letter-spacing: .2em; }
.mode-app .pb-workspace-hero .headline { font-size: clamp(40px,4.3vw,64px); margin: 9px 0 12px; line-height: 1.05; letter-spacing: -.035em; }
.pb-workspace-subtitle { color: #aaa9a5; font: 400 14px/1.6 "DM Sans",sans-serif; margin: 0; }
.pb-workspace-search { display: flex; align-items: center; gap: 12px; width: min(340px,35%); border: 1px solid #343438; border-radius: 12px; padding: 0 16px; background: #111113; }
.pb-workspace-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #aaa9a5; stroke-width: 1.6; }
.mode-app .pb-workspace-search #search { width: 100%; min-width: 0; background: transparent; border: 0; padding: 17px 0; outline: none; }
.pb-workspace-search:focus-within { outline: 2px solid #d7b56d; outline-offset: 3px; }
.mode-app #pb-my-galleries:hover { background: #302719; }
.mode-app #pb-my-galleries:focus-visible { outline: 2px solid #d7b56d; outline-offset: 3px; }
.pb-galleries-dialog { width: calc(100vw - 48px); max-width: 1600px; height: calc(100dvh - 48px); max-height: none; padding: 0; border: 1px solid #353539; border-radius: 16px; background: #0c0c0e; color: #f4f1ea; }
.pb-galleries-dialog::backdrop { background: #000b; }
.pb-galleries-dialog[open] { display: flex; flex-direction: column; }
.pb-galleries-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #303034; }
.pb-galleries-dialog h2 { font: 400 28px "Instrument Serif",serif; margin: 3px 0 0; }
.pb-galleries-dialog iframe { width: 100%; flex: 1; min-height: 0; border: 0; background: #111; }
@media(max-width:1100px) { .mode-app .top { grid-template-columns: 1fr; gap: 16px; } .mode-app .top-tools { justify-content: flex-start; } }
@media(max-width:600px) {
 .mode-app .top { padding-block: 16px; }
 .mode-app .pb-workspace-hero { flex-direction: column; align-items: stretch; padding: 30px 0 24px; gap: 23px; }
 .mode-app .pb-workspace-hero .headline { font-size: 43px; }
 .pb-workspace-search { width: auto; }
 .mode-app .top-tools { gap: 7px; }
 .mode-app .top-tools .account-chip { max-width: 100%; }
 .pb-galleries-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); }
 .pb-galleries-dialog header { padding: 14px; }
}

/* Dark sculpted surfaces — owner-requested depth treatment. */
.mode-app .top { background: #1b1d20; color: #f1eee8; border-bottom: 1px solid #101113; padding-block: 22px; }
.mode-app .top .pb-name { color: #f1eee8; }
.mode-app .top .brand-signature { color: #ceb780; }
.mode-app .top .pb-logo { box-shadow: 5px 5px 12px #0d0e10, -4px -4px 10px #303338; }
.mode-app .top-tools { gap: 13px; }
.mode-app .top-tools > * { flex: 0 0 auto; }
.mode-app .top-tools .print-chip,
.mode-app .top-tools .icon-btn,
.mode-app .top-tools .credits,
.mode-app .top-tools .account-chip,
.mode-app #pb-my-galleries {
 background: linear-gradient(145deg,#24272b,#1a1c1f); color: #e5e3df;
 border: 1px solid #303338; border-bottom-color: #151619; border-right-color: #17191c;
 border-radius: 15px; box-shadow: 6px 6px 12px #0c0d0f, -4px -4px 10px #303338;
 min-height: 44px;
}
.mode-app .top-tools .print-chip, .mode-app .top-tools .credits { width: auto; max-width: none; padding: 10px 14px; }
.mode-app #pb-my-galleries { color: #e8c98a; }
.mode-app #pb-my-galleries:hover { background: linear-gradient(145deg,#2d3035,#202226); }
.mode-app .top-tools button:active, .mode-app #pb-my-galleries:active {
 background: #1b1d20; box-shadow: inset 4px 4px 8px #0c0d0f, inset -3px -3px 7px #32353a;
 transform: translateY(1px);
}
.mode-app .top-tools button:focus-visible { outline: 2px solid #e8c98a; outline-offset: 5px; }
.mode-app .top-tools .account-out { background: #17191c; color: #e8c98a; }
.mode-app .pb-workspace-hero {
 background: #1b1d20; margin-inline: calc(-1 * var(--pick-gutter));
 padding: 36px var(--pick-gutter) 42px; color: #f1eee8;
 border-radius: 0 0 28px 28px; margin-bottom: 30px;
 box-shadow: 0 10px 18px #0006, inset 0 -1px 0 #36393d;
}
.mode-app .pb-workspace-hero .headline { color: #f1eee8; }
.mode-app .pb-workspace-hero .headline em { color: #d9b972; }
.mode-app .pb-workspace-eyebrow { color: #c9b27f; }
.mode-app .pb-workspace-subtitle { color: #b6b7ba; }
.mode-app .pb-workspace-search {
 background: #191b1e; border: 1px solid #161719; border-bottom-color: #373a3f;
 border-right-color: #303338; border-radius: 18px;
 box-shadow: inset 6px 6px 12px #0c0d0f, inset -4px -4px 10px #303338;
}
.mode-app .pb-workspace-search #search { color: #f1eee8; }
.mode-app .pb-workspace-search #search::placeholder { color: #b4b6bb; }
.mode-app .pb-workspace-search svg { stroke: #b4b6bb; }
.mode-app .pb-workspace-search:focus-within { outline-color: #e8c98a; }
@media(max-width:760px) {
 .mode-app .pb-workspace-hero { flex-direction: column; align-items: stretch; gap: 24px; }
 .mode-app .pb-workspace-search { width: auto; }
}
@media(max-width:600px) {
 .mode-app .pb-workspace-hero { padding-top: 28px; padding-bottom: 32px; border-radius: 0 0 22px 22px; }
}

/* Compact title band. */
.mode-app .pb-workspace-hero { padding-top: 22px; padding-bottom: 24px; gap: 24px; margin-bottom: 22px; }
.mode-app .pb-workspace-hero .headline { font-size: clamp(32px, 3vw, 44px); line-height: 1.08; margin: 7px 0 8px; }
@media(max-width:760px) { .mode-app .pb-workspace-hero { gap: 18px; } }
@media(max-width:600px) {
 .mode-app .pb-workspace-hero { padding-top: 20px; padding-bottom: 22px; }
 .mode-app .pb-workspace-hero .headline { font-size: 34px; }
}
