/*
 * GREEN GOLD LIFE — DESKTOP UI
 * Range: 1440px and above
 *
 * Microsoft Fluent enterprise administration workspace.
 */

@media (min-width:1440px){

  html,
  body{
    min-width:1440px;
    background:#f5f5f5;
    font-family:
      "Segoe UI Variable",
      "Segoe UI",
      Inter,
      system-ui,
      sans-serif;
  }

  body.ggl-device-desktop{
    --ggl-desktop-sidebar:288px;
    --ggl-desktop-sidebar-collapsed:72px;
    background:#f5f5f5;
    color:#242424;
  }

  body.ggl-device-desktop .app-frame{
    width:100%;
    max-width:none;
    min-height:100vh;
    margin:0;
    background:#f5f5f5;
    box-shadow:none;
  }

  body.ggl-device-desktop .ggl-common-topbar{
    position:fixed;
    z-index:85;
    top:0;
    right:0;
    left:var(--ggl-desktop-sidebar);
    width:auto;
    min-height:56px;
    height:56px;
    display:grid;
    grid-template-columns:
      44px
      minmax(190px,280px)
      minmax(320px,1fr)
      auto;
    align-items:center;
    gap:16px;
    padding:0 20px;
    border-bottom:1px solid #e1dfdd;
    background:#ffffff;
    box-shadow:0 1px 4px rgba(0,0,0,.06);
    transition:left .18s ease;
  }

  body.ggl-device-desktop .ggl-topbar-button{
    width:36px;
    height:36px;
    border:1px solid transparent;
    border-radius:5px;
    background:transparent;
  }

  body.ggl-device-desktop .ggl-topbar-button:hover{
    border-color:#d2d0ce;
    background:#f3f2f1;
  }

  body.ggl-device-desktop .ggl-topbar-title strong{
    color:#242424;
    font-size:17px;
    font-weight:600;
  }

  body.ggl-device-desktop .ggl-topbar-title small{
    color:#605e5c;
    font-size:9px;
  }

  body.ggl-device-desktop .ggl-device-commandbar{
    width:100%;
    max-width:720px;
    height:36px;
    display:flex;
    align-items:center;
    gap:9px;
    justify-self:center;
    padding:0 12px;
    border:1px solid #c8c6c4;
    border-radius:5px;
    background:#ffffff;
  }

  body.ggl-device-desktop .ggl-device-commandbar:focus-within{
    border-color:#0f6cbd;
    box-shadow:0 0 0 1px #0f6cbd;
  }

  body.ggl-device-desktop .ggl-device-commandbar svg{
    width:17px;
    height:17px;
    flex:0 0 auto;
    fill:none;
    stroke:#605e5c;
    stroke-width:2;
  }

  body.ggl-device-desktop .ggl-device-commandbar input{
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    color:#242424;
    font-size:13px;
  }

  body.ggl-device-desktop .drawer{
    position:fixed;
    z-index:90;
    top:0;
    bottom:0;
    left:0;
    width:var(--ggl-desktop-sidebar);
    max-width:none;
    border-right:1px solid #e1dfdd;
    background:#ffffff;
    box-shadow:none;
    transform:none !important;
    transition:width .18s ease;
  }

  body.ggl-device-desktop .drawer-overlay{
    display:none !important;
  }

  body.ggl-device-desktop .drawer-profile{
    width:100%;
    height:64px;
    min-height:64px;
    display:flex;
    align-items:center;
    gap:6px;
    padding:8px;
    border-bottom:1px solid #edebe9;
    background:#faf9f8;
  }

  body.ggl-device-desktop .drawer-profile-link{
    width:100%;
    min-width:0;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    padding:4px;
    border:0;
    border-radius:5px;
    background:transparent;
    color:#323130;
    text-align:left;
  }

  body.ggl-device-desktop .drawer-profile-link:hover{
    background:#edebe9;
  }

  body.ggl-device-desktop .drawer-avatar{
    width:40px;
    height:40px;
    border-radius:5px;
  }

  body.ggl-device-desktop #drawerClose{
    display:none !important;
  }

  body.ggl-device-desktop .drawer-scroll{
    height:calc(100vh - 64px);
    padding:8px;
  }

  body.ggl-device-desktop .nav-group-title{
    padding:16px 10px 6px;
    color:#605e5c;
    font-size:9px;
    font-weight:700;
    letter-spacing:.1em;
  }

  body.ggl-device-desktop .nav-link{
    width:100%;
    min-height:40px;
    display:grid;
    grid-template-columns:34px minmax(0,1fr) 20px;
    align-items:center;
    gap:8px;
    margin:2px 0;
    padding:6px 9px;
    border:0;
    border-radius:4px;
    background:transparent;
    color:#323130;
    text-align:left;
  }

  body.ggl-device-desktop .nav-link:hover{
    background:#f3f2f1;
  }

  body.ggl-device-desktop .nav-link.active{
    border-left:3px solid #0f6cbd;
    border-radius:2px;
    background:#eaf3fb;
    color:#0f548c;
    font-weight:600;
  }

  body.ggl-device-desktop .nav-icon{
    display:grid;
    place-items:center;
  }

  body.ggl-device-desktop .nav-icon svg{
    width:20px;
    height:20px;
  }

  body.ggl-device-desktop .nav-label{
    overflow:hidden;
    font-size:13px;
    white-space:nowrap;
    text-overflow:ellipsis;
  }

  body.ggl-device-desktop .nav-chevron{
    color:#8a8886;
    font-size:18px;
  }

  body.ggl-device-desktop .main{
    width:calc(100% - var(--ggl-desktop-sidebar));
    max-width:none;
    min-height:100vh;
    margin:0 0 0 var(--ggl-desktop-sidebar);
    padding:84px 32px 40px;
    overflow:visible;
    transition:
      width .18s ease,
      margin-left .18s ease;
  }

  body.ggl-device-desktop .main > *{
    width:100%;
    max-width:1680px;
    margin-right:auto;
    margin-left:auto;
  }

  body.ggl-device-desktop .bottom-nav,
  body.ggl-device-desktop .ggl-common-bottom-nav{
    display:none !important;
  }

  body.ggl-device-desktop .app-frame > .main{
    padding-bottom:40px;
  }

  body.ggl-device-desktop.ggl-desktop-nav-collapsed .drawer{
    width:var(--ggl-desktop-sidebar-collapsed);
  }

  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .ggl-common-topbar{
    left:var(--ggl-desktop-sidebar-collapsed);
  }

  body.ggl-device-desktop.ggl-desktop-nav-collapsed .main{
    width:calc(
      100%
      - var(--ggl-desktop-sidebar-collapsed)
    );
    margin-left:var(--ggl-desktop-sidebar-collapsed);
  }

  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .drawer-profile-link{
    grid-template-columns:42px;
    justify-content:center;
    padding:3px;
  }

  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .drawer-profile-link > div:nth-child(2),
  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .drawer-profile-link > b,
  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .nav-group-title,
  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .nav-label,
  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .nav-chevron{
    display:none !important;
  }

  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .drawer-scroll{
    padding:8px 5px;
  }

  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .nav-link{
    grid-template-columns:40px;
    justify-content:center;
    padding:6px;
  }

  body.ggl-device-desktop .page-head{
    align-items:center;
    margin:0 0 22px;
  }

  body.ggl-device-desktop .page-head h1{
    margin:3px 0 5px;
    color:#242424;
    font-size:30px;
    font-weight:600;
    letter-spacing:-.025em;
  }

  body.ggl-device-desktop .page-head p{
    color:#605e5c;
  }

  body.ggl-device-desktop .eyebrow{
    color:#0f6cbd;
    font-size:10px;
    letter-spacing:.1em;
  }

  body.ggl-device-desktop .hero{
    margin-bottom:20px;
    padding:26px 28px;
    border:1px solid #d2d0ce;
    border-left:4px solid #0f6cbd;
    border-radius:8px;
    background:#ffffff;
    color:#242424;
    box-shadow:0 2px 8px rgba(0,0,0,.055);
  }

  body.ggl-device-desktop .hero small{
    color:#0f6cbd;
    font-weight:700;
  }

  body.ggl-device-desktop .hero h1{
    margin:8px 0;
    color:#242424;
    font-size:32px;
    font-weight:600;
  }

  body.ggl-device-desktop .hero p{
    color:#605e5c;
  }

  body.ggl-device-desktop .card,
  body.ggl-device-desktop .data-card,
  body.ggl-device-desktop .workspace-card,
  body.ggl-device-desktop .control-card,
  body.ggl-device-desktop .readiness-card,
  body.ggl-device-desktop .quick-card,
  body.ggl-device-desktop .task-card,
  body.ggl-device-desktop .report-card{
    border:1px solid #e1dfdd;
    border-radius:8px;
    background:#ffffff;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
  }

  body.ggl-device-desktop .card{
    padding:22px;
  }

  body.ggl-device-desktop .stat{
    min-height:116px;
    padding:19px;
    border:1px solid #e1dfdd;
    border-radius:8px;
    background:#ffffff;
    box-shadow:none;
  }

  body.ggl-device-desktop .stat strong{
    color:#0f6cbd;
    font-size:29px;
    font-weight:600;
  }

  body.ggl-device-desktop .grid.stats{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
  }

  body.ggl-device-desktop .control-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
  }

  body.ggl-device-desktop .section-grid,
  body.ggl-device-desktop .admin-split{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
  }

  body.ggl-device-desktop .report-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
  }

  body.ggl-device-desktop .module-tiles{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  body.ggl-device-desktop .btn,
  body.ggl-device-desktop .pill-button{
    min-height:40px;
    border-radius:5px;
  }

  body.ggl-device-desktop .btn-primary{
    background:#0f6cbd;
    color:#ffffff;
  }

  body.ggl-device-desktop .btn-primary:hover{
    background:#115ea3;
  }

  body.ggl-device-desktop .input,
  body.ggl-device-desktop .textarea,
  body.ggl-device-desktop select{
    border-radius:5px;
  }

  body.ggl-device-desktop .control-tabs{
    border:1px solid #e1dfdd;
    border-radius:7px;
    background:#faf9f8;
  }

  body.ggl-device-desktop .control-tabs button{
    border-radius:5px;
  }

  body.ggl-device-desktop .control-tabs button.active{
    color:#0f548c;
    background:#ffffff;
    box-shadow:0 1px 4px rgba(0,0,0,.1);
  }

  body.ggl-device-desktop .data-meta > div{
    border-radius:5px;
    background:#f3f2f1;
  }

  body.ggl-device-desktop table{
    width:100%;
    border-collapse:collapse;
  }

  body.ggl-device-desktop th{
    padding:11px 13px;
    border-bottom:1px solid #d2d0ce;
    background:#faf9f8;
    color:#323130;
    font-size:12px;
    text-align:left;
  }

  body.ggl-device-desktop td{
    padding:13px;
    border-bottom:1px solid #edebe9;
  }

  body.ggl-device-desktop tbody tr:hover{
    background:#faf9f8;
  }

  body.ggl-device-desktop .modal-backdrop{
    align-items:center;
    padding:36px;
  }

  body.ggl-device-desktop .modal{
    width:min(840px,100%);
    border-radius:10px;
  }

  body.ggl-device-desktop .toast{
    bottom:30px;
  }

  body.ggl-device-desktop.gg-dark,
  body.ggl-device-desktop.ggl-dark-theme{
    background:#1b1a19;
    color:#f3f2f1;
  }

  body.ggl-device-desktop.gg-dark .ggl-common-topbar,
  body.ggl-device-desktop.gg-dark .drawer,
  body.ggl-device-desktop.gg-dark .card,
  body.ggl-device-desktop.gg-dark .data-card,
  body.ggl-device-desktop.gg-dark .workspace-card,
  body.ggl-device-desktop.gg-dark .control-card,
  body.ggl-device-desktop.gg-dark .stat,
  body.ggl-device-desktop.gg-dark .hero,
  body.ggl-device-desktop.gg-dark .ggl-device-commandbar{
    border-color:#3b3a39;
    background:#252423;
    color:#f3f2f1;
  }
}

