.ff-logo-workspace{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.5fr);gap:28px;margin:24px 0;color:var(--lc-text);font-family:inherit}.ff-logo-workspace h2{font:inherit;font-size:22px;font-weight:600;margin:0 0 10px}.ff-logo-controls,.ff-logo-preview-panel{min-width:0}.ff-logo-controls{padding:24px;border:1px solid var(--lc-line);border-radius:16px;align-self:start}.ff-logo-fields{border:0;padding:0;margin:0;min-width:0}.ff-logo-fields:disabled{opacity:.5}.ff-logo-switch{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;font-size:16px}.ff-logo-switch input{width:24px;height:24px;accent-color:var(--lc-accent)}.ff-logo-range{display:flex;justify-content:space-between;gap:16px;margin:24px 0 10px;font-size:15px;align-items:baseline}.ff-logo-range output{color:var(--lc-accent)}.ff-logo-range small{font-size:12px;color:var(--lc-muted);text-align:right}.ff-logo-fields input[type=range]{display:block;width:100%;accent-color:var(--lc-accent);margin:8px 0;height:22px}.ff-logo-position-row{display:flex;align-items:center;gap:18px}.ff-logo-positions{display:grid;grid-template-columns:repeat(3,42px);gap:5px;flex:none}.ff-logo-positions label{position:relative;width:42px;height:42px;cursor:pointer}.ff-logo-positions input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.ff-logo-positions span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:1px solid var(--lc-line);border-radius:8px;box-sizing:border-box}.ff-logo-positions span:after{content:'';width:5px;height:5px;border-radius:50%;background:var(--lc-muted)}.ff-logo-positions input:checked+span{background:color-mix(in srgb,var(--lc-accent) 16%,transparent);border-color:var(--lc-accent)}.ff-logo-positions input:checked+span:after{background:var(--lc-accent);width:8px;height:8px}.ff-logo-positions input:focus-visible+span{outline:2px solid var(--lc-accent);outline-offset:3px}.ff-logo-hint{font:inherit;font-size:13px;line-height:1.65;color:var(--lc-muted);margin:12px 0;overflow-wrap:anywhere}.ff-logo-workspace button{font:inherit;font-size:13px;color:var(--lc-text);background:transparent;border:1px solid var(--lc-line);border-radius:8px;padding:10px 12px;min-height:40px;cursor:pointer}.ff-logo-workspace button:disabled{opacity:.5;cursor:default}.ff-logo-workspace button:focus-visible{outline:2px solid var(--lc-accent);outline-offset:3px}.ff-logo-workspace button[aria-pressed=true]{background:color-mix(in srgb,var(--lc-accent) 15%,transparent);border-color:var(--lc-accent);color:var(--lc-accent)}.ff-logo-toolbar,.ff-logo-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 16px}.ff-logo-actions{margin-top:24px}.ff-logo-toolbar h2{margin:0}.ff-logo-toggle{display:flex;gap:4px;flex-wrap:wrap}
/* 23.11 (testy nocne 22.11): kropki wyboru w ustawieniach logo w Koncie staly wyzej niz podpisy (wyrownanie do linii pisma).
   Te same zasady co w oknie okladki sesji, bez ramek; okno sesji ma swoje, mocniejsze reguly nizej. */
