/* ゆーざー左部メニュー */
:root{
#  --drawer-w: 260px;   
#  --subdrawer-w: 260px;
}


#loginArea{ position: relative; }

.user-icon{ cursor: pointer; }


.user-menu{
  position: absolute;
top:var(--toolbar-h);
  right: 20px;
  width: 260px;
  padding: 10px 0px;
  background: #ffffff;
  color: #222;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  z-index: 99999999;

	border-radius:2px;
  opacity: 0;
  transform: scale(.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .12s ease, transform .12s ease;
}
.user-menu.open{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
        @media (max-width: 899px){
		.user-menu{
			top:var(--toolbar-h);
			right:5px;
		}
	}

.user-menu__head{ display:flex; gap:10px; align-items:center; padding:20px; }
.user-menu__pic{ width:40px; height:40px; border-radius:999px; background: rgba(255,255,255,.08); }
.user-menu__name{ font-weight:700; font-size:14px; }
.user-menu__email{ font-size:12px; opacity:.75; word-break: break-all; }

.user-menu__sep{ height:1px; background: #ccc; margin: 8px 0; }

.user-menu__item{
  width:100%;
  border:0;
  background: transparent;
  color: inherit;
  text-align:left;
  padding: 10px 20px;
  cursor:pointer;
  display:flex;
  align-items:center;
}
@media (hover:hover){
.user-menu__item:hover{ background: rgba(255,255,255,.08); }
}


.drawer-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.18);
  z-index: 99998;
}

#rightPanel .rp-viewport{
  touch-action: pan-y; 
  overscroll-behavior: contain; 
	overflow:hidden;
}
#rightPanel .rp-page {
  touch-action: pan-y;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#rightPanel .rp-viewport {
  touch-action: pan-y;
  overflow: hidden; 
}

#rightPanel .rp-track {
  touch-action: pan-y;
}
#rightPanel .rp-viewport {
  overflow: hidden;   
}

#rightPanel .rp-page {
  overflow-y: auto;  
  -webkit-overflow-scrolling: touch;
}


/* さぶどろわ */
.sub-drawer{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;

  width: var(--sub-drawer-w, 260px);

  opacity: 0;
  pointer-events: none;

  background: rgba(255,255,255,.99);
  box-shadow: 2px 10px 20px rgba(0,0,0,.35);
  z-index: 99999;

  overflow: hidden;

  transform: translateX(0);
  transition: transform .18s ease, opacity .12s ease; 
}

.sub-drawer.open{
  opacity: 1;
  pointer-events: auto;
}



#profToday{
	grid-column:1/-1;
	display:flex;
	align-items:center;
	justify-content:center;
}

.prof-work-summary  {
  border-top:1px solid #eee;
	padding:2px 20px;
}

.prof-work-summary > div {
  margin-top:8px;
  font-size:13px;
	display:grid;
	grid-template-columns:1fr 5ch;
	align-items:baseline;
	column-gap:12px;
}

.prof-work-summary > div > span{
	white-space:nowrap;
}

.prof-work-summary > div > span > b{
/*
  font-family:
    "Cascadia Mono",
    "Consolas",    
    "SF Mono", "Menlo", 
    ui-monospace,      
    monospace;
*/
	justify-self:end;
	
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  display:inline-block;
  min-width:5ch;
  text-align:right;
}

.btn.disabled{
	opacity:0.3;
	pointer-events:none;
}

.input-wrap {
  position: relative;
  display: inline-block;
	flex:1;
}

.input-wrap input {
  padding-right: 28px !important; 
}

.clear-btn {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  font-size: 16px;
  cursor: pointer;
  display: none;
  opacity: 0.0;
}
.clear-btn:after{
        content:"\e5c9";
        font-family: "Material Symbols Outlined";
}

.clear-btn.show:hover {
  opacity: 1;
	background-color:transparent !important;
}
.list-btn{
	padding:0px 2px;
}
.list-btn span{
	padding:0px;
}

.seat-sub-drawer,
.floor-sub-drawer {
  position: relative;
	display:flex;
	flex-direction:column;
	height:100%;
	overflow:hidden;
}


