
/* A quiet product shell: regular metadata, distinct actions, compact 44px targets. */
.top-actions .account-nav { border: 0; background: transparent; font-size: 13px; font-weight: 500; padding: 8px 10px; min-height: 44px; color: #655f59; }
.top-actions .account-nav[aria-current="page"] { color: #342f2a; background: #efede8; }
.account-avatar { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:44px; height:44px; padding:0; border:1px solid #ded9d0; border-radius:50%; background:#ece7dc; color:#605346; font:500 13px/1 Onest,system-ui,sans-serif; letter-spacing:.02em; cursor:pointer; }
.account-avatar[aria-current="page"] { outline:2px solid #bcb09a; outline-offset:3px; }
#dashboardView { max-width:760px; margin:0 auto; }
#dashboardView h2, #accountView h2 { font-size:30px; font-weight:500; letter-spacing:-.04em; }
#dashboardView .page-head { margin:12px 0 24px; align-items:center; }
#dashboardView .page-head p { font-size:14px; color:#78716a; }
#dashboardView .page-head .btn { font-size:13px; font-weight:500; }
#dashboardView .event-item { box-shadow:none; border-color:#e9e5df; padding:16px; border-radius:20px; gap:18px; }
#dashboardView .event-item h3 { font-size:18px; font-weight:500; letter-spacing:-.02em; line-height:1.3; margin:5px 32px 5px 0; }
#dashboardView .event-item p { font-size:12px; font-weight:400; line-height:1.5; }
#dashboardView .status-pill { font-size:11px; font-weight:400; letter-spacing:0; text-transform:none; padding:0; border:0; border-radius:0; background:none; box-shadow:none; color:#756d63; }
#dashboardView .status-pill.published { color:#ad5b45; }
#dashboardView .status-pill::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; margin-right:5px; display:inline-block; vertical-align:2px; }
#dashboardView .event-chips { display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:8px; }
#dashboardView .event-chips .tag { border:0; background:none; border-radius:0; box-shadow:none; padding:0; font-size:12px; line-height:1.5; font-weight:400; color:#776f66; font-variant-numeric:tabular-nums; }
#dashboardView .event-menu summary { font-weight:400; color:#746c63; min-height:44px; min-width:44px; }
.first-invitation { padding:36px 24px; text-align:center; max-width:480px; margin:20px auto; }
.first-invitation img { width:128px; height:164px; object-fit:cover; object-position:top; border-radius:20px; margin:0 auto 20px; box-shadow:0 10px 28px #5f4c2b12; }
.first-invitation h3 { font-size:25px; font-weight:500; letter-spacing:-.035em; margin:0 0 12px; }
.first-invitation p { font-size:15px; line-height:1.55; color:#736c64; margin:0 auto 22px; max-width:31ch; }
.first-invitation small { display:block; margin-top:12px; font-size:12px; color:#81796f; }
.account-shell { max-width:560px; margin:12px auto 40px; }
.account-heading { display:flex; gap:14px; align-items:center; margin:0 0 28px; }.account-heading .account-avatar { width:56px; height:56px; font-size:17px; cursor:default; }
.account-heading h2 { margin:0 0 4px; }.account-heading p { margin:0; font-size:13px; color:#776f67; }
.account-section { padding:24px 0; border-top:1px solid #e5e0d8; }.account-section h3 { font-size:18px; font-weight:500; letter-spacing:-.02em; margin:0 0 16px; }
.account-section form { display:grid; gap:16px; }.account-section label { font-size:13px; font-weight:500; gap:6px; }
.account-section input,.account-section select { min-height:46px; padding:11px 13px; border:1px solid #ded9d0; border-radius:12px; background:#fffefd; font-size:16px; font-weight:400; box-shadow:none; }
.account-section .field-hint { font-size:13px; font-style:italic; font-weight:300; line-height:1.5; }.account-save { display:flex; align-items:center; gap:14px; }.account-save span { font-size:13px; color:#ad5b45; }
.account-section-head span,.account-empty,.account-bot p { font-size:14px; font-weight:400; line-height:1.55; color:#777067; }.account-section-head { margin-bottom:14px; }.account-section-head h3 { margin-bottom:4px; }
.account-booking { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; padding:16px 0; border-bottom:1px solid #ebe6df; }.account-booking h4 { overflow-wrap:anywhere; margin:0 0 4px; font-weight:500; font-size:16px; }.account-booking p { font-size:12px; color:#7b7369; margin:0; }.account-booking>a { font-size:12px; color:#696357; text-decoration:none; grid-column:1/-1; min-height:36px; display:flex; align-items:center; }
.account-text-link,.account-logout { display:inline-flex; align-items:center; min-height:44px; background:none; border:0; padding:8px 0; font:500 13px/1.4 Onest,system-ui,sans-serif; color:#62564a; text-decoration:none; cursor:pointer; }.account-logout { color:#98624f; font-weight:400; }
.guest-create { margin:28px 0 12px; border-top:1px solid #e2ddd5; padding:22px 4px 0; text-align:center; }.guest-create p { font-size:14px; color:#776f66; margin:0 0 12px; }.guest-create .btn { font-size:14px; font-weight:500; }
.booking-account-prompt { padding:16px 0; margin:14px 0; border-top:1px solid #e6e1d9; border-bottom:1px solid #e6e1d9; }.booking-account-prompt p { font-size:14px; }.booking-account-prompt small { display:block; color:#7a736a; margin-top:8px; font-size:12px; }.booking-linked { font-size:13px; color:#ad5b45; background:#f1eeeb; padding:12px; border-radius:12px; }
.share-note { font-size:13px; color:#756d63; line-height:1.5; max-width:48ch; margin:12px 0; }
@media(max-width:700px) { .top-actions { gap:5px; }.top-actions .account-nav { font-size:12px; padding:8px; }.brand { font-size:19px; }#dashboardView .page-head { align-items:flex-start; gap:14px; flex-direction:column; }#dashboardView h2,#accountView h2 { font-size:27px; }#dashboardView .event-item { gap:13px; padding:14px; }#dashboardView .event-item h3 { font-size:17px; }.account-heading { gap:12px; } }
@media(hover:hover) and (pointer:fine) { .account-avatar:hover { background:#e5decf; }.account-text-link:hover,.account-logout:hover { text-decoration:underline; } }
@media(prefers-reduced-motion:no-preference) { .account-avatar { transition:background-color 160ms,transform 140ms cubic-bezier(.23,1,.32,1); }.account-avatar:active { transform:scale(.96); }.event-menu[open] .event-menu-list { animation:account-menu-in 160ms ease-out; transform-origin:top right; }@keyframes account-menu-in { from {opacity:0;transform:scale(.97) translateY(-3px);}to {opacity:1;transform:none;} } }

/* Service information remains a secondary account action. */
.account-service nav{display:grid;gap:2px}
.account-service .account-text-link{display:flex;justify-content:space-between;gap:14px;font-weight:400;border-bottom:1px solid #ebe6df}
.account-service .account-text-link:last-child{border-bottom:0}
.account-service .account-text-link span{font-size:20px;font-weight:300;color:#8b7566}
.home-service-link{text-align:center;margin:10px auto 22px;font-size:13px}

/* Public website: documents and operator details are readable before sign-in. */
.public-service-info{max-width:960px;margin:0 auto 20px;padding:20px 0 6px;border-top:1px solid #e5e0d8;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px 40px;text-align:left;color:#70675e;font-size:12px;line-height:1.6}
.public-service-info[hidden]{display:none}
.public-service-links{display:flex;flex-wrap:wrap;align-content:start;align-items:center;gap:0 22px}
.public-service-info a{display:inline-flex;align-items:center;min-height:44px;color:#62564a;text-decoration:none;font-weight:400}
.public-service-links a{gap:5px;max-width:100%;overflow-wrap:anywhere}
.public-service-details p{margin:0;font-size:12px;line-height:1.6}
.public-service-details a{font-size:12px}
.footer-signature{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;font-size:11px;font-weight:400;line-height:1.6;color:#8a8179;white-space:nowrap}
.footer-signature .footer-domain{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:none;font-weight:400}
.footer-signature .footer-divider{font-weight:300;color:#b4aaa2}
.footer-signature .footer-domain:focus-visible{outline:2px solid #b3664b;outline-offset:3px;border-radius:4px}
@media(hover:hover) and (pointer:fine){.footer-signature .footer-domain:hover{color:#62564a;text-decoration:underline;text-underline-offset:3px}}
.public-service-info a:focus-visible,.account-service a:focus-visible{outline:2px solid #b3664b;outline-offset:4px;border-radius:4px}
@media(max-width:700px){.public-service-info{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:16px;padding-top:16px}.public-service-links{gap:0 18px}}
@media(hover:hover) and (pointer:fine){.public-service-info a:hover{text-decoration:underline;text-underline-offset:3px}}
/* One website handoff; profile authentication remains inside Telegram. */
#authView .telegram-handoff{box-sizing:border-box;width:100%;max-width:440px;margin:36px auto 44px;padding:30px 28px 26px;text-align:center;border:1px solid #ebe5df;border-radius:26px;background:#fffefd;box-shadow:0 10px 32px #65492e08}
.handoff-wordmark{display:block;width:160px;height:auto;max-width:100%;margin:0 auto 20px}
#authView .telegram-handoff h2{font:500 26px/1.2 Onest,system-ui,sans-serif;letter-spacing:-.035em;margin:0 0 12px;color:#403a34}
#authView .telegram-handoff .handoff-description{max-width:34ch;margin:0 auto 24px;font:400 15px/1.5 Onest,system-ui,sans-serif;color:#81776f}
#authView .telegram-handoff-link{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:12px 16px;box-sizing:border-box;white-space:normal;font:400 15px/1.4 Onest,system-ui,sans-serif;border-radius:18px}
.telegram-handoff-link:focus-visible{outline:2px solid #a54c36;outline-offset:4px}
#authView .telegram-handoff .handoff-note{max-width:34ch;margin:18px auto 0;font:400 12px/1.5 Onest,system-ui,sans-serif;color:#90877f}
@media(max-width:700px){#authView .telegram-handoff{margin:20px auto 30px;padding:26px 20px 24px;border-radius:24px}#authView .telegram-handoff h2{font-size:24px}#authView .telegram-handoff .handoff-description{font-size:14px}}

/* The website uses the same full-bleed art, photo mask and type as a real invitation. */
.welcome-invitation .studio-invitation{width:100%;margin:0;background:#fff;box-shadow:0 14px 44px #58493610;border:1px solid #ede7df}
.welcome-invitation .studio-card-copy{padding-bottom:22px}
.welcome-layout{min-height:0;padding:20px 0 46px}
.welcome-copy h1{font-weight:500;font-size:clamp(40px,5vw,60px);color:#403a34}
.welcome-example{width:min(100%,350px)}
.welcome-example figcaption{font-weight:400;margin-top:16px}
.public-service-info{display:flex;flex-direction:column;align-items:center;gap:0;max-width:100%;margin:0 auto;padding:0;border:0;text-align:center;font:400 11px/1.6 Onest,system-ui,sans-serif;color:#8a8179}
.public-service-details p{margin:8px auto 0;max-width:70ch;font:inherit}
.public-service-details a,.public-service-links a{min-height:44px;font:inherit;color:inherit}
.public-service-links{justify-content:center;gap:0 20px}
.povod-pro-packs small{display:block;margin-top:6px;font:400 12px/1.4 Onest,system-ui,sans-serif;color:#8b6355}
@media(max-width:700px){.welcome-layout{padding:8px 0 28px;gap:30px}.welcome-copy h1{font-size:39px;font-weight:500}.welcome-example{width:min(100%,326px)}.welcome-copy>p{font-size:16px}.public-service-info{padding:0;margin-bottom:0}.public-service-links{gap:0 16px}.public-service-details p{max-width:42ch}}

/* The welcome page has one Telegram action and a footer next to its content. */
body:has(#homeView.active) .shell{padding-top:12px;padding-bottom:12px}
body:has(#homeView.active) .topbar:not(:has(.top-actions button,.top-actions a)){display:none}
#homeView .welcome-layout{min-height:0;padding:4px 0;gap:48px;align-items:end}
#homeView .welcome-example figcaption{margin-top:10px}
body:has(#homeView.active) .footer{margin-top:0;padding:4px 0 0}
body:has(#homeView.active) .public-service-info{margin:0;padding:0}
@media(max-width:700px){
  #homeView .welcome-layout{gap:12px;padding:0;align-items:center}
  #homeView .welcome-copy>.brand-animation{width:170px;margin:0 auto 8px}
  #homeView .welcome-copy h1{font-size:34px;line-height:1.06;margin-bottom:10px}
  #homeView .welcome-copy>p{font-size:15px;line-height:1.4;max-width:34ch;margin:0 auto 14px}
  #homeView .welcome-start{min-height:44px;padding:10px 18px;font-size:14px}
  #homeView .welcome-example{width:min(100%,326px,max(180px,calc((100svh - 460px)*.8)))}
  #homeView .welcome-invitation .studio-card-copy{padding-bottom:14px}
  #homeView .welcome-example figcaption{margin-top:8px}
  body:has(#homeView.active) .public-service-links{gap:0 14px}
}
