:root{color-scheme:dark;--bg:#14100e;--panel:#211916;--line:#574334;--gold:#ebbf80;--text:#fbede0;--dim:#c6b5a8;--green:#95d9ae}*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 20% 25%,#352219 0%,var(--bg) 62%) fixed;color:var(--text);font:16px/1.55 system-ui,sans-serif}a{color:var(--gold)}button,input,select{font:inherit}button{cursor:pointer}.top,footer{display:flex;align-items:center;gap:1rem;padding:1rem clamp(1rem,5vw,4.5rem);border-bottom:1px solid var(--line)}.top>a:last-child{margin-left:auto}.brand{font-family:Georgia,serif;letter-spacing:.18em;text-decoration:none}.badge,.overline{font-size:.74rem;letter-spacing:.18em;color:var(--gold);font-weight:700}.badge{padding:.25rem .55rem;border:1px solid var(--line);border-radius:99px}.shell{max-width:1440px;margin:auto;display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.25fr);gap:clamp(1rem,4vw,4rem);padding:clamp(1rem,4vw,3.5rem)}.intro{align-self:start;position:sticky;top:3rem;padding:3rem 0}.mark{font:2.2rem Georgia,serif;display:grid;place-items:center;width:64px;height:64px;color:var(--gold);border:1px solid var(--gold);border-radius:50%}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.1;margin:.5rem 0 1rem}h1{font-size:clamp(2.5rem,5.5vw,5.5rem);letter-spacing:-.04em}h2{font-size:clamp(1.7rem,3vw,2.4rem)}h3{font-size:1.35rem}.intro p{max-width:330px;color:var(--dim)}.social{display:block;margin-top:1rem}.panel{background:var(--panel);border:1px solid var(--line);border-radius:1rem;padding:clamp(1rem,3vw,2rem);margin-bottom:1rem}.muted,small{color:var(--dim)}.button,.secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:.65rem 1rem;min-height:44px;border:1px solid transparent;border-radius:.5rem;font-weight:650;line-height:1.2}.button{background:var(--gold);color:#26150b}.secondary{background:#362923;border-color:var(--line);color:var(--text)}:focus-visible{outline:3px solid #fff0ad;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr));gap:.75rem;align-items:end;margin:1rem 0}label{display:grid;gap:.3rem;font-size:.9rem}input,select{width:100%;min-width:0;padding:.58rem .65rem;border:1px solid var(--line);border-radius:.4rem;background:#17110f;color:var(--text)}.section-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-top:1.5rem}.section-row p{margin:0}.floor-title{font-size:.68rem;text-align:center;letter-spacing:.24em;color:var(--gold);padding:.4rem;border-bottom:3px double var(--line)}.floor,.staff-floor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:.75rem 0}.floor button,.staff-tile{display:grid;place-content:center;gap:.15rem;text-align:center;min-height:78px;padding:.4rem;border:1px solid var(--line);border-radius:.75rem;background:#2e241f;color:var(--text)}.floor button[data-state=free]{border-color:var(--green);background:#20372a}.floor button[data-state=busy]{background:#432925;border-color:#9a5e57}.floor button[aria-pressed=true]{border-color:var(--gold);box-shadow:0 0 0 2px var(--gold)}.floor button[data-state=offline]{color:var(--dim);border-style:dashed}.floor button small,.staff-tile small{display:block;font-size:.75rem}.check{display:flex;gap:.6rem;align-items:flex-start;margin:.9rem 0}.check input{width:auto;margin-top:.32rem}.notice{margin:1rem 0;padding:1rem;border:1px solid var(--gold);border-radius:.5rem}.message:not(:empty){margin:1rem 0;padding:.8rem;background:#392c20;border-radius:.5rem}.login{width:min(95%,480px);margin:3rem auto}.login h1,.dashboard h1{font-size:clamp(2rem,4vw,3.4rem)}.login label{margin:.75rem 0}.dashboard{max-width:1050px;margin:auto;padding:clamp(1rem,4vw,3rem)}.dashboard input[type=date]{max-width:230px}.staff-tile[data-state=occupied]{border-color:#d18574}.staff-tile[data-state=held]{border-color:var(--gold)}.staff-tile[data-state=reserved]{border-color:var(--green)}.record{border-top:1px solid var(--line);padding:.75rem 0;display:flex;gap:.65rem;justify-content:space-between;flex-wrap:wrap}.record span{display:block}.record button{margin:.2rem}.sticky{position:sticky;bottom:.5rem}footer{border-top:1px solid var(--line);font-size:.85rem;color:var(--dim)}@media(max-width:780px){.shell{display:block}.intro{position:static;padding:1rem 0 2rem}.top{flex-wrap:wrap}.top>a:last-child{margin-left:0}.floor button,.staff-tile{min-height:72px}.floor button strong{font-size:.9rem}}

/* Cafe backdrop and independent Instagram reading pane */
.cafe-page::before{content:"";position:fixed;inset:-8px;z-index:-1;background:linear-gradient(100deg,#140b08dc,#170e0bb8),url("cafe-background.jpg") center/cover;filter:blur(3px);pointer-events:none}
.cafe-page{background:#1a120e;isolation:isolate}
.cafe-page .top{background:#160e0bdc}
.cafe-page .shell{min-height:calc(100svh - 70px);align-items:center;grid-template-columns:minmax(250px,1fr) minmax(0,1fr)}
.cafe-page .intro{position:static;align-self:center}
.cafe-logo{display:block;width:min(10.5rem,48%);height:auto;object-fit:contain;margin-bottom:1.4rem}
.instagram{width:min(100%,490px);max-height:calc(100svh - 135px);overflow-y:auto;overscroll-behavior:contain;scrollbar-color:var(--gold) #211916;padding:.8rem .9rem .8rem .1rem;justify-self:center;align-self:center}
.instagram h2{margin-bottom:.5rem}
.instagram-card{background:#201713ee;border:1px solid var(--line);border-radius:.8rem;padding:.8rem;margin-top:1rem}
.instagram-card p{overflow-wrap:anywhere}
.instagram-card summary{cursor:pointer;color:var(--gold);margin:.65rem 0}
.instagram-card>img,.ig-frame img,.ig-frame video{display:block;width:auto;max-width:100%;height:auto;max-height:66svh;object-fit:contain;margin:0 auto;border-radius:.5rem}
.instagram-card>a{display:inline-block;margin-top:.6rem}
.ig-nav{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.4rem}
.booking-section{width:min(100%,960px);margin:auto;padding:1rem clamp(1rem,4vw,3rem)}
#rezerwacja{scroll-margin-top:1rem}
.floor button[data-state=offline],.staff-tile[data-online=false]{background:#333337;border-color:#77777e;color:#f5f0ee}
.floor button[data-state=unknown],.floor button[data-state=free],.staff-tile[data-online=true]{background:#543522;border-color:#bb8659;color:#fff1e3}
.floor button[data-state=busy]{background:#3b2721;border-color:#b47c6b}
.floor button[aria-pressed=true],.staff-tile[aria-pressed=true],.week-strip button[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--gold);border-color:var(--gold)}
.suggestions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin:1rem 0}
.suggestions strong{flex-basis:100%}
.calendar-controls{display:flex;gap:.45rem;align-items:end;flex-wrap:wrap}
.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.35rem;margin-top:.8rem}
.week-strip button{padding:.4rem;font-size:.83rem}
#staff-edit{width:min(92%,650px);color:var(--text)}
#staff-edit::backdrop{background:#100904ce}
.stat-line{display:grid;grid-template-columns:1fr 1fr auto;gap:.5rem;padding:.55rem 0;border-top:1px solid var(--line)}
@media(max-width:780px){
 .cafe-page.has-mobile-bg::before{background:linear-gradient(90deg,#150c09a8,#150c093e 52%,#150c0970)}
  .cafe-page .shell{min-height:auto}
  .instagram{width:100%;max-height:none;overflow:visible;padding:0 0 1rem}
  .ig-frame img,.ig-frame video{max-height:80svh}
  .week-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Reservation overlay, compact date controls and discreet Instagram navigation. */
.instagram-layout{width:min(100%,490px);min-width:0;justify-self:center;position:relative}
.instagram-layout .instagram{width:100%;max-height:calc(100svh - 245px);min-height:min(22rem,52svh);padding:.35rem .15rem;scrollbar-width:none}
.instagram-layout .instagram::-webkit-scrollbar{display:none}
.instagram-scroll{display:flex;justify-content:end;gap:.4rem;margin-top:.4rem}
.instagram-scroll button,.close-dialog{min-width:42px;padding:.35rem}
.booking-dialog{width:min(95vw,960px);max-height:94dvh;overflow:auto;color:var(--text);padding:0 1.3rem 1.3rem}
.booking-dialog::backdrop,.picker-dialog::backdrop{background:#100904cb}
.booking-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;position:sticky;top:0;z-index:2;background:var(--panel);padding:.75rem 0;border-bottom:1px solid var(--line);margin-bottom:.8rem}
.booking-header h2{margin:0}
.close-dialog{font-size:1.45rem}
body:has(.booking-dialog[open]){overflow:hidden}
.picker-trigger{justify-content:flex-start}
.picker-dialog{width:min(92vw,325px);color:var(--text);padding:.85rem}
.picker-heading{display:flex;align-items:center;justify-content:space-between;gap:.4rem}
.picker-heading strong{color:var(--gold);text-align:center}
.picker-heading button{padding:.3rem .6rem;min-height:34px}
.picker-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.24rem;margin:.65rem 0;text-align:center}
.picker-grid small{color:var(--gold)}
.picker-grid button{padding:.15rem;min-height:34px}
.picker-grid button[aria-pressed=true]{color:#26150b;background:var(--gold)}
.picker-grid button:disabled{opacity:.35;cursor:default}
.picker-dialog form>.secondary{margin-left:.4rem}
.calendar-controls{display:grid;grid-template-columns:auto auto minmax(75px,115px) auto auto auto;justify-content:start;gap:.28rem}
.calendar-controls label{font-size:.71rem;gap:.15rem}
.calendar-controls .secondary,.calendar-controls input{font-size:.77rem;min-height:36px;padding:.35rem .48rem;white-space:nowrap}
.week-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:.25rem;margin-top:.55rem}
.week-strip button{min-height:36px;font-size:.74rem;padding:.25rem .12rem;line-height:1.1}
@media(max-width:780px){
  .instagram-layout{width:100%}
  .instagram-layout .instagram{max-height:none;min-height:0;overflow:visible}
  .instagram-scroll{display:none}
  .booking-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border-radius:0;padding:0 .8rem 1rem}
  .calendar-controls{grid-template-columns:auto auto minmax(68px,88px) auto auto auto;gap:.18rem}
  .calendar-controls .secondary,.calendar-controls input{font-size:.68rem;padding:.26rem .32rem;min-height:40px}
  .week-strip button{font-size:.66rem;min-height:40px}
}

/* Keep the desktop stage fixed while the right column advances by whole posts. */
.ig-open{position:relative;display:block;width:100%;padding:0;border:0;border-radius:.5rem;background:#17100d;color:var(--text)}
.ig-play{position:absolute;left:50%;top:50%;translate:-50% -50%;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#160e0bcc;border:1px solid var(--gold);color:var(--gold)}
.ig-details-button{width:100%;margin-top:.45rem;min-height:34px}
.ig-description{margin-top:.85rem;overflow-wrap:anywhere}
.ig-description p{margin:0 0 .75rem}
.ig-profile-heading{display:none}
.ig-dialog .ig-frame video,.ig-dialog .ig-frame img{max-height:70dvh}
@media(min-width:781px){
  .cafe-page{height:100dvh;overflow:hidden}
  .cafe-page::before{position:absolute;inset:0}
  .cafe-page .shell{width:100%;height:100dvh;min-height:0;padding:clamp(12px,3.4vh,38px) clamp(24px,5vw,78px);grid-template-rows:minmax(0,1fr);gap:clamp(20px,5vw,76px)}
  .cafe-page .intro{min-width:0;padding:0}
  .cafe-page .intro h1{font-size:clamp(1.8rem,min(6vw,10vh),5.2rem);margin:.38rem 0 .7rem}
  .cafe-page .intro p{margin:.42rem 0}
  .cafe-page .intro .button{margin-top:.48rem}
  .cafe-logo{width:auto;max-width:65%;max-height:min(19vh,135px);margin-bottom:.7rem}
  .instagram-layout{align-self:stretch;display:grid;min-height:0;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:.35rem;width:min(100%,560px)}
  .instagram-layout>.overline,.instagram-layout h2{margin:0}
  .instagram-layout h2{font-size:clamp(1.35rem,min(3vw,5.3vh),2.55rem)}
  .instagram-layout .instagram{align-self:stretch;height:100%;min-height:0;max-height:none;padding:0;overflow-x:hidden;scroll-snap-type:y mandatory}
  .instagram-layout .instagram-card{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:.3rem;margin:0 0 .55rem;padding:.55rem;scroll-snap-align:start}
  .instagram-layout .instagram-card:last-child{margin-bottom:0}
  .instagram-layout .instagram-fallback{grid-template-rows:minmax(0,1fr) auto auto}
  .instagram-fallback p,.instagram-fallback>a{margin:0}
  .instagram-layout .ig-media{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto}
  .instagram-layout .ig-frame,.instagram-layout .ig-open{height:100%;min-height:0}
  .instagram-layout .instagram-card>img,.instagram-layout .ig-frame img,.instagram-layout .ig-frame video{width:100%;height:100%;max-height:none;object-fit:contain}
  .instagram-layout .ig-nav button,.instagram-scroll button{min-height:36px}
  .ig-dialog{width:min(94vw,800px)}
}
@media(min-width:781px) and (max-height:440px){
  .cafe-page .shell{padding-block:8px}
  .cafe-logo{max-height:13vh;margin-bottom:.35rem}
  .instagram-layout{gap:.18rem}
}



/* Bricolage, a stationary photo and a full-height Instagram column. */
@font-face{
  font-family:"Bricolage Grotesque";src:url("bricolage.ttf") format("truetype");
  font-style:normal;font-weight:200 800;font-display:swap
}
body,.brand,h1,h2,h3,.mark{font-family:"Bricolage Grotesque",system-ui,sans-serif}
body{font-optical-sizing:auto}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cafe-page{--panel:#171a20;--line:#454b55;--gold:#f2d6a1;--text:#fff8ea;--dim:#e0ddda;background:#151922}
.cafe-page::before{inset:0;filter:none;background:linear-gradient(90deg,#141922db,#13192371 52%,#151b27c7),url("cafe-background.jpg") center/cover no-repeat}
.cafe-page .intro{text-align:center}
.cafe-page .intro .cafe-logo{display:block;margin-inline:auto}
.cafe-page .intro p{margin-inline:auto}
.cafe-page .intro h1{font-weight:650;letter-spacing:-.04em;text-wrap:balance}
.cafe-page .intro .social{font-size:.9rem;text-decoration:none;color:var(--dim)}
.cafe-page .intro .social:hover{text-decoration:underline}
.cafe-page .intro .button{border-radius:999px;padding-inline:1.35rem;background:#f2d6a1;color:#1a202a}
.instagram-layout .instagram-card,.ig-open{background:transparent;border:0;border-radius:0;box-shadow:none}
.instagram-layout .ig-frame img,.instagram-layout .ig-frame video{border-radius:.35rem}
.ig-details-button{display:block;width:max-content;max-width:100%;margin:.25rem auto 0;padding:.25rem .55rem;border:0;background:transparent;color:var(--text);font-weight:600;font-size:.87rem;min-height:32px}
.ig-details-button:hover{text-decoration:underline}
.instagram-layout .ig-nav button,.instagram-scroll button{border:1px solid #ffffff38;border-radius:50%;background:#151a24a6;color:#fff8ea;backdrop-filter:blur(6px);min-width:40px;min-height:40px;padding:0}
.instagram-layout .ig-nav button:hover,.instagram-scroll button:hover{background:#2c3442e0}
.instagram-layout .ig-nav{margin-top:.2rem}
.ig-feed-status:not(:empty){font-size:.84rem;color:var(--dim);margin:.3rem 0}
.ig-dialog{background:#171a20;border-color:#454b55}
.ig-description p{line-height:1.7}
@media(min-width:781px){
  .cafe-page .shell{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:clamp(8px,1.8vh,20px) clamp(16px,3vw,48px)}
  .cafe-page .intro{padding-inline:clamp(12px,3vw,48px)}
  .cafe-page .intro h1{font-size:clamp(1.9rem,min(5.6vw,9vh),5rem)}
  .cafe-page .intro p{margin-inline:auto}
  .cafe-logo{max-height:min(22vh,170px)}
  .instagram-layout{width:100%;grid-template-rows:minmax(0,1fr) auto;gap:0;padding-inline:clamp(34px,4.1vw,62px)}
  .instagram-layout .instagram-card{padding:0;margin-bottom:0}
  .instagram-scroll{position:absolute;inset-inline:0;top:50%;translate:0 -50%;justify-content:space-between;pointer-events:none;margin:0}
  .instagram-scroll button{pointer-events:auto;font-size:1.2rem}
  .ig-feed-status{grid-row:2}
  .ig-dialog[open]{position:fixed;display:grid;grid-template-rows:minmax(0,1fr);width:min(calc(100vw - 112px),1380px);height:calc(100dvh - 36px);margin:auto;padding:0;overflow:visible;border:0;border-radius:18px;background:#fff;color:#171717;color-scheme:light}
  .ig-dialog::backdrop{background:#16191cd1}
  #instagram-content{min-height:0;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);overflow:hidden;border-radius:inherit}
  #instagram-content .ig-description{grid-column:2;grid-row:1;min-height:0;overflow:auto;overscroll-behavior:contain;margin:0;padding:0 clamp(16px,2.1vw,30px) 22px;font-size:.92rem;line-height:1.48;scrollbar-color:#bcbcbc #fff}
  #instagram-content .ig-description p{line-height:inherit}
  #instagram-content .ig-description a{color:#343434}
  .ig-profile-heading{position:sticky;top:0;display:flex;align-items:center;gap:.65rem;padding:12px 0;margin-bottom:16px;border-bottom:1px solid #ececec;background:#fff;font-weight:700;text-decoration:none}
  .ig-profile-heading::before{content:"";width:34px;height:34px;border-radius:50%;background:#211713 url("cafe-logo.png") center/75% auto no-repeat}
  #instagram-content .ig-media{position:relative;grid-column:1;grid-row:1;min-height:0;display:grid;grid-template-rows:minmax(0,1fr);background:#000;color:#fff}
  #instagram-content .ig-nav{position:absolute;inset:auto 10px 10px;margin:0}
  #instagram-content .ig-nav span{padding:.15rem .5rem;border-radius:99px;background:#000a}
  #instagram-content .ig-frame{height:100%;min-height:0}
  #instagram-content .ig-frame img,#instagram-content .ig-frame video{width:100%;height:100%;max-height:none;object-fit:contain}
}

/* Center pickers in the viewport, including when the booking dialog is scrolled. */
.picker-dialog[open]{position:fixed;inset:0;margin:auto;max-height:calc(100dvh - 2rem);overflow:auto}

.ig-dialog .ig-close{position:sticky;top:.45rem;z-index:2;float:right;border-radius:50%;background:#151a24d9;border-color:#ffffff38}
@media(min-width:781px){
  .ig-dialog .ig-close{position:fixed;top:.4rem;right:.5rem;min-width:36px;min-height:36px;border:0;background:#17191e;color:#fff}
}

/* Warm cafe palette, lighter navigation and the contact drawer. */
.cafe-page{--panel:#251a16;--line:#72594a;--text:#fff7ec;--dim:#eee0d0;background:#170f0d}
.cafe-page::before{background:linear-gradient(90deg,#150c09a8,#150c093e 52%,#150c0970),url("cafe-background.jpg") center/cover no-repeat}
.cafe-page.has-custom-bg::before{background:linear-gradient(90deg,#150c09a8,#150c093e 52%,#150c0970)}
.custom-backdrop{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.cafe-page .intro h1{font-size:clamp(1.55rem,3.9vw,3.5rem)}
.cafe-page .intro .cafe-logo{width:min(100%,13.65rem);max-height:none}
.cafe-page .intro .button{background:linear-gradient(135deg,#f5dfaf,#d7a764);color:#1a1008;border:1px solid #e9c68b}
.cafe-socials{display:flex;gap:.55rem;justify-content:center;margin:.8rem 0 0}
.cafe-socials a,.cafe-menu-toggle,.ig-arrow{display:inline-grid;place-items:center;min-width:42px;min-height:42px;padding:0;border:1px solid #f9ddad45;border-radius:50%;background:#20150ec4;color:#fff0d7;text-decoration:none}
.cafe-socials a:hover,.cafe-menu-toggle:hover,.ig-arrow:hover:not(:disabled){background:#453021de;border-color:#e8c58d}
.cafe-socials svg,.cafe-menu-toggle svg,.ig-arrow svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.cafe-menu-toggle{position:absolute;z-index:3;top:clamp(.6rem,2vw,1.25rem);left:clamp(.6rem,2vw,1.25rem)}
.ig-arrow:disabled{cursor:default;opacity:.35}
.instagram-layout .ig-nav button,.instagram-scroll button,.ig-post-navigation button{background:#20150e9c;border-color:#ffecd03a;color:#fff0d7;cursor:pointer}
.instagram-layout .ig-nav button:disabled,.instagram-scroll button:disabled,.ig-post-navigation button:disabled{cursor:default;opacity:.35}
.ig-details-button{border:1px solid #e9c48b;border-radius:999px;background:#140e0c;color:#f7d69d;padding:.35rem .95rem;font-weight:650}
.ig-details-button:hover{background:#352418;text-decoration:none}
.ig-dialog{background:#271a14;border-color:#6d5040}
.ig-post-navigation{display:flex;justify-content:center;gap:.55rem;margin-top:.4rem}
.ig-media-unavailable{min-height:160px;display:grid;place-content:center;text-align:center;padding:1rem;color:var(--text)}
.ig-embed-preview{position:relative;min-height:0}
.ig-embed-preview iframe{display:block;pointer-events:none}
.ig-embed-preview .ig-embed-cover{position:absolute;inset:0}
.ig-embed-frame{width:100%;height:100%;min-height:400px;border:0;background:#211712}
.ig-embed-player{min-height:0}
.ig-embed-toggle{display:none}
.cafe-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:min(91vw,420px);height:100dvh;max-height:none;max-width:none;padding:clamp(1rem,4vw,2.1rem);border:0;border-right:1px solid #ad8b665d;background:#261912f2;color:#fff7ec;overflow:auto}
.cafe-drawer[open]{animation:drawer-enter .25s ease-out}
.cafe-drawer::backdrop{background:#110a07a8}
.cafe-drawer .drawer-close{position:absolute;right:.8rem;top:.8rem;font-size:1.45rem}
.cafe-drawer address{font-style:normal;line-height:1.65}
.cafe-drawer h2{margin-top:.65rem}
.cafe-contact{list-style:none;padding:0;margin:1rem 0}
.cafe-contact li{margin:.4rem 0}
.cafe-contact-details{overflow-wrap:anywhere}
#cafe-map iframe{display:block;width:100%;height:245px;border:0;border-radius:.6rem;margin-top:.7rem}
body:has(.cafe-drawer[open]){overflow:hidden}
.contact-editor{grid-column:1/-1}
.contact-editor textarea{width:100%;background:#1b1412;color:var(--text);border:1px solid var(--line);border-radius:.45rem;padding:.6rem;font:inherit;resize:vertical}
@keyframes drawer-enter{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(min-width:781px){
 .cafe-page .intro h1{font-size:clamp(1.4rem,min(3.92vw,6.3vh),3.5rem)}
 .cafe-page .intro .cafe-logo{width:auto;max-width:70%;max-height:min(28.6vh,221px)}
 .ig-dialog .ig-post-navigation{position:absolute;inset-inline:-48px;top:50%;translate:0 -50%;justify-content:space-between;margin:0;pointer-events:none}
 .ig-dialog .ig-post-navigation button{pointer-events:auto;background:#fff;color:#191919;border:0}
 .ig-dialog .ig-post-navigation button:focus-visible,.ig-dialog .ig-close:focus-visible{outline-color:#7699ff}
 .ig-embed-frame{min-height:0}
}
@media(max-width:780px){.cafe-page .intro{padding-top:3.2rem}}
.cafe-terms{display:block;width:fit-content;margin:.35rem auto 0;font-size:.85rem;text-underline-offset:.18em}
.terms-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:.75rem;width:min(94vw,880px);height:min(92dvh,850px);margin:auto;padding:0 1rem 1rem;color:var(--text)}
.terms-dialog::backdrop{background:#0c0807b8}
.terms-dialog .booking-header h2{margin:0}
#terms-document{width:100%;height:100%;border:0;border-radius:.4rem;background:#fff}
.terms-saved{margin:0}
.instagram-phone-profile{display:flex;justify-content:space-between;gap:.5rem;padding:.25rem .5rem;color:#eacfae;font-size:.8rem;text-decoration:none}
.instagram-phone-profile:hover{text-decoration:underline}
.mobile-news,.instagram-swipe-hint{display:none}
#instagram-status:empty{margin:0}
@media(min-width:781px){
 .cafe-page .shell{padding-block:20px}
 .instagram-layout{grid-template-rows:minmax(0,1fr);justify-items:center;padding-inline:clamp(42px,5vw,72px)}
 .instagram-layout::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at center,#22150fab 10%,#100a0760 53%,transparent 76%)}
 .instagram-phone{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;width:min(100%,62dvh);padding:16px 9px 19px;border:4px solid #17110e;border-radius:clamp(22px,4dvh,42px);background:#0e0b09;box-shadow:0 0 0 1px #ba9366,0 0 0 3px #463324,0 18px 50px #000a}
 .instagram-phone::before,.instagram-phone::after{content:"";position:absolute;left:50%;translate:-50% 0;border-radius:999px;pointer-events:none}
 .instagram-phone::before{top:5px;width:44px;height:4px;background:#342820}
 .instagram-phone::after{bottom:5px;width:78px;height:3px;background:#bfa48486}
 .instagram-phone .instagram{border-radius:10px}
 #instagram-status{grid-row:3;text-align:center}
 .instagram-scroll{inset-inline:auto 0;flex-direction:column;gap:.5rem}
}
@media(max-width:780px){
 .cafe-page .shell{display:grid;grid-template-columns:minmax(0,1fr);min-height:100svh;padding:0}
 .cafe-page .intro{padding:3.5rem 1rem max(1.25rem,env(safe-area-inset-bottom))}
 .instagram-layout{display:none}
 .mobile-news{display:inline-flex;margin-top:.85rem;border-radius:999px;border-color:#e9c48b;color:#f7d69d;background:#140e0ccf}
 .ig-dialog{padding:0 0 max(1rem,env(safe-area-inset-bottom));border:0;touch-action:pan-y pinch-zoom;overscroll-behavior-y:contain}
 .ig-dialog .ig-close{position:fixed;top:max(.5rem,env(safe-area-inset-top));right:max(.5rem,env(safe-area-inset-right));float:none;margin:0;min-height:42px}
 .ig-dialog .ig-frame img,.ig-dialog .ig-frame video,#instagram-content>img{display:block;width:100%;height:auto;max-height:none;border-radius:0}
 .ig-dialog .ig-description{padding-inline:1rem}
 .ig-embed-player{display:grid;gap:.5rem;grid-template-rows:minmax(0,1fr) auto;height:clamp(300px,85dvh,750px)}
 .ig-embed-player .ig-embed-frame{display:block;grid-row:1;min-height:0}
 .ig-embed-player:not(.is-interactive) .ig-embed-frame{pointer-events:none}
 .ig-embed-toggle{display:inline-flex;grid-row:2;justify-self:start;margin-inline:1rem}
 .instagram-swipe-hint{display:block;margin:.55rem 1rem;color:var(--dim);font-size:.8rem;text-align:center}
 .ig-post-navigation:not(:focus-within){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
}
@media(prefers-reduced-motion:reduce){.cafe-drawer[open]{animation:none}}
.staff-actions{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin-block:.6rem}
.staff-actions h2{margin-right:auto}
.staff-actions button[aria-pressed=true]{border-color:var(--gold)}
#staff-create-dialog{width:min(94vw,680px);max-height:92dvh;color:var(--text)}
#staff-create-dialog::backdrop,#staff-edit::backdrop{background:#100904cb}
.confirmation-code{display:block;color:var(--gold);margin:.4rem 0}
.headline-mobile{display:none}
.floor-tile{display:grid;gap:.3rem;min-width:0}
.floor-tile:last-child{grid-column:span 3}
.floor .table-photo-button{min-height:36px;padding:.25rem .35rem;font-size:.78rem}
.table-gallery{width:min(94vw,760px);max-height:94dvh;color:var(--text)}
.table-gallery::backdrop{background:#100904cb}
.table-gallery img{display:block;width:100%;height:min(62dvh,520px);object-fit:contain;background:#150f0d}
.table-gallery-nav,.picker-actions{display:flex;align-items:center;justify-content:center;gap:.6rem;margin-top:.85rem}
.picker-actions{justify-content:flex-end}
.booking-consent{align-items:center;min-height:52px;padding:.65rem .75rem;border:1px solid var(--line);border-radius:.6rem;cursor:pointer}
.booking-consent input{width:23px;height:23px;flex:0 0 23px;margin:0;accent-color:var(--gold)}
.booking-terms{border:1px solid var(--line);padding:.75rem;border-radius:.6rem}
.booking-terms summary{cursor:pointer;color:var(--gold);font-weight:650}
.booking-terms-scroll,.terms-full-text{overflow:auto;overflow-wrap:anywhere;min-height:0}
.booking-terms-scroll{max-height:min(45dvh,360px);padding:.25rem .7rem;border:1px solid var(--line);border-radius:.4rem}
.booking-terms-confirm{margin-top:.7rem}
.booking-terms-status{color:var(--green)}
.stats-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:1rem}
.stats-breakdown meter{grid-column:1/-1;width:100%;height:.65rem;accent-color:var(--gold)}
#stats-total:not(:empty){padding:.85rem;border:1px solid var(--line);border-radius:.55rem;color:var(--gold)}
.reserve-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:780px){.headline-desktop{display:none}.headline-mobile{display:inline}}
#payment-result img{display:block;max-width:100%;height:auto}
/* Panel obsługi wykorzystuje 95% szerokości okna. */
.staff-page .dashboard{width:95%;max-width:none;margin-inline:auto;padding:clamp(12px,2vw,28px) 0}
/* Tablet: telefon zachowuje proporcje zamiast wypełniać wysoką kolumnę. */
@media (min-width:781px) and (max-width:1180px), (min-width:781px) and (max-width:1366px) and (pointer:coarse){
 .instagram-layout{align-items:center;padding-inline:32px;min-width:0}
 .instagram-phone{align-self:center;width:min(100%,calc((100dvh - 48px)*.5294118));height:auto;aspect-ratio:9/17;max-height:calc(100dvh - 48px);padding:14px 7px 16px;border-width:3px;border-radius:28px}
 .instagram-phone-profile{font-size:11px;padding:3px 2px;gap:4px;flex-wrap:wrap}
 .instagram-phone-profile span{font-size:10px}
 .instagram-layout .instagram{height:100%;min-height:0;overflow:hidden}
 .instagram-layout .instagram-card{height:100%;min-height:0;grid-template-rows:minmax(0,1fr) auto}
 .instagram-layout .ig-media,.instagram-layout .ig-frame,.instagram-layout .ig-open{min-height:0;height:100%;overflow:hidden}
 .instagram-layout .ig-frame img,.instagram-layout .ig-frame video{display:block;max-width:100%;width:100%;height:100%;max-height:100%;object-fit:contain}
 .instagram-layout .ig-details-button{font-size:12px;min-height:30px;padding:5px 11px;margin-top:3px}
 .cafe-page .intro .cafe-logo{max-height:min(22dvh,170px);max-width:74%}
 .cafe-page .intro h1{font-size:clamp(1.6rem,3.4vw,2.6rem)}
 .cafe-page .intro>p:not(.overline){font-size:14px;line-height:1.5}
 .cafe-page .intro .button{font-size:14px;padding:12px 17px}
 .instagram-scroll .ig-arrow{min-width:34px;min-height:34px}
}
@media (min-width:600px) and (max-width:780px){
 .ig-dialog .ig-frame{height:min(76dvh,860px);min-height:0;background:#090807}
 .ig-dialog .ig-frame img,.ig-dialog .ig-frame video{width:100%;height:100%;max-height:100%;object-fit:contain}
 .ig-dialog .ig-description{max-width:650px;margin-inline:auto}
}

#mail-settings .report-toggle{grid-column:1/-1;display:flex;align-items:center;gap:18px;padding:18px 20px;min-height:88px;border:1px solid var(--gold);border-radius:8px;background:#30241b;cursor:pointer;font-size:1rem;line-height:1.5}#mail-settings .report-toggle input{appearance:auto!important;display:block!important;width:34px!important;height:34px!important;min-width:34px;min-height:34px;flex:0 0 34px;margin:0;padding:0;accent-color:var(--gold);cursor:pointer}#mail-settings .report-toggle:has(input:checked){background:#49341d;box-shadow:inset 0 0 0 1px var(--gold)}#mail-settings .report-toggle strong{color:var(--gold)}

/* Gmail settings: full-width help and actions, readable address fields. */
#mail-settings .customer-gmail-settings{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0;padding:18px}
#mail-settings .customer-gmail-settings>label{min-width:0;align-self:start}
#mail-settings .customer-gmail-settings .report-toggle{grid-column:1/-1}
#mail-settings .customer-gmail-settings .gmail-config-help,#mail-settings #customer-gmail-test-status{grid-column:1/-1;min-width:0;overflow-wrap:anywhere}
#mail-settings .gmail-config-help{padding:12px 14px;border:1px solid var(--line);border-radius:6px;background:#1b1410}
#mail-settings .gmail-config-help summary{cursor:pointer;color:var(--gold);font-weight:600}
#mail-settings .gmail-config-help dl{margin:12px 0;display:flex;flex-wrap:wrap;gap:12px 28px}
#mail-settings .gmail-config-help dt{font-size:.8rem;color:var(--dim)}
#mail-settings .gmail-config-help dd{margin:0}
#mail-settings .gmail-config-help p{margin:10px 0 0}
#mail-settings .gmail-config-help code{overflow-wrap:anywhere;font-size:.85em}
#mail-settings #customer-gmail-test{grid-column:1/-1;justify-self:start;max-width:100%;height:auto;min-height:44px;white-space:normal;overflow-wrap:anywhere;text-align:center;padding:12px 18px;line-height:1.35}
#mail-settings #customer-gmail-test-status{margin:0;font-size:.88rem;color:var(--dim)}
@media(max-width:1000px){#mail-settings .customer-gmail-settings{grid-template-columns:minmax(0,1fr)}}