.drawer-loading {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.drawer-loading.show{
	display:flex;
}

.result-list,
.seat-list,
.floor-list{
	display:flex;
	flex-direction:column;
}
.result-list ul,
.seat-list ul,
.floor-list ul{
	display:flex;
	flex-direction:column;
	padding-inline-start:0px;
	margin: 5px 0px;
}
.result-list ul li,
.seat-list ul li,
.floor-list ul li{
	display:flex;
	border:1px solid #cccccc;
	margin:2px 0px;
	margin-right:10px;
}
.result-list ul li.sel,
.seat-list ul li.sel,
.floor-list ul li.sel{
	background-color:#FFFFCC;
}

.result-list ul li.blink,
.seat-list ul li.blink,
.floor-list ul li.blink{
	animation-name: myAnimation;
	animation-fill-mode: backwards;
	animation-duration: 0.8s;
	animation-iteration-count: 3;
	animation-timing-function: ease-in-out;
	animation-delay: 0s;
	animation-direction: normal;
}

@keyframes myAnimation {
	0% {  }
	50% { box-shadow: inset 0px 0px 55px 0px rgba(248, 252, 2, 0.9); }
	100% {  }
}


.result-list ul li div,
.seat-list ul li div,
.floor-list ul li div{
	flex:1;
}

.result-list img,
.seat-list img,
.floor-list img{
	width:96px;
	height:54px;
	object-fit:contain;
}
.result-list .items-thumb-area,
.seat-list .items-thumb-area,
.floor-list .items-thumb-area{
	display:flex;
	justify-content:flex-start;
	align-items:center;
	flex:0;
	background-color:#ececec;
}
.result-list .items-label-area,
.seat-list .items-label-area,
.floor-list .items-label-area{
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:flex-start;
	flex:1;
	padding:0 10px;
	min-height:50px;
}

.items-label-area span.result-name,
.items-label-area span.seat-name,
.items-label-area span.floor-name{
	font-size:18px;
}
.items-label-area span.date{
	font-size:10px;
}
.items-ctrl-area{
	display:flex;
	flex:0 !important;
	justify-content:center;
	align-items:center;
	padding:0px 10px;
}

.clear-btn.show{
	opacity:0.6;
  	transition: opacity .12s ease, transform .12s ease;
}
.text-counter{
	font-size:11px;
	color:#555555;
	text-align:right;
	position:absolute;
	right:0px;
	bottom:100%;
	margin-bottom:4px;
}
.result-list,
.seat-list,
.floor-list{
	flex:1 1 0;
	overflow-y:auto;
	min-height:0;
}
.drawer-header {
  flex-shrink: 0;
}

#subDrawerBody {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
}
.sub-drawer {
  display: flex;
  flex-direction: column;
}
.subpage section{
	height:100%;
}
.result-reorder-handle,
.seat-reorder-handle,
.floor-reorder-handle{
	color:#ececec;
	flex:0 !important;
	display:flex;
	align-items:center;
	justify-content:center;
}


.result-reorder-handle,
.seat-reorder-handle,
.floor-reorder-handle {
  color: #ececec;
  flex: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.reorder-dragging {
  visibility: hidden;
}

.reorder-dragging-ghost {
  display: flex !important;
  align-items: center !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  border-radius: 6px;
//  transform: rotate(1.2deg) scale(1.02);
  background: #fff;
  border: 1px solid #ccc;
  overflow: hidden;
}


.reorder-placeholder {
  box-sizing: border-box;
  background: rgba(99, 102, 241, .10);
  border: 2px dashed rgba(99, 102, 241, .4);
  border-radius: 4px;
  list-style: none;
  pointer-events: none;
}
.reorder-dragging-ghost {
  display: flex !important;
  align-items: center !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  border-radius: 6px;
  transform: scale(1.02);
  background: #fff;
  border: 1px solid #ccc;
  overflow: hidden;
}

/*
.reorder-dragging-ghost .items-thumb-area {
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  flex: 0;
}

.reorder-dragging-ghost .items-label-area {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  padding: 0 10px;
}

.reorder-dragging-ghost .items-ctrl-area {
  display: flex !important;
  flex: 0;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.reorder-dragging-ghost img {
  width: 96px;
  height: 54px;
  object-fit: contain;
}

.reorder-dragging-ghost .floor-reorder-handle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0;
}
*/
        .sub-toast{
    position: absolute;
    top: var( --toolbar-h);
    left: 0px;
    right: 0px;
    z-index: 99999999999999;
    padding: 10px 14px;
    background: rgba(34, 197, 94, 0.52);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.2px;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.25);
    z-index: 999999 !important;
    text-align: center;
        }               
                
        .sub-toast.show{ 
          display: flex;
          animation: subToastIn 140ms ease-out;
        }

        @keyframes subToastIn{
          from{ transform: translateY(-6px); opacity: 0; }
          to{   transform: translateY(0);   opacity: 1; }
        } 
	.btnname{
		font-size:unset;
	}