/* GGL_DESKTOP_SIDEBAR_OFFSET_FIX_START */

@media (min-width:1440px){

  body.ggl-device-desktop{
    --ggl-desktop-sidebar:288px;
    --ggl-desktop-sidebar-collapsed:72px;
  }

  body.ggl-device-desktop .app-frame{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  body.ggl-device-desktop .drawer{
    left:0 !important;
    right:auto !important;
    width:var(--ggl-desktop-sidebar) !important;
    min-width:var(--ggl-desktop-sidebar) !important;
    max-width:var(--ggl-desktop-sidebar) !important;
    margin:0 !important;
    transform:translateX(0) !important;
    box-sizing:border-box !important;
  }

  body.ggl-device-desktop .drawer-profile,
  body.ggl-device-desktop .drawer-scroll{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  body.ggl-device-desktop .ggl-common-topbar{
    left:var(--ggl-desktop-sidebar) !important;
    right:0 !important;
    width:calc(
      100%
      - var(--ggl-desktop-sidebar)
    ) !important;
    max-width:none !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  body.ggl-device-desktop .main{
    width:calc(
      100%
      - var(--ggl-desktop-sidebar)
    ) !important;
    max-width:none !important;
    margin-top:0 !important;
    margin-right:0 !important;
    margin-bottom:0 !important;
    margin-left:
      var(--ggl-desktop-sidebar) !important;
    box-sizing:border-box !important;
  }

  body.ggl-device-desktop
  .main > .ggl-device-member-dashboard{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .drawer{
    width:
      var(--ggl-desktop-sidebar-collapsed) !important;
    min-width:
      var(--ggl-desktop-sidebar-collapsed) !important;
    max-width:
      var(--ggl-desktop-sidebar-collapsed) !important;
  }

  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .ggl-common-topbar{
    left:
      var(--ggl-desktop-sidebar-collapsed) !important;
    width:calc(
      100%
      - var(--ggl-desktop-sidebar-collapsed)
    ) !important;
  }

  body.ggl-device-desktop.ggl-desktop-nav-collapsed
  .main{
    width:calc(
      100%
      - var(--ggl-desktop-sidebar-collapsed)
    ) !important;
    margin-left:
      var(--ggl-desktop-sidebar-collapsed) !important;
  }
}

/* GGL_DESKTOP_SIDEBAR_OFFSET_FIX_END */
