/* Client mode over the unchanged GK Album editor: hides the studio-only controls for the client role and adds
   the demo strip and the «Πελάτης ↔ Στούντιο» panel. The server refuses those routes for the client anyway. */
html[data-gk-role="client"] [data-action="import"],
html[data-gk-role="client"] [data-action="demo"],
html[data-gk-role="client"] [data-action="export"],
html[data-gk-role="client"] [data-action="proofs"],
html[data-gk-role="client"] [data-action="new-project"],
html[data-gk-role="client"] #users,
html[data-gk-role="studio"] [data-action="demo"],
html[data-gk-role="client"] #logout,
html[data-gk-role="studio"] #logout { display: none !important; }

/* The strip sits in the editor's title bar, left of the album title, with the save state last. In a narrow
   window the bar wraps to a second line instead of hiding buttons or covering the save state. */
html[data-gk-role="client"] .titlebar, html[data-gk-role="studio"] .titlebar { height: auto; min-height: 25px; flex-wrap: wrap; justify-content: flex-start; gap: 3px 10px; padding: 2px 12px 2px 8px; }
html[data-gk-role="client"] .titlebar .brand, html[data-gk-role="studio"] .titlebar .brand { position: static; flex: none; }
html[data-gk-role="client"] .titlebar #project-title, html[data-gk-role="studio"] .titlebar #project-title { flex: 1 1 160px; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-gk-role="client"] .titlebar #save-state, html[data-gk-role="studio"] .titlebar #save-state { position: static; flex: none; }
.gkc-strip { display: flex; flex: 0 1 auto; flex-wrap: wrap; align-items: center; gap: 3px 6px; font: 11px Arial, Helvetica, sans-serif; color: #ccc; }
.gkc-strip.gkc-floating { position: fixed; bottom: 8px; left: 8px; z-index: 50; }
.gkc-tag { background: #6b5d1e; color: #ffeb3b; padding: 1px 7px; border-radius: 2px; letter-spacing: .02em; }
.gkc-strip a, .gkc-strip button { font: inherit; color: #ddd; background: #4a4a49; border: 1px solid #626262; border-radius: 2px; padding: 1px 8px; cursor: pointer; text-decoration: none; line-height: 18px; }
.gkc-strip a:hover, .gkc-strip button:hover { background: #5a5a59; }
.gkc-strip .gkc-primary { background: #119ab0; border-color: #119ab0; color: #fff; }
.gkc-strip .gkc-primary:hover { background: #14adc6; }
.gkc-badge { display: inline-block; min-width: 16px; margin-left: 4px; padding: 0 4px; border-radius: 8px; background: #ffeb3b; color: #222; font-weight: 700; text-align: center; }
.gkc-role { color: #9e9e9e; }

.gkc-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 24px 18px; padding: 8px 12px; background: #f4f4f4; border: 1px solid #ddd; color: #333; font: 12px Arial, Helvetica, sans-serif; }
.gkc-modal-bar button { font: inherit; padding: 4px 12px; background: #119ab0; color: #fff; border: 0; cursor: pointer; }

.gkc-notice { position: fixed; top: 30px; left: 50%; transform: translateX(-50%); z-index: 60; background: #fff8c4; color: #333; border: 1px solid #c9b74c; padding: 8px 12px; font: 12px Arial, Helvetica, sans-serif; display: flex; gap: 10px; align-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.gkc-notice[hidden] { display: none; }
.gkc-notice button { font: inherit; padding: 3px 10px; background: #119ab0; color: #fff; border: 0; cursor: pointer; }

.gkc-panel { position: fixed; top: 30px; right: 8px; width: min(400px, calc(100vw - 16px)); max-height: calc(100dvh - 60px); overflow: auto; z-index: 55; background: #f4f4f4; color: #333; border: 1px solid #999; box-shadow: 0 10px 30px rgba(0,0,0,.45); font: 12px/1.5 Arial, Helvetica, sans-serif; }
.gkc-panel[hidden] { display: none; }
.gkc-panel header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #383837; color: #eee; position: sticky; top: 0; }
.gkc-panel header h2 { margin: 0; font-size: 13px; font-weight: 700; }
.gkc-panel header button { background: none; border: 0; color: #ddd; font-size: 16px; cursor: pointer; }
.gkc-panel section { padding: 10px 14px; border-bottom: 1px solid #ddd; }
.gkc-panel h3 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #555; }
.gkc-panel p { margin: 4px 0; }
.gkc-panel .gkc-muted { color: #777; font-size: 11px; }
.gkc-panel .gkc-ok { color: #1b7a32; font-weight: 700; }
.gkc-panel .gkc-warn { color: #9a5b00; font-weight: 700; }
.gkc-panel .gkc-bad { color: #a12020; font-weight: 700; }
.gkc-panel button, .gkc-panel .gkc-button { font: inherit; padding: 4px 10px; margin: 4px 6px 0 0; background: #ddd; color: #333; border: 1px solid #bbb; cursor: pointer; text-decoration: none; display: inline-block; }
.gkc-panel button.gkc-primary, .gkc-panel .gkc-button.gkc-primary { background: #119ab0; border-color: #119ab0; color: #fff; }
.gkc-panel button:disabled { opacity: .5; cursor: default; }
.gkc-panel textarea { width: 100%; min-height: 54px; border: 1px solid #bbb; padding: 6px; font: inherit; resize: vertical; }
.gkc-panel ul { list-style: none; margin: 0; padding: 0; }
.gkc-panel li { padding: 7px 0; border-top: 1px dashed #ccc; }
.gkc-panel li:first-child { border-top: 0; }
.gkc-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; }
.gkc-panel dt { color: #777; }
.gkc-panel dd { margin: 0; }
.gkc-panel code { font-size: 10px; color: #666; }
.gkc-error { color: #a12020; white-space: pre-wrap; }
/* W1c3: the client's photos section and the upload batch (covers the whole page: nothing else reacts meanwhile). */
.gkc-panel .gkc-photos { margin: 8px 0; padding: 8px; background: #fff; border: 1px solid #ddd; }
.gkc-panel .gkc-photos input[type="file"] { display: block; margin: 6px 0; max-width: 100%; }
.gkc-panel input[type="text"] { width: 100%; box-sizing: border-box; border: 1px solid #bbb; padding: 5px 6px; font: inherit; }
.gkc-batch { position: fixed; inset: 0; z-index: 80; background: rgba(20, 20, 20, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.gkc-batch[hidden] { display: none; }
.gkc-batch-box { width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: #f4f4f4; color: #333; border: 1px solid #999; box-shadow: 0 10px 30px rgba(0,0,0,.45); padding: 12px 14px; font: 12px/1.5 Arial, Helvetica, sans-serif; }
.gkc-batch-box h2 { margin: 0 0 4px; font-size: 14px; }
.gkc-batch-box progress { width: 100%; height: 10px; margin: 6px 0; }
.gkc-batch-box ul { list-style: none; margin: 0 0 8px; padding: 0; }
.gkc-batch-box li { padding: 4px 0; border-top: 1px dashed #ccc; overflow-wrap: anywhere; }
.gkc-batch-box li:first-child { border-top: 0; }
.gkc-batch-box .gkc-ok { color: #1b7a32; font-weight: 700; }
.gkc-batch-box .gkc-warn { color: #9a5b00; font-weight: 700; }
.gkc-batch-box .gkc-bad { color: #a12020; font-weight: 700; }
.gkc-batch-box .gkc-muted { color: #777; }
.gkc-batch-box button { font: inherit; padding: 4px 10px; background: #ddd; color: #333; border: 1px solid #bbb; cursor: pointer; }
.gkc-batch-box button:disabled { opacity: .5; cursor: default; }