.ff-logo-toggle[role="radiogroup"]{gap:4px 16px}
.ff-logo-toggle[role="radiogroup"] label{display:inline-flex;align-items:center;gap:7px;min-height:32px;cursor:pointer}
.ff-logo-toggle[role="radiogroup"] input{margin:0;flex:none;accent-color:var(--lc-accent)}
.ff-logo-stage{width:100%;overflow:hidden;border:1px solid var(--lc-line);border-radius:14px;box-sizing:border-box;margin-bottom:16px}.ff-logo-stage iframe{position:absolute;top:0;left:0;border:0;display:block}.ff-logo-dialog{width:min(1400px,96vw);max-width:96vw;height:92dvh;max-height:94dvh;border:1px solid var(--lc-line);border-radius:15px;padding:16px;box-sizing:border-box;background:var(--lc-bg);color:var(--lc-text)}.ff-logo-dialog::backdrop{background:#000b}.ff-logo-other{margin:25px 0}.ff-logo-other summary{cursor:pointer;font-size:17px;padding:16px 0}.ff-logo-other .ff-logo-previews{max-width:100%}
@media(max-width:1000px){.ff-logo-workspace{grid-template-columns:minmax(240px,.8fr) minmax(0,1fr);gap:18px}.ff-logo-position-row{align-items:start;flex-direction:column;gap:4px}.ff-logo-controls{padding:18px}}
@media(max-width:740px){.ff-logo-workspace{grid-template-columns:minmax(0,1fr)}.ff-logo-position-row{flex-direction:row;align-items:center;gap:16px}.ff-logo-preview-panel{margin-top:12px}.ff-logo-toolbar h2{font-size:20px}.ff-logo-dialog{padding:10px}.ff-logo-dialog .ff-logo-toolbar{gap:8px}.ff-logo-dialog button{max-width:60%}.ff-logo-controls{padding:16px}}

@media(max-width:420px){.ff-logo-position-row{flex-direction:column;align-items:flex-start;gap:4px}}

/* SOL188. Body portal keeps Save tied to the viewport, including animated views. */
.ff-account--logo{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
.ff-logo-savebar{position:fixed;z-index:500;left:16px;right:16px;bottom:0;max-width:1160px;margin:0 auto;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border:1px solid;border-bottom:0;border-radius:16px 16px 0 0;box-sizing:border-box;box-shadow:0 -8px 28px #0002}
.ff-logo-savebar button{min-height:48px;font-family:Inter,system-ui,sans-serif!important;touch-action:manipulation}
.ff-logo-savebar button:focus-visible{outline:2px solid var(--ff-gold-light);outline-offset:3px}
@media(max-width:740px){.ff-logo-savebar{left:8px;right:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}}
/* 10b: local gallery cover dialog, using the existing panel palette. */
dialog.ff-gallery-cover-dialog{inset:0;margin:auto;scroll-padding:24px 0 150px;overscroll-behavior:contain}
.ff-gallery-cover-dialog button,.ff-gallery-cover-open button{font:inherit;font-size:15px;line-height:1.4;color:var(--ff-ink);background:var(--ff-raised);border:1px solid var(--ff-line);border-radius:9px;padding:10px 16px;min-height:44px;cursor:pointer}
.ff-gallery-cover-dialog button:hover:not(:disabled),.ff-gallery-cover-open button:hover:not(:disabled){border-color:var(--ff-gold)}
.ff-gallery-cover-dialog button:focus-visible,.ff-gallery-cover-open button:focus-visible{outline:2px solid var(--ff-gold);outline-offset:3px}
.ff-gallery-cover-dialog button:disabled,.ff-gallery-cover-open button:disabled{opacity:.5;cursor:default}
.ff-gallery-cover-dialog [data-testid="gallery-cover-done"]{background:var(--ff-gold);border-color:var(--ff-gold);color:var(--ff-cta);font-weight:600}
.ff-gallery-cover-dialog .ff-logo-toggle[role="radiogroup"]{gap:8px}
.ff-gallery-cover-dialog .ff-logo-toggle[role="radiogroup"] label{display:flex;align-items:center;gap:8px;min-height:44px;max-width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid var(--ff-line);border-radius:9px;font-size:15px;line-height:1.4;cursor:pointer}
.ff-gallery-cover-dialog .ff-logo-toggle[role="radiogroup"] label:has(input:checked){border-color:var(--ff-gold);background:color-mix(in srgb,var(--ff-gold) 14%,transparent)}
.ff-gallery-cover-dialog .ff-logo-toggle[role="radiogroup"] label:focus-within{outline:2px solid var(--ff-gold);outline-offset:2px}
.ff-gallery-cover-dialog .ff-logo-toggle[role="radiogroup"] input{width:17px;height:17px;flex:none;margin:0;accent-color:var(--ff-gold)}
.ff-gallery-cover-dialog .ff-logo-workspace{margin-bottom:42px}
@media(max-width:740px){.ff-gallery-cover-dialog .ff-logo-workspace{display:flex;flex-direction:column;gap:22px}.ff-gallery-cover-dialog .ff-logo-preview-panel{order:-1;margin-top:0}.ff-gallery-cover-dialog .ff-logo-controls{align-self:stretch}.ff-gallery-cover-dialog .ff-logo-toolbar{gap:12px}}
