/* v1.5.63 — Unified admin desktop layout. No styles apply below 1100px or to staff. */
.v1563-desktop-rail{display:none!important}
@media (min-width:1100px){
  body.v1563-pc-admin .v1563-desktop-rail{
    position:fixed;left:0;top:0;bottom:0;width:196px;height:100dvh;
    padding:20px 12px;box-sizing:border-box;display:flex!important;flex-direction:column;
    gap:8px;overflow-y:auto;overflow-x:hidden;z-index:110;
    background:linear-gradient(180deg,#fcfdff,#f3f7ff);border-right:1px solid #e1e9f5;
    box-shadow:7px 0 30px rgba(27,58,102,.045);
  }
  body.v1563-pc-admin .v1563-desktop-rail[hidden]{display:none!important}
  body.v1563-pc-admin .v1563-rail-brand{font-size:16px;font-weight:900;line-height:1.35;padding:13px 3px 23px;color:#193e73;white-space:nowrap}
  body.v1563-pc-admin .v1563-rail-brand small{display:block;color:#6d829e;font-size:12px;margin-top:5px}
  body.v1563-pc-admin .v1563-desktop-rail button{
    position:relative;min-height:48px;width:100%;border:0;background:transparent;
    display:flex;align-items:center;gap:11px;border-radius:13px;
    padding:9px 12px;text-align:left;color:#415675;
    font:700 13px/1.25 system-ui,-apple-system,'Noto Sans JP',sans-serif;cursor:pointer;
  }
  body.v1563-pc-admin .v1563-desktop-rail button:hover{background:#eaf2fc}
  body.v1563-pc-admin .v1563-desktop-rail button.active{background:#ffe7eb;color:#bf4055}
  body.v1563-pc-admin .v1563-nav-icon{display:inline-grid;flex:none;place-items:center;width:22px;min-width:22px;font-size:23px;line-height:1}
  body.v1563-pc-admin .v1563-nav-icon svg{display:block;width:22px!important;height:22px!important}
  body.v1563-pc-admin .v1563-desktop-rail button.has-warning:after{content:'!';display:grid;place-items:center;position:absolute;top:4px;left:28px;min-width:13px;height:13px;border-radius:50%;background:#ffcf38;border:1px solid white;color:#6a4600;font-size:9px}
  /* Hide every page-specific mobile navigation, including the v1.5.62 home/results sidebar. */
  body.v1563-pc-admin #app nav.v1250-bottom-nav,
  body.v1563-pc-admin #app .shell > nav.bottom-nav,
  body.v1563-pc-admin #app .v1400-admin-bottom-nav{display:none!important}
  body.v1563-pc-admin #app>.shell{width:100%!important;max-width:none!important;margin:0!important;padding:0 0 0 196px!important;min-height:100dvh!important;box-sizing:border-box!important}
  body.v1563-pc-admin #app>.shell>.content{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;box-sizing:border-box!important}
  body.v1563-pc-admin #app .v1250-home{width:100%!important;max-width:1510px!important;margin:0 auto!important;box-sizing:border-box!important;padding:24px clamp(18px,2.5vw,42px) 48px!important;min-width:0!important}
  /* All admin pages can use the full content area; forms still keep sensible line lengths. */
  body.v1563-pc-admin #app .v1422-main{width:100%!important;max-width:1180px!important;margin:14px auto!important}
  body.v1563-pc-admin #app .v1422-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
  body.v1563-pc-admin #app .v1422-card{min-height:142px!important}
  body.v1563-pc-admin #app .v1422-card strong{font-size:16px!important}
  body.v1563-pc-admin #app .v1422-card small{font-size:11px!important}
  body.v1563-pc-admin #app .v1482-main{width:100%!important;max-width:1240px!important;margin:0 auto!important}
  body.v1563-pc-admin #app .v1482-directory{width:100%!important;max-width:none!important}
  body.v1563-pc-admin #app .v1482-columns,
  body.v1563-pc-admin #app .v1482-directory-row{min-width:0!important}
  body.v1563-pc-admin #app .v1485-main{width:100%!important;max-width:1050px!important;margin:12px auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start}
  body.v1563-pc-admin #app .v1485-main > :is(#v1485Latest,#v1485Staff,.v1485-logout){grid-column:1/-1}
  body.v1563-pc-admin #app .v1485-main > *{min-width:0}
  body.v1563-pc-admin #app .v1278-tools-main{width:100%!important;max-width:1060px!important;margin:0 auto!important}
  body.v1563-pc-admin #app .v1278-tools-art{width:min(100%,880px)!important;margin:0 auto!important}
  body.v1563-pc-admin #app .v1546-life-page{max-width:1280px!important}
  body.v1563-pc-admin #app .v1546-life-content{width:100%!important;max-width:1180px!important;margin:0 auto!important;box-sizing:border-box!important}
  body.v1563-pc-admin #app .v1549-night-header{width:100%!important}
  /* The same existing Konemaru and request popups, now share a stable desktop anchor. */
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1250-hero{
    position:relative!important;overflow:hidden!important;
  }
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1250-hero-visual{
    position:absolute!important;right:20px!important;left:auto!important;
    width:300px!important;max-width:30%!important;top:0!important;bottom:0!important;
    display:flex!important;justify-content:flex-end!important;align-items:flex-end!important;
  }
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1366-mascot-stage,
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1366-mascot-stage.v1370-notify,
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1366-mascot-stage.v1370-default,
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1366-mascot-stage.v1370-bubble-mode{
    width:100%!important;max-width:290px!important;transform:translateY(12px) scale(.91)!important;
    transform-origin:right bottom!important;
  }
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1366-hero-bubbles{
    position:absolute!important;inset:0!important;pointer-events:none!important;z-index:15!important;
  }
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1366-hero-bubbles .v1362-request-bubble.shift{
    top:21px!important;right:275px!important;left:auto!important;
  }
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1366-hero-bubbles .v1362-request-bubble.correction{
    top:113px!important;right:355px!important;left:auto!important;
  }
  /* Don't stretch button labels or editable sheets across the entire wide view. */
  body.v1563-pc-admin #app :is(.v1250-home-head,.v1549-sub-heading){min-width:0}
  body.v1563-pc-admin #app .v1546-item{min-width:0}
}
@media(min-width:1100px) and (max-width:1350px){
  body.v1563-pc-admin #app .v1422-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1366-hero-bubbles .v1362-request-bubble.shift{right:255px!important}
  body.v1563-pc-admin.v1250-home-preview-active #app .v1327-admin-home .v1366-hero-bubbles .v1362-request-bubble.correction{right:325px!important}
}
html[data-ayukone-mode="dark"] body.v1563-pc-admin .v1563-desktop-rail{background:linear-gradient(180deg,#1a2127,#192028);border-color:#343e48}
html[data-ayukone-mode="dark"] body.v1563-pc-admin :is(.v1563-rail-brand,.v1563-desktop-rail button){color:#d7e3ee}
html[data-ayukone-mode="dark"] body.v1563-pc-admin .v1563-desktop-rail button.active{background:#49303d;color:#ffb9c6}
