/* Shared OA workspace materials. Feature styles retain layout and state. */
@media screen {
  html body.oa-compact-center #portal-shell {
    background:radial-gradient(ellipse at 0 8%,#c3d9ef,#e8f1fb 53%,#e0edf9);
  }

  html body.oa-compact-center #portal-shell #portal-sidebar {
    color:#eef7ff;
    color-scheme:dark;
    background:linear-gradient(150deg,#4879a6eb,#193d61f2 43%,#234f76eb)!important;
    border:1px solid #b8d6f2c9!important;
    box-shadow:inset 0 1px 2px #e6f4ff9c,inset 1px 0 #d4e9ff4a,0 14px 32px #18385438;
    backdrop-filter:blur(18px) saturate(120%)!important;
    -webkit-backdrop-filter:blur(18px) saturate(120%)!important;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar :is(.brand-copy strong,.brand-copy small,.topbar-heading,#portal-user,#portal-logout,#portal-logout span,.nav-label,.sidebar-note) {
    color:#e7f2fd!important;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar .nav-item {
    color:#f2f8ff!important;
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar .nav-item :is(.nav-copy,.nav-copy span,.nav-symbol) {
    color:#f2f8ff!important;
    -webkit-text-fill-color:currentColor;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar .brand-logo-frame {
    border-radius:10px;
    background:#dbeeff;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar .nav-item:is(.current,.shell-current,:hover,:focus-visible) {
    background:linear-gradient(165deg,#b6dcff42,#8abbeb27)!important;
    border-color:#b7d9f66b!important;
    box-shadow:inset 0 1px #dcefff42!important;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar #portal-language-row :is(button[data-language],#sidebar-rail-toggle) {
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    background:#284866!important;
    border:1px solid #8cb1d3!important;
    box-shadow:none!important;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar #portal-language-row .rail-toggle-icon {
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar #portal-language-row button[data-language]::after {
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar #portal-language-row #portal-language-host button[data-language][aria-pressed="true"] {
    background:#28608e!important;
    border-color:#bfdfff!important;
    box-shadow:inset 0 0 0 1px #bfdfff!important;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar #portal-language-row :is(button[data-language]:not([aria-pressed="true"]),#sidebar-rail-toggle):hover {
    background:#355d7f!important;
    border-color:#bfdfff!important;
  }

  html body.oa-compact-center #portal-shell #portal-sidebar #portal-language-row :is(button[data-language],#sidebar-rail-toggle):focus-visible {
    outline:2px solid #fff!important;
    outline-offset:2px;
  }
  html body.oa-compact-center #portal-sidebar .nav-label {
    color:#e5f2ff!important;
    font-size:.84rem;
    letter-spacing:.07em;
  }

  html body.oa-compact-center #oa-hr-home {
    background:
      linear-gradient(160deg,#e7f3ffe6,#dfedf9ec),
      url('/assets/oa-notification-mountain-lake.webp') center / cover no-repeat;
    background-blend-mode:normal,luminosity;
    border-color:#bad2e8;
    border-radius:18px;
  }

  html body.oa-compact-center #oa-hr-home .oa-hr-home-card {
    background:linear-gradient(145deg,#ffffffd9,#dbeeffaa);
    border-color:#d9ecff;
    border-radius:18px;
    box-shadow:inset 0 1px #fff,0 10px 28px #1e426b1c;
  }

  html body.oa-compact-center #portal-systems:not([hidden]) {
    background:linear-gradient(150deg,#f6fbfff5,#e0eefbea)!important;
    border-color:#bcd3e7!important;
  }

  html body.oa-compact-center #portal-systems .systems-row {
    background:linear-gradient(150deg,#ffffffdc,#edf6ffc9)!important;
    border-color:#c4d9ed!important;
  }

  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page) {
    --oa-workspace-sky:linear-gradient(150deg,#f2f8fef5,#d9e9f8e8 56%,#eaf3fbfc),url('/assets/oa-notification-mountain-lake.webp') center 34% / cover no-repeat;
    --oa-workspace-card:linear-gradient(145deg,#ffffffec,#eff7ffdb);
    --oa-workspace-dialog:linear-gradient(145deg,#f7fbff,#e0eefb);
    --oa-workspace-dialog-bar:#e6f1fb;
    --oa-workspace-line:#bbd2e7;
    --oa-workspace-ink:#16354f;
    background:#e9f2fb!important;
    color:var(--oa-workspace-ink);
  }

  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page) :is(
    main.main,main.shell,main.work-main,main.contact-main,main.contract-page,
    main#energy-app,main#housing-app,main#general-stage,.layout > main,body > main
  ) {
    background:var(--oa-workspace-sky) !important;
    background-blend-mode:normal,luminosity;
  }

  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page) :is(
    main > header,.work-topbar,.contact-topbar,.forms-header,
    .panel-head,.section-head,.dialog-head,.modal-header
  ):not(.contact-paper-brand,.vehicle-paper-header) {
    background:linear-gradient(120deg,#f2f8ffeb,#d7e8f8cf)!important;
    border-color:var(--oa-workspace-line)!important;
  }

  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page) :is(
    .panel,.work-panel,.card,.workspace-card,.oa-home-card,.contact-home-panel,
    .filter-panel,.table-wrap,.modal-card,dialog
  ):not([data-oa-tab-ghost]) {
    background:var(--oa-workspace-card)!important;
    border-color:var(--oa-workspace-line)!important;
  }

  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page) :is(
    dialog,.modal-card,
    :is([role="dialog"],#contact-create-overlay) > :is(.modal,.work-modal,.contact-create-modal),
    #vehicle-confirm > .panel,
    #manager-transport-app .transport-ticket-modal
  ) {
    background:var(--oa-workspace-dialog)!important;
    border-color:var(--oa-workspace-line)!important;
    box-shadow:inset 0 1px #fff,0 24px 60px #122e5440!important;
  }

  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page)
  :is(dialog,[role="dialog"],#contact-create-overlay,#manager-transport-app .transport-ticket-modal)
  :is(.modal-head,.dialog-head,.modal-header,.modal-actions,.dialog-footer,.transport-actions,.contact-create-toolbar) {
    background:var(--oa-workspace-dialog-bar)!important;
    border-color:var(--oa-workspace-line)!important;
  }

  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page) table thead th {
    background-color:#e0edf9;
  }

  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page) :is(input:not([type="checkbox"],[type="radio"],[type="range"]),select,textarea):focus-visible {
    outline:2px solid #3376aa;
    outline-offset:1px;
  }

  html body.oa-dock-standard:is(.oa-compact-center,.oa-blue-glass-page:not(.ann-style,.daily-dock-page))
  :is(#leave-workspace-dock,#leave-query-dock,#manager-ticket-dock,#contact-workspace-dock,#vehicle-workspace-dock,#gate-workspace-dock,#contract-workspace-dock,#energy-workspace-dock,#housing-workspace-dock,#dining-workspace-dock,#welfare-workspace-dock,#general-affairs-dock,#forms-workspace-dock):not([hidden]) {
    background:var(--oa-workspace-dock-fill,linear-gradient(155deg,#f1f8ffdb,#b9d3ecd4))!important;
    border-color:#dbeeff!important;
    box-shadow:inset 0 1px #fff,0 7px 22px #193e612e!important;
    backdrop-filter:var(--oa-workspace-dock-filter,blur(16px) saturate(125%))!important;
    -webkit-backdrop-filter:var(--oa-workspace-dock-filter,blur(16px) saturate(125%))!important;
  }
}

@media screen and (max-width:760px) {
  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page) {
    --oa-workspace-sky:linear-gradient(165deg,#dfedfaf0,#edf5fcee 340px,#f0f6fc 630px),url('/assets/oa-notification-mountain-lake.webp') center top / auto 360px no-repeat;
    --oa-workspace-card:linear-gradient(145deg,#f9fcff,#e7f1fb);
  }

  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page) dialog:not(.announcement-preview-dialog) {
    max-inline-size:calc(100% - 16px)!important;
    max-block-size:calc(100dvh - 16px)!important;
    box-sizing:border-box;
  }

  /* Hidden desktop tooltips can extend the document width on narrow HR pages. */
  html body.oa-blue-glass-page.oa-hr-theme .toolbar :is(.hr-leave-tool,.annual-tool)[data-tooltip]::after {
    content:none;
  }

  html body.oa-blue-glass-page:has(#welfare-workspace-dock) main.main {
    max-width:100%;
    margin-inline:0;
    padding-inline:12px;
  }
}

@media screen and (prefers-reduced-transparency:reduce) {
  html body.oa-compact-center #portal-shell #portal-sidebar {
    background:#1e4062!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  html body.oa-blue-glass-page:not(.ann-style,.daily-dock-page) {
    --oa-workspace-card:#f3f8fd;
    --oa-workspace-dialog:#f1f7fd;
    --oa-workspace-sky:#e7f1fb;
  }

  html body.oa-dock-standard {
    --oa-workspace-dock-fill:#dceafa;
    --oa-workspace-dock-filter:none;
  }

  html body.oa-compact-center #oa-hr-home,
  html body.oa-compact-center #oa-hr-home .oa-hr-home-card {
    background:#e7f1fb;
  }
}