.img-loading-overlay{
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.6);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}

.img-loading-overlay::after{
  content:"";
  width:18px;
  height:18px;
  border:2px solid rgba(0,0,0,.2);
  border-top-color: rgba(0,0,0,.6);
  border-radius:50%;
  animation:spin .7s linear infinite;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}
.update-seq{
    display: none;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
.update-seq.show{
	display:flex;
}

.sub-drawer {
  height: calc(100vh - var(--toolbar-h, 64px)) !important;
}
.lock-toggle.seat-sticky{
	position:unset !important;
	width:160px;
}

/*
#subpage-edit_toilet,
#subpage-edit_conference,
#subpage-edit_seat,
#subpage-edit_object,
#subpage-edit_admin,
#subpage-edit_floor{
        width:500px;
        position:relative;
        padding:15px;
}
*/
#subpage-edit_admin .result-item{
	min-height:60px;
}
#subpage-edit_admin .items-thumb-area{
    width: 200px !important;
    max-width: unset;
    min-width: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
}

.result-list,
.seat-list,
.floor-list{
        user-select:none;
}
li:not([data-publish="true"]).reorder-item{
	opacity:0.5;
}
.list-iconed-txt{
	display:flex;
	align-items:center;
	gap:5px;
	
}

.admin-toggles {
    display: flex;
    flex-direction: row;
    height: 30px;
    align-content: space-between;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
	padding:9px 8px;
}

.admin-toggles .lock-toggle{
	position:unset !important;
	
}

.admin-toggles .lock-toggle .text{
	font-size:12px;
}
#logoDropdown{
  position:absolute;
  top:var(--toolbar-h);
  left:8px;
	margin-top:5px;

  min-width:180px;

  background:#fff;
  border:1px solid #d0d7de;
//  border-radius:10px;


  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  padding:6px 0;

	opacity:0;
  font-size:14px;
  z-index:2000;
  transition: opacity .12s ease, transform .12s ease;
  pointer-events: none;
}
#logoDropdown button{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;

  width:100%;
  padding:8px 14px;

  background:none;
  border:none;

  text-align:left;
  font-size:14px;
  cursor:pointer;
}
#logoDropdown button::before{
  content:"";
  position:absolute;

  left:0;
  top:6px;
  bottom:6px;

  width:3px;
  border-radius:2px;

  background:transparent;
}
#logoDropdown button.active::before{
  background:#0b6cff;
}
#logoDropdown button:hover{
  background:#f3f6fa;
}
#logoDropdown .check{
  width:16px;
  text-align:center;
  flex:0 0 16px;

  font-weight:600;
  color:#0b6cff;
}
#logoDropdown hr{
  border:none;
  border-top:1px solid #e5e7eb;
  margin:6px 0;
}
#logoDropdown button{
  min-height:34px;
}
#logoDropdown{
  transform:translateY(-6px);
	padding:12px;
  transition:.12s ease;
}

#logoDropdown.open{
  transform:translateY(-6px);
  opacity:1;
  pointer-events: auto;
}
.menu-logo{
	cursor:pointer;
}
.menu-logo-wrapper{
	position:relative;
}
.drawer .drawer-body>section{
	display:none;
}
.drawer .drawer-body>section.open{
	display:block;
}
.submenu-btn span{
	font-size:14px;
}
.subpage{
	width:500px;
        position:relative;
        padding:15px;
}
.plugin-menu-title span{
	font-size:14px;
	font-weight:400px;
	color:#222;
}
.on>.material-symbols-outlined,
.on>.material-symbols-sharp,
.is-active>.material-symbols-outlined,
.is-active>.material-symbols-sharp{
  font-variation-settings:
  'FILL' 1;
}
