/* 歩みコネクト v1.5.62 — 管理者のみPCワイドレイアウト。
   1099px以下は従来のスマホ・タブレット版に一切干渉しない。 */
@media (min-width:1100px) {
  /* 管理者の全画面で横幅を有効活用。スタッフ画面は対象外。 */
  body:has(.shell > .bottom-nav [data-view="admin_invoices"]) .shell {
    width:100%;max-width:none!important;margin:0!important;
    padding:0 0 0 196px!important;min-height:100vh;
  }
  body:has(.shell > .bottom-nav [data-view="admin_invoices"]) .shell > .content {
    width:100%;max-width:1510px;margin:0 auto;
    padding:16px clamp(18px,2.5vw,42px) 50px;
  }
  /* 既存のボトムナビをPCではサイドメニューに。機能は既存のまま。 */
  body:not(.v1250-home-preview-active):has(.shell > .bottom-nav [data-view="admin_invoices"]) .shell > nav.bottom-nav {
    position:fixed!important;top:0!important;bottom:0!important;left:0!important;
    transform:none!important;width:196px!important;height:100dvh!important;
    padding:110px 12px 22px!important;margin:0!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;gap:8px!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    background:linear-gradient(180deg,#fcfdff,#f3f7ff)!important;
    border-right:1px solid #e1e9f5!important;border-top:0!important;
    box-shadow:7px 0 30px rgba(27,58,102,.04)!important;z-index:45!important;
  }
  body:not(.v1250-home-preview-active):has(.shell > .bottom-nav [data-view="admin_invoices"]) .shell > nav.bottom-nav::before {
    content:"あゆこねあぷり\A管理者メニュー";white-space:pre;position:absolute;
    left:14px;right:10px;top:29px;font-size:17px;line-height:1.6;font-weight:900;color:#193e73;
  }
  body:not(.v1250-home-preview-active):has(.shell > .bottom-nav [data-view="admin_invoices"]) .shell > nav.bottom-nav .nav-btn {
    flex:0 0 auto;width:100%;height:47px;min-height:47px;text-align:left;
    padding:10px 16px!important;border-radius:13px;font-size:13px;
    background:transparent;color:#415675;transition:background .12s ease;
  }
  body:not(.v1250-home-preview-active):has(.shell > .bottom-nav [data-view="admin_invoices"]) .shell > nav.bottom-nav .nav-btn:hover {background:#eef5ff}
  body:not(.v1250-home-preview-active):has(.shell > .bottom-nav [data-view="admin_invoices"]) .shell > nav.bottom-nav .nav-btn.active {background:#ffe7eb;color:#bf4055}
  body:has(.shell > .bottom-nav [data-view="admin_invoices"]) .shell > .topbar {
    position:relative;padding:16px clamp(18px,2.5vw,42px);border-bottom:1px solid #e7edf5;
  }
  /* 管理者ホーム: 一覧とカードは別々の領域にレイアウトする。 */
  body.v1250-home-preview-active .v1327-admin-home {
    box-sizing:border-box!important;width:100%!important;max-width:1510px!important;
    padding:19px clamp(18px,2.5vw,42px) 48px!important;
    margin:0 auto!important;min-height:100vh!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(255px,.32fr)!important;
    column-gap:20px!important;row-gap:16px!important;align-content:start;
  }
  body.v1250-home-preview-active .v1327-admin-home > .v1250-home-head,
  body.v1250-home-preview-active .v1327-admin-home > .v1250-hero,
  body.v1250-home-preview-active .v1327-admin-home > .v1331-performance-wrap {grid-column:1/-1!important;min-width:0;margin:0!important}
  body.v1250-home-preview-active .v1327-admin-home > .v1338-shift-card {grid-column:1!important;min-width:0;margin:0!important}
  body.v1250-home-preview-active .v1327-admin-home > .v1520-admin-game-section {grid-column:2!important;min-width:0;margin:0!important}
  body.v1250-home-preview-active .v1327-admin-home .v1250-home-head {
    padding:2px 2px 0!important;min-height:63px;
  }
  body.v1250-home-preview-active .v1327-admin-home .v1250-logo-wrap strong {font-size:30px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1250-logo-wrap small {font-size:11px!important;letter-spacing:.05em}
  body.v1250-home-preview-active .v1327-admin-home .v1250-logo-wrap::after {
    content:"管理者ダッシュボード";display:block;margin-top:6px;color:#58708f;font-size:12px;font-weight:850;
  }
  body.v1250-home-preview-active .v1327-admin-home .v1250-hero {
    min-height:242px!important;height:242px!important;border-radius:22px!important;
    padding:24px 36px!important;isolation:isolate;
  }
  body.v1250-home-preview-active .v1327-admin-home .v1250-hero-copy {width:34%!important;flex:0 0 34%!important;min-width:270px;z-index:3}
  body.v1250-home-preview-active .v1327-admin-home .v1250-hero-copy>span {font-size:22px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1250-hero-copy>strong {font-size:64px!important;margin-top:0!important}
  body.v1250-home-preview-active .v1327-admin-home .v1250-hero-action {max-width:310px;margin-top:auto}
  body.v1250-home-preview-active .v1327-admin-home .v1327-work-status-btn {
    min-height:57px!important;border-radius:17px!important;font-size:17px!important;
    grid-template-columns:28px 1fr 20px!important;box-shadow:0 4px 16px rgba(120,65,65,.09);
  }
  /* コネまるは既存アセット。モバイルの画像・吹き出しの座標を変更しない。 */
  body.v1250-home-preview-active .v1327-admin-home .v1250-hero-visual {
    width:28%!important;max-width:360px!important;right:0!important;top:0!important;bottom:-18px!important;
    display:flex!important;align-items:flex-end!important;justify-content:center!important;
  }
  body.v1250-home-preview-active .v1327-admin-home .v1366-mascot-stage,
  body.v1250-home-preview-active .v1327-admin-home .v1366-mascot-stage.v1370-notify,
  body.v1250-home-preview-active .v1327-admin-home .v1366-mascot-stage.v1370-bubble-mode,
  body.v1250-home-preview-active .v1327-admin-home .v1366-mascot-stage.v1370-default {
    width:100%!important;max-width:315px!important;
    transform:translate(0,52px) scale(.94)!important;
  }
  body.v1250-home-preview-active .v1327-admin-home .v1366-hero-bubbles .v1362-request-bubble.shift {
    top:43px!important;right:30%!important;left:auto!important;
  }
  body.v1250-home-preview-active .v1327-admin-home .v1366-hero-bubbles .v1362-request-bubble.correction {
    top:126px!important;right:35%!important;left:auto!important;
  }
  /* 日次・月次を大きめの独立カードとして横並びに。既存のクリックイベントを維持。 */
  body.v1250-home-preview-active .v1327-admin-home .v1331-performance-wrap {
    gap:16px!important;overflow:visible!important;background:transparent!important;
    border:0!important;box-shadow:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.v1250-home-preview-active .v1327-admin-home .v1331-performance-panel {
    border:1px solid #dfe7f4!important;border-radius:20px!important;
    min-height:181px!important;padding:18px 20px!important;overflow:hidden!important;
    box-shadow:0 6px 20px rgba(51,79,125,.05);
  }
  body.v1250-home-preview-active .v1327-admin-home .v1331-performance-panel+.v1331-performance-panel {border-left:1px solid #e3d8f4!important}
  body.v1250-home-preview-active .v1327-admin-home .v1331-performance-head strong {font-size:19px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1331-performance-head small {font-size:12px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1331-daily-grid {grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1331-daily-metric {min-width:0;padding:10px 6px!important;border-radius:12px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1331-daily-metric span {font-size:10px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1331-daily-metric b {font-size:clamp(16px,1.55vw,25px)!important;white-space:nowrap}
  body.v1250-home-preview-active .v1327-admin-home .v1332-daily-worktime {
    grid-column:auto!important;display:flex;flex-direction:column;align-items:start;justify-content:center;text-align:left!important;
  }
  body.v1250-home-preview-active .v1327-admin-home .v1332-daily-worktime span {display:block!important;margin:0!important}
  body.v1250-home-preview-active .v1327-admin-home .v1332-daily-worktime b {display:flex!important;font-size:clamp(16px,1.5vw,23px)!important;margin-top:3px!important}
  /* シフト: 七列を横に広く。既存の「日付タップでカレンダー」導線は維持。 */
  body.v1250-home-preview-active .v1327-admin-home .v1338-shift-card {border-radius:20px!important;align-self:start}
  body.v1250-home-preview-active .v1327-admin-home .v1338-shift-head {padding:14px 17px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1338-shift-head strong {font-size:18px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1338-shift-day {padding:0 6px 11px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1338-shift-day-head {height:42px!important;margin:0 -6px 6px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1338-shift-day-head b {font-size:12px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1338-shift-day-head small {font-size:9px!important}
  body.v1250-home-preview-active .v1327-admin-home .v1338-shift-name {font-size:11px!important;overflow:hidden;text-overflow:ellipsis!important}
  body.v1250-home-preview-active .v1327-admin-home .v1338-shift-time {font-size:10px!important;line-height:1.25!important}
  /* ミニゲームはPCでは右側の小カード。 */
  body.v1250-home-preview-active .v1327-admin-home .v1520-admin-minigame-card {
    width:100%!important;min-height:190px!important;margin:0!important;border-radius:20px!important;
  }
  /* 管理者ホームのナビはサイド固定。スマホの見切れナビは変更しない。 */
  body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav {
    position:fixed!important;top:0!important;bottom:0!important;left:0!important;
    transform:none!important;right:auto!important;width:196px!important;height:100dvh!important;
    padding:111px 12px 24px!important;margin:0!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;gap:8px!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    background:linear-gradient(180deg,#fcfdff,#f3f7ff)!important;
    border-right:1px solid #e1e9f5!important;border-top:0!important;
    box-shadow:7px 0 30px rgba(27,58,102,.05)!important;
    z-index:60!important;
  }
  body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav::before {
    content:"あゆこねあぷり\A管理者メニュー";white-space:pre;position:absolute;
    left:14px;right:10px;top:29px;font-size:17px;line-height:1.6;font-weight:900;color:#193e73;
  }
  body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav > button {
    position:relative;flex:0 0 auto!important;min-height:47px!important;width:100%!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
    gap:10px!important;white-space:nowrap;padding:9px 14px!important;
    font-size:22px!important;border-radius:13px!important;color:#415675!important;
  }
  body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav > button span {font-size:13px!important;white-space:nowrap}
  body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav > button.active {background:#ffe7eb!important;color:#bf4055!important}
  body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav > button:hover {background:#e9f2ff}
  /* PCでは詳細ボトムカードを中央に広いモーダルとして表示 */
  .v1250-sheet-backdrop {align-items:center!important;padding:24px!important}
  .v1250-sheet-backdrop > .v1250-sheet {
    width:min(960px,calc(100vw - 230px))!important;max-height:90vh!important;
    border-radius:22px!important;box-shadow:0 22px 75px rgba(15,29,57,.25)!important;
  }
}
@media (min-width:1100px) and (max-width:1350px) {
  body.v1250-home-preview-active .v1327-admin-home .v1331-daily-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.v1250-home-preview-active .v1327-admin-home .v1332-daily-worktime {grid-column:span 2!important}
  body.v1250-home-preview-active .v1327-admin-home .v1366-hero-bubbles .v1362-request-bubble.shift {right:27%!important}
  body.v1250-home-preview-active .v1327-admin-home .v1366-hero-bubbles .v1362-request-bubble.correction {right:35%!important}
}
/* Desktop refinement: base hero stylesheet uses position:relative !important. */
.v1562-desktop-settings{display:none!important}
@media (min-width:1100px) {
  body.v1250-home-preview-active .v1327-admin-home .v1250-hero-visual {
    position:absolute!important;left:auto!important;right:4px!important;
    top:0!important;bottom:-18px!important;
  }
  body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav > .v1562-desktop-settings {
    display:flex!important;
  }
  html[data-ayukone-mode="dark"] body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav,
  html[data-ayukone-mode="dark"] body:not(.v1250-home-preview-active):has(.shell > .bottom-nav [data-view="admin_invoices"]) .shell > nav.bottom-nav {
    background:linear-gradient(180deg,#1a2127,#192028)!important;
    border-color:#343e48!important;
  }
  html[data-ayukone-mode="dark"] body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav::before,
  html[data-ayukone-mode="dark"] body:not(.v1250-home-preview-active):has(.shell > .bottom-nav [data-view="admin_invoices"]) .shell > nav.bottom-nav::before {color:#d5e5fa!important}
  html[data-ayukone-mode="dark"] body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav > button {color:#c2d0e1!important}
  html[data-ayukone-mode="dark"] body.v1250-home-preview-active .v1327-admin-home > .v1327-admin-bottom-nav > button.active {background:#49303d!important;color:#ffb9c6!important}
  html[data-ayukone-mode="dark"] body.v1250-home-preview-active .v1327-admin-home .v1250-logo-wrap::after {color:#aabbd2!important}
}
/* 実績入力のPC 2カラム。スマホはDOMの既存順序を保つ。 */
.v1562-results-left,.v1562-results-right{display:contents}
@media (min-width:1100px) {
  body.v1400-admin-results-active .v1400-admin-results-page {
    width:100%!important;max-width:none!important;margin:0!important;
    padding:18px clamp(18px,2.5vw,42px) 50px!important;box-sizing:border-box!important;
  }
  body.v1400-admin-results-active .v1400-admin-results-main {
    width:100%!important;max-width:1370px!important;margin:10px auto 0!important;
    padding:0!important;
  }
  body.v1400-admin-results-active .v1413-results-shell {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;padding:20px!important;align-items:start!important;
  }
  body.v1400-admin-results-active .v1562-results-left,
  body.v1400-admin-results-active .v1562-results-right {display:block!important;min-width:0!important}
  body.v1400-admin-results-active .v1562-results-left > *,
  body.v1400-admin-results-active .v1562-results-right > * {min-width:0!important}
  body.v1400-admin-results-active .v1562-results-right {
    border-left:1px solid #eedede;padding-left:20px;min-height:380px;
  }
  body.v1400-admin-results-active .v1562-results-right #v1558FinanceMount {margin-top:0}
  body.v1400-admin-results-active .v1400-admin-bottom-nav {
    position:fixed!important;top:0!important;bottom:0!important;left:0!important;
    transform:none!important;right:auto!important;width:196px!important;height:100dvh!important;
    padding:111px 12px 24px!important;margin:0!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;gap:8px!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    background:linear-gradient(180deg,#fcfdff,#f3f7ff)!important;
    border-right:1px solid #e1e9f5!important;border-top:0!important;
    box-shadow:7px 0 30px rgba(27,58,102,.05)!important;z-index:60!important;
  }
  body.v1400-admin-results-active .v1400-admin-bottom-nav::before {
    content:"あゆこねあぷり\A管理者メニュー";white-space:pre;position:absolute;
    left:14px;right:10px;top:29px;font-size:17px;line-height:1.6;font-weight:900;color:#193e73;
  }
  body.v1400-admin-results-active .v1400-admin-bottom-nav > button {
    position:relative;flex:0 0 auto!important;min-height:47px!important;width:100%!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
    gap:10px!important;white-space:nowrap;padding:9px 14px!important;
    font-size:22px!important;border-radius:13px!important;color:#415675!important;
  }
  body.v1400-admin-results-active .v1400-admin-bottom-nav > button span {font-size:13px!important;white-space:nowrap}
  body.v1400-admin-results-active .v1400-admin-bottom-nav > button.active {background:#ffe7eb!important;color:#bf4055!important}
  body.v1400-admin-results-active .v1400-admin-bottom-nav > button:hover {background:#e9f2ff}
  body.v1400-admin-results-active .v1400-admin-bottom-nav > .v1562-desktop-settings {display:flex!important}
  html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-admin-bottom-nav {
    background:linear-gradient(180deg,#1a2127,#192028)!important;border-color:#343e48!important;
  }
  html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-admin-bottom-nav::before {color:#d5e5fa!important}
  html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-admin-bottom-nav > button {color:#c2d0e1!important}
  html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-admin-bottom-nav > button.active {background:#49303d!important;color:#ffb9c6!important}
  html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1562-results-right {border-left-color:#44515c}
}
