/* PortugalMeet v0.7.6 | Interior premium dark — accessible contrast, no business logic. */
:root{
  --pm076-bg:#0c1118;
  --pm076-surface:#19232f;
  --pm076-surface-raised:#222e3b;
  --pm076-line:#455368;
  --pm076-text:#f6f8fc;
  --pm076-secondary:#c9d3df;
  --pm076-accent:#ff913d;
  --pm076-active:#c55311; /* white text contrast >= 4.5:1 */
}
/* The old grouped-navigation CSS was authored for a white surface; restore the dark system. */
.site-header .pm074-topnav, .site-header .pm074-drop,
.site-header .pm074-drop>summary,.site-header .pm074-account>summary{
  color:var(--pm076-text);
}
.site-header .pm074-topnav>a{color:#f1f3f6}
.site-header .pm074-topnav>a:hover{color:#ffb878}
.site-header .pm074-drop>summary,.site-header .pm074-mobile>summary,
.site-header .pm074-account>summary{
  background:#1d2631;
  border:1px solid #647183;
  color:var(--pm076-text);
  border-radius:11px;
}
.site-header .pm074-drop[open]>summary,.site-header .pm074-drop>summary:hover,
.site-header .pm074-mobile[open]>summary,.site-header .pm074-mobile>summary:hover{
  background:#34404c;color:#fff;border-color:#ff913d;
}
.site-header .pm074-drop>nav,.site-header .pm074-mobile>nav{
  background:#19222d;
  border:1px solid #596a7b;
  box-shadow:0 18px 42px #000b;
  color:var(--pm076-text);
}
.site-header .pm074-drop>nav a,.site-header .pm074-mobile nav a{
  color:#f0f4f9;
  min-height:42px;
  display:flex;
  align-items:center;
}
.site-header .pm074-drop>nav a:hover,.site-header .pm074-mobile nav a:hover,
.site-header .pm074-drop>nav a[aria-current="page"],
.site-header .pm074-mobile nav a[aria-current="page"]{
  background:#3d291e;color:#ffe1c5;
}
.site-header .pm074-mobile nav strong{color:#c8d2de}
.site-header .pm074-mobile>summary{min-height:44px;padding:10px 13px;white-space:nowrap}
/* Page-specific grouped navigation, compact and clear on mobile. */
body:not(.page-home) .pm075-hub-top{padding-top:23px}
body:not(.page-home) .pm075-hub-top p{color:var(--pm076-secondary)}
body:not(.page-home) .pm075-hub-top h1{color:var(--pm076-text)}
body:not(.page-home) .pm075-hub-nav{
  border-bottom:1px solid #425063;
  padding-bottom:14px;
  gap:9px;
}
body:not(.page-home) .pm075-hub-nav>a{
  background:#202a36;
  border:1px solid #536176;
  color:#eef3f9;
  border-radius:11px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:730;
}
body:not(.page-home) .pm075-hub-nav>a[aria-current="page"]{
  background:var(--pm076-active);
  border-color:#fa954e;
  color:#fff;
  box-shadow:0 0 0 1px #ff9c58a6;
}
body:not(.page-home) .pm075-hub-nav>a:hover:not([aria-current="page"]){
  background:#354252;border-color:#93a1b3;color:#fff;
}
body:not(.page-home) .pm075-hub-subnav>a{
  color:#e4ebf4;
  border:1px solid transparent;
  min-height:40px;
  display:inline-flex;
  align-items:center;
}
body:not(.page-home) .pm075-hub-subnav>a[aria-current="page"]{
  background:#4b2d20;
  border-color:#ca783d;
  color:#ffdbbd;
}
body:not(.page-home) .pm075-hub-subnav>a:hover:not([aria-current="page"]){background:#293747;color:#fff}
/* Event tabs and administrative sub-navigation. */
body:not(.page-home) .pm074-section-nav{
  border-bottom:1px solid #465166;
  gap:9px;
  padding:10px 0 17px;
  scroll-padding-inline:4px;
  scrollbar-width:thin;
  scrollbar-color:#65758c #141c27;
  -webkit-overflow-scrolling:touch;
}
body:not(.page-home) .pm074-section-nav a{
  background:#252f3c;
  border:1px solid #526073;
  border-radius:12px;
  color:#eef3fa;
  min-height:45px;
  padding:11px 15px;
  font-size:13px;
  font-weight:720;
  flex:0 0 auto;
}
body:not(.page-home) .pm074-section-nav a[aria-current="page"]{
  background:var(--pm076-active);
  border-color:#e27b2a;
  color:#fff;
  box-shadow:inset 0 0 0 1px #ffffff22;
}
body:not(.page-home) .pm074-section-nav a:hover:not([aria-current="page"]){
  background:#39495b;border-color:#96a3b1;color:#fff;
}
/* Dark action cards for all management hubs: no white backgrounds or faded headings. */
body:not(.page-home) .pm074-tiles{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));
  gap:13px;
}
body:not(.page-home) .pm074-tiles>a{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-height:104px;
  border:1px solid #46536a;
  background:linear-gradient(145deg,#222d3a,#1b2430);
  color:var(--pm076-text);
  border-radius:16px;
  box-shadow:0 8px 22px #0005;
  padding:20px 42px 20px 20px;
  text-decoration:none;
  overflow-wrap:anywhere;
}
body:not(.page-home) .pm074-tiles>a:after{
  content:'›';
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  font-size:28px;
  font-weight:350;
  color:var(--pm076-accent);
}
body:not(.page-home) .pm074-tiles>a strong,
body:not(.page-home) .pm074-tiles>a b{
  color:var(--pm076-text);
  font-size:clamp(15px,1.3vw,17px);
  line-height:1.3;
  font-weight:770;
}
body:not(.page-home) .pm074-tiles>a small,
body:not(.page-home) .pm074-tiles>a p{
  color:var(--pm076-secondary);
  font-size:13px;
  line-height:1.5;
}
body:not(.page-home) .pm074-tiles>a:hover{
  border-color:#ff994b;
  background:linear-gradient(145deg,#303c4b,#202c39);
  transform:translateY(-1px);
  box-shadow:0 12px 28px #0008;
}
body:not(.page-home) .pm074-tiles>a:active{transform:translateY(0);background:#293643}
/* Larger, icon-led list specifically for the organizer's event actions. */
body.page-organizer-event .pm076-event-actions{
  grid-template-columns:1fr;
  gap:12px;
  max-width:850px;
}
body.page-organizer-event .pm076-event-actions>a{
  min-height:98px;
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-content:center;
  align-items:center;
  column-gap:17px;
  row-gap:5px;
  padding:16px 52px 16px 17px;
}
body.page-organizer-event .pm076-event-actions>a .pm076-tile-icon{
  grid-column:1;grid-row:1 / 3;
  width:52px;height:52px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:#16212d;
  border:1px solid #39495c;
  color:var(--pm076-accent);
}
body.page-organizer-event .pm076-event-actions>a .pm076-tile-icon svg{
  width:26px;height:26px;display:block;
}
body.page-organizer-event .pm076-event-actions>a strong{grid-column:2;grid-row:1}
body.page-organizer-event .pm076-event-actions>a small{grid-column:2;grid-row:2}
/* Warnings must remain readable (not white-on-white). */
body:not(.page-home) .pm074-alert{
  background:#392817;
  border-left:4px solid #ff9c43;
  color:#ffe8cd;
  border-radius:8px;
}
body:not(.page-home) .pm074-resource-list a{color:#ffbc88}
/* Maintain consistent form controls and useful contrasting states. */
body:not(.page-home) .pm075-hub-content .panel,
body:not(.page-home) .pm075-system .panel{border-color:#465163}
body:not(.page-home) .pm075-hub-content .panel p{color:#c9d1dc}
body:not(.page-home) .pm075-hub-content .panel strong{color:#fff}
body:not(.page-home) .pm075-hub-content :is(input:not([type="checkbox"]),select,textarea){accent-color:#ff8e3a}
body:not(.page-home) .pm075-hub-content :is(input:not([type="checkbox"]),select,textarea):focus-visible{border-color:#ff9b48}
/* Keyboard navigability in dropdowns, tabs and action cards. */
.pm074-drop :focus-visible,.pm074-mobile :focus-visible,
.pm074-section-nav :focus-visible,.pm075-hub-nav :focus-visible,
.pm075-hub-subnav :focus-visible,.pm074-tiles>a:focus-visible{
  outline:3px solid #ffad70!important;
  outline-offset:3px!important;
}
@media(max-width:740px){
  .site-header .pm074-mobile>summary{font-size:14px}
  .site-header .pm074-mobile nav{max-height:min(72dvh,calc(100dvh - 100px));overscroll-behavior:contain}
  body:not(.page-home) .pm074-section-nav{max-width:100%;padding-bottom:12px}
  body:not(.page-home) .pm075-hub-nav{gap:8px}
  body:not(.page-home) .pm075-hub-nav>a{
    flex:0 1 auto;
    font-size:13px;
    padding:10px 13px;
  }
  body:not(.page-home) .pm074-tiles{grid-template-columns:1fr;gap:12px}
  body:not(.page-home) .pm074-tiles>a{min-height:90px;padding:16px 38px 16px 17px}
  body.page-organizer-event .pm076-event-actions>a{min-height:88px;column-gap:12px;padding:14px 38px 14px 14px;grid-template-columns:45px minmax(0,1fr)}
  body.page-organizer-event .pm076-event-actions>a .pm076-tile-icon{width:45px;height:45px;border-radius:11px}
  body.page-organizer-event .pm076-event-actions>a .pm076-tile-icon svg{width:23px;height:23px}
  body:not(.page-home) .pm074-tiles>a strong{font-size:15px}
  body:not(.page-home) .pm074-tiles>a small{font-size:12px}
  body:not(.page-home) .pm075-hub-top{padding-top:17px}
  body:not(.page-home) .pm075-hub-content{padding-bottom:20px}
  body:not(.page-home) .site-footer{padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:370px){
  .site-header .pm074-mobile>summary{padding:9px 10px}
  body.page-organizer-event .pm076-event-actions>a strong{font-size:14px}
  body:not(.page-home) .pm075-hub-nav>a{font-size:12px;padding:9px 10px}
}
@media(prefers-reduced-motion:reduce){
  body:not(.page-home) .pm074-tiles>a{transition:none;transform:none}
}