/* Landing pages use the same spacing and surfaces; task views keep their own layouts. */
@media screen {
  html body {
    --oa-home-width:1280px;
    --oa-home-space:clamp(18px,3.6vh,36px);
    --oa-home-title-size:36px;
    --oa-home-title-ink:#102d51;
    --oa-home-tile-line:#f7fcffbd;
    --oa-home-tile-shadow:inset 0 1px #fff9,0 2px 5px #133c6712,0 9px 22px #133c671d;
    --oa-home-tile-glass:blur(16px) saturate(140%);
    --oa-home-tile:linear-gradient(155deg,#f7fcffb8,color-mix(in srgb,var(--nc-tint,var(--home-tint,#e4f1fb)) 57%,transparent));
    --oa-home-action-height:clamp(102px,17vh,142px);
    --oa-home-background:
      linear-gradient(110deg,#f0f6fde0,#e5effac2 42%,#dfebf798 100%),
      linear-gradient(0deg,#d5e5f297,transparent 54%),
      url('/assets/oa-notification-mountain-lake.webp') left 47% / max(150%,180vh) auto no-repeat,
      #8daccb;
  }

  html body :is(
    #home-view,#contact-home-view,#vehicle-home-view,#gate-home,#contract-home,
    #energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,
    #forms-home,#oa-hr-home,#announcement-workbench .awb-overview
  ):not([hidden]) {
    box-sizing:border-box;
    min-height:0!important;
    justify-content:start!important;
    align-content:start!important;
    gap:var(--oa-home-space)!important;
    padding:clamp(20px,4vh,44px) clamp(12px,3vw,38px) 28px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body :is(#home-view,#contact-home-view):not([hidden]) {
    grid-template-columns:minmax(0,1fr);
    justify-content:stretch!important;
  }

  html body :is(
    #home-view,#contact-home-view,#vehicle-home-view,#gate-home,#contract-home,
    #energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,
    #forms-home,#oa-hr-home,#announcement-workbench .awb-overview
  ) :is(.oa-home-header,.page-head,.oa-home-grid,.oa-hr-home-cards,.awb-home-grid,.awb-home-title),
  html body :is(#oa-hr-home,#general-affairs-home) > h1 {
    width:min(100%,var(--oa-home-width))!important;
    margin-inline:auto!important;
  }

  html body :is(
    #home-view,#contact-home-view,#vehicle-home-view,#gate-home,#contract-home,
    #energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home
  ) :is(.oa-home-header,.page-head) {
    justify-content:flex-start!important;
    text-align:start!important;
    background:none!important;
  }

  html body :is(.oa-home-header,.onc-home-header,#home-view .page-head) h1,
  html body.contact-consistent #contact-home-view .contact-home-head h1,
  html body :is(#oa-hr-home,#general-affairs-home) > h1,
  html body #announcement-workbench .awb-overview > h1.awb-home-title,
  html body.daily-dock-page main:has(#daily-home:not([hidden])) > header h1 {
    font-size:var(--oa-home-title-size)!important;
    font-weight:750!important;
    line-height:1.15;
    letter-spacing:-.04em;
    color:var(--oa-home-title-ink)!important;
    text-align:start;
    background:none!important;
    padding:0!important;
    margin-block:0!important;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid {
    grid-template-columns:minmax(0,1fr) minmax(0,2.05fr) minmax(0,1fr);
    grid-template-areas:"left lead right";
    min-height:0;
    gap:clamp(24px,3.4vw,64px);
    align-items:center;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid .oa-home-right {
    background:none;
    border:0;
    padding:0;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid :is(.oa-home-lead,.oa-home-side) {
    grid-auto-rows:auto;
    gap:10px;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid :is(.oa-home-lead,.oa-home-side) .oa-home-card:nth-child(n),
  html body.ann-style #announcement-workbench .awb-overview .awb-home-grid button.awb-summary-card,
  html body.daily-dock-page #daily-home button.daily-home-card[data-view],
  html body.oa-compact-center #oa-hr-home .oa-hr-home-card {
    box-sizing:border-box;
    min-height:76px!important;
    border:1px solid var(--oa-home-tile-line)!important;
    border-radius:calc(var(--oa-home-icon-radius) + var(--oa-home-inset))!important;
    background:var(--oa-home-tile)!important;
    box-shadow:var(--oa-home-tile-shadow)!important;
    backdrop-filter:var(--oa-home-tile-glass)!important;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid :is(.oa-home-lead,.oa-home-side) .oa-home-card .oa-home-card-head {
    box-sizing:border-box;
    position:static;
    display:grid;
    flex:1;
    width:100%;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:clamp(6px,1vw,12px)!important;
    padding:var(--oa-home-inset)!important;
    text-align:start!important;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid .oa-home-card .oa-home-card-head strong,
  html body.ann-style #announcement-workbench .awb-overview .awb-summary-head strong,
  html body.daily-dock-page #daily-home button.daily-home-card strong {
    font-size:clamp(14px,1.2vw,18px)!important;
    flex:0 0 auto!important;
    overflow-wrap:anywhere;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid .oa-home-lead .oa-home-card:nth-child(n),
  html body.ann-style #announcement-workbench .awb-overview .awb-home-grid button[data-awb-card="file"],
  html body.daily-dock-page #daily-home button.daily-home-card[data-view] {
    min-height:var(--oa-home-action-height)!important;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid .oa-home-card .oa-home-icon,
  html body.ann-style #announcement-workbench .awb-overview .awb-summary-icon,
  html body.daily-dock-page #daily-home .daily-home-card .daily-home-icon {
    width:36px!important;
    height:36px!important;
    border:1px solid #fff9;
    border-radius:var(--oa-home-icon-radius)!important;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid .oa-home-card :is([class$="-home-count"],.vd-pending),
  html body.ann-style #announcement-workbench .awb-overview .awb-summary-count,
  html body.daily-dock-page #daily-home .daily-home-card .daily-home-pending {
    font-size:clamp(18px,1.7vw,25px)!important;
    line-height:1.1!important;
  }

  html body .oa-home-grid:not(.onc-home-cluster) .oa-home-lead .oa-home-card-head {
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"icon count" "label label";
  }

  .oa-home-lead:not(.onc-home-lead) .oa-home-card-head .oa-home-icon { grid-area:icon; }
  .oa-home-lead:not(.onc-home-lead) .oa-home-card-head strong { grid-area:label; }
  html body .oa-home-grid .oa-home-lead:not(.onc-home-lead) .oa-home-card .oa-home-card-head :is([class$="-home-count"],.vd-pending) {
    grid-area:count;
    justify-self:end;
    font-size:clamp(28px,3vw,48px)!important;
  }

  html body :is(#home-view,#contact-home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid .oa-home-arrow {
    display:none;
  }

  html body :is(.oa-home-grid,.awb-home-grid,#daily-home,.oa-hr-home-cards) :is(.oa-home-card,.awb-summary-card,.daily-home-card,.oa-hr-home-card):focus-visible {
    outline:2px solid #25699f;
    outline-offset:3px;
  }

  html body.ann-style #announcement-workbench .awb-overview {
    container-type:inline-size;
    grid-template-columns:minmax(0,1fr);
  }

  html body.ann-style #announcement-workbench .awb-overview .awb-home-grid {
    align-items:center;
    gap:var(--oa-home-space);
  }

  html body.ann-style #announcement-workbench .awb-overview .awb-home-grid .awb-summary-head {
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:8px;
    text-align:start;
  }

  html body.ann-style #announcement-workbench .awb-overview [data-awb-card="file"] .awb-summary-head {
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"icon count" "label label";
  }

  .awb-overview [data-awb-card="file"] .awb-summary-icon { grid-area:icon; }
  .awb-overview [data-awb-card="file"] strong { grid-area:label; }
  .awb-overview [data-awb-card="file"] .awb-summary-count { grid-area:count; }

  html body.daily-dock-page main:has(#daily-home:not([hidden])) > header {
    box-sizing:border-box;
    width:min(100%,var(--oa-home-width));
    margin-inline:auto;
  }

  html body.daily-dock-page #daily-home:not([hidden]) {
    flex:none;
    align-items:start;
    justify-items:start;
    width:min(100%,var(--oa-home-width));
    margin-inline:auto;
  }

  html body.daily-dock-page #daily-home button.daily-home-card[data-view] {
    width:min(100%,460px);
    justify-self:center;
    padding:12px;
    gap:6px;
  }

  html body.oa-compact-center #portal-sidebar .oa-workspace-trail strong {
    color:#e1effe!important;
  }
}

/* The HR landing panel fills the shell like an embedded workspace. */
@media screen {
  html body.oa-compact-center #oa-hr-home:not([hidden]) {
    min-height:var(--oa-workspace-height,calc(100dvh - 32px))!important;
    background:var(--oa-home-background)!important;
    background-blend-mode:normal,normal,luminosity;
  }
}

@media screen and (min-width:761px) {
  html body :is(#home-view,#contact-home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home,#oa-hr-home,#announcement-workbench .awb-overview):not([hidden]) {
    padding:clamp(50px,14vh,115px) clamp(16px,4vw,64px) 32px!important;
    gap:clamp(28px,9vh,72px)!important;
  }

  html body :is(main,.contact-main,.work-main):has(:is(#home-view.active,#contact-home-view.active,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home,#daily-home):not([hidden],.hidden)),
  html body.ann-style #announcement-workbench:has(.awb-overview:not([hidden])) {
    background:var(--oa-home-background)!important;
    background-blend-mode:normal,normal,luminosity;
  }
}

@media screen and (min-width:1180px) {
  html body.oa-blue-glass-page .oa-home-grid .oa-home-lead > .oa-home-card:only-child {
    width:calc(50% - 8px)!important;
    justify-self:center;
  }
}

@media screen and (prefers-reduced-transparency:reduce) {
  html body {
    --oa-home-tile:#f4f9fd;
    --oa-home-tile-glass:none;
  }
}

@media screen and (max-width:760px) {
  html body { --oa-home-title-size:22px; --oa-home-action-height:86px; }
  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-areas:"lead lead" "left right";
    gap:8px;
    align-items:start;
  }

  html body.ann-style #announcement-workbench .awb-overview .awb-home-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-areas:"file file" "text dept";
  }

  html body.oa-compact-center #oa-hr-home .oa-hr-home-cards {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media screen and (max-width:600px) {
  html body { --oa-home-action-height:66px; }

  .oa-home-grid:not(.onc-home-cluster) {
    --oa-home-icon-radius:8px;
    --oa-home-inset:8px;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid :is(.oa-home-lead,.oa-home-side) .oa-home-card:nth-child(n) {
    min-height:66px!important;
    border-radius:calc(var(--oa-home-icon-radius) + var(--oa-home-inset))!important;
    box-shadow:var(--oa-home-soft-shadow)!important;
  }

  html body :is(#contact-home-view,#home-view,#vehicle-home-view,#gate-home,#contract-home,#energy-home,#housing-home,#dining-home,#welfare-home,#general-affairs-home,#forms-home) .oa-home-grid .oa-home-card .oa-home-icon {
    width:30px!important;
    height:30px!important;
    border-radius:8px!important;
  }

  html body .oa-home-grid:not(.onc-home-cluster) .oa-home-lead .oa-home-card-head {
    grid-template-columns:30px minmax(0,1fr);
    grid-template-areas:"icon label" "icon count";
    padding:8px!important;
    row-gap:3px!important;
  }

  html body .oa-home-grid .oa-home-lead:not(.onc-home-lead) .oa-home-card .oa-home-card-head :is([class$="-home-count"],.vd-pending) {
    justify-self:start;
    font-size:20px!important;
  }
}
