:root { color-scheme: light; font: 16px/1.4 system-ui,sans-serif; background: #e8e9e5; color: #202825; }
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; min-height: 36px; padding: .25rem .6rem; color: inherit; background: #fff; border: 1px solid #82938c; border-radius: .45rem; cursor: pointer; }
button:focus-visible { outline: 3px solid #06816a; outline-offset: 2px; }
#welcome { max-width: 32rem; margin: 12vh auto; padding: 2rem; border-radius: 1rem; background: #fff; }
#roles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px; height: 100dvh; }
#roles > section { display: grid; grid-template-rows: auto minmax(0,1fr); min-width: 0; min-height: 0; background: #f7f8f4; }
#roles section header { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: .4rem; }
#roles h2 { flex: 1 1 6rem; margin: 0; font-size: 1rem; }
iframe { border: 0; width: 100%; height: 100%; background: #fff; }
#roles[data-full] { grid-template-columns: minmax(0,1fr); }
#roles[data-full] > section { display: none; }
#roles[data-full=owner] > section[data-role=owner], #roles[data-full=admin] > section[data-role=admin],
#roles[data-full=master] > section[data-role=master], #roles[data-full=client] > section[data-role=client] { display: grid; }
@media (max-width: 960px) {
  #roles:not([data-full]) { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: minmax(25rem,49dvh); height: auto; }
}
@media (max-width: 570px) {
  #roles:not([data-full]) { grid-template-columns: minmax(0,1fr); grid-auto-rows: minmax(32rem,84dvh); }
  #welcome { margin: 2rem 1rem; }
}
