/* Menu refinements based on the current live web interface. Screen only. */
@media screen {
  body#oys-jakarta #root .main :is(.page-head,.pricing-hero,.parity-head,.milk-catalog-heading,.profit-modern-heading,.smooth-subscription-heading) {
    gap:20px;
    min-width:0;
  }
  body#oys-jakarta #root .main :is(.milk-catalog-heading,.profit-modern-heading,.smooth-subscription-heading) {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    padding:24px!important;
    margin:0 0 22px!important;
    border:1px solid #e4e7f3!important;
    border-radius:22px!important;
    background:linear-gradient(115deg,#fff 12%,#f6f4ff 76%,#effbf6)!important;
    box-shadow:0 4px 18px #4f46e506!important;
  }
  body#oys-jakarta #root .main :is(.milk-catalog-heading,.profit-modern-heading,.smooth-subscription-heading) :is(h1,h2) {
    margin:0 0 6px!important;
    font-size:clamp(22px,1.9vw,28px)!important;
    color:#172033!important;
    line-height:1.35!important;
    font-weight:800!important;
  }
  body#oys-jakarta #root .main :is(.milk-catalog-heading,.profit-modern-heading,.smooth-subscription-heading) p {
    margin:5px 0 0!important;
    color:#64748b!important;
    font-size:13px!important;
    line-height:1.7!important;
  }
  body#oys-jakarta #root .main :is(.page-head,.parity-head,.milk-catalog-heading,.smooth-subscription-heading)>.actions {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    min-width:0;
  }
  body#oys-jakarta #root .main :is(.page-head,.parity-head,.milk-catalog-heading,.smooth-subscription-heading) .btn {
    min-height:42px;
    border-radius:12px!important;
    gap:8px;
  }
  body#oys-jakarta #root .profit-modern-page-icon {
    display:grid!important;
    place-items:center;
    width:48px!important;
    height:48px!important;
    flex:0 0 48px;
    background:linear-gradient(135deg,#8170ff,#4f46e5)!important;
    color:#fff!important;
    border-radius:14px!important;
    box-shadow:0 4px 12px #4f46e51a;
  }
  body#oys-jakarta #root .profit-modern-page-icon>.wz-screen-icon {
    color:#fff!important;
    font-size:23px!important;
    width:26px!important;
    height:26px!important;
  }

  /* Use the available width for menu choices; editors remain readable. */
  body#oys-jakarta #root .smooth-settings-workspace {
    width:100%;
    max-width:none!important;
    min-height:0;
    padding:24px!important;
    border:1px solid #e7eaf3;
    border-radius:22px;
    box-shadow:0 4px 20px #17255404;
  }
  body#oys-jakarta #root .smooth-settings-workspace .smooth-settings-header {
    margin-bottom:20px;
    padding:22px!important;
  }
  body#oys-jakarta #root .smooth-settings-header>button {
    width:40px;
    height:40px;
    flex:0 0 40px;
    background:#fff!important;
    border:1px solid #e4e7f3;
    border-radius:12px;
    color:#4f46e5!important;
  }
  body#oys-jakarta #root .smooth-settings-workspace[data-item=""]>.smooth-settings-card {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    border:0;
    border-radius:0;
    background:transparent;
    overflow:visible;
  }
  body#oys-jakarta #root .smooth-settings-workspace[data-item=""]>.smooth-settings-card>.smooth-setting-row {
    min-width:0;
    min-height:100px;
    padding:20px!important;
    gap:14px;
    border:1px solid #e5e9f2!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 3px 14px #33415504!important;
    transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease;
  }
  body#oys-jakarta #root .smooth-settings-workspace .smooth-setting-row+.smooth-setting-row::before {
    content:none;
  }
  body#oys-jakarta #root .smooth-settings-workspace .smooth-setting-row:hover {
    border-color:#c7c2f5!important;
    background:#faf9ff!important;
    box-shadow:0 5px 16px #4f46e509!important;
  }
  body#oys-jakarta #root .smooth-settings-workspace .smooth-setting-row:focus-visible {
    outline:3px solid #c7d2fe;
    outline-offset:2px;
  }
  body#oys-jakarta #root .smooth-setting-words strong {
    font-size:14px!important;
    font-weight:750!important;
    line-height:1.5;
  }
  body#oys-jakarta #root .smooth-setting-words small {
    font-size:12px!important;
    line-height:1.65;
  }
  body#oys-jakarta #root .smooth-setting-count {
    color:#625aab;
    background:#f2f0ff;
    padding:5px 8px;
    border-radius:8px;
    font-size:10px;
    font-weight:700;
  }
  body#oys-jakarta #root .smooth-setting-arrow>.wz-screen-icon {
    width:14px;
    height:18px;
    flex-basis:14px;
    font-size:12px!important;
    color:#8b96aa!important;
  }
  body#oys-jakarta #root .smooth-settings-workspace :is(.smooth-settings-editor,.smooth-settings-information) {
    max-width:980px;
    margin-inline:auto;
  }
  body#oys-jakarta #root .smooth-settings-empty {grid-column:1/-1;}
  body#oys-jakarta #root .smooth-subscription {
    width:100%;
    max-width:none!important;
  }
  body#oys-jakarta #root .smooth-subscription .smooth-plan-hero {
    background:linear-gradient(120deg,#4f46e5,#7863e9)!important;
  }
  body#oys-jakarta #root .smooth-subscription .smooth-plan-hero .smooth-days {
    color:#4f46e5!important;
  }

  /* The converted Font Awesome icon stays inside its search control. */
  body#oys-jakarta #root .main :is(.toolbar>.search,.parity-search,.activation-search,.smooth-settings-search,.support-search) {
    display:flex!important;
    align-items:center;
    gap:10px;
    min-width:0;
    min-height:46px;
    padding:0 14px!important;
    border:1px solid #dfe4ef!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  body#oys-jakarta #root .main :is(.toolbar>.search,.parity-search,.activation-search,.smooth-settings-search,.support-search)>.wz-screen-icon {
    position:static!important;
    display:inline-flex!important;
    flex:0 0 18px;
    width:18px;
    height:20px;
    margin:0!important;
    transform:none!important;
    color:#7b86a1!important;
    font-size:16px!important;
    pointer-events:none;
  }
  body#oys-jakarta #root .main :is(.toolbar>.search,.parity-search,.activation-search,.smooth-settings-search,.support-search)>input {
    flex:1 1 auto;
    min-width:0;
    width:100%;
    min-height:44px!important;
    margin:0!important;
    padding:10px 0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    outline:none!important;
    color:#243047!important;
    font:600 13px/1.5 var(--wa-font)!important;
  }
  body#oys-jakarta #root .main :is(.toolbar>.search,.parity-search,.activation-search,.smooth-settings-search,.support-search):focus-within {
    border-color:#8b83ee!important;
    box-shadow:0 0 0 3px #4f46e50b!important;
  }
  body#oys-jakarta #root .main :is(.toolbar>.search,.parity-search,.activation-search,.smooth-settings-search,.support-search)>input::placeholder {
    color:#8893a8;
    opacity:1;
    font-weight:500;
  }

  /* Explicit icon wells retain contrast after the shared icon replacement. */
  body#oys-jakarta #root :is(.smooth-setting-icon,.ms-stat-icon,.ms-store-icon,.reminder-section-title>span)>.wz-screen-icon {
    width:24px;
    height:26px;
    flex-basis:24px;
    font-size:22px!important;
  }
  body#oys-jakarta #root .pro-reminder-page .reminder-hero-icon {
    display:grid!important;
    place-items:center;
    width:64px!important;
    height:64px!important;
    flex:0 0 64px;
    padding:0!important;
    border:1px solid #ffffff38!important;
    border-radius:18px!important;
    background:linear-gradient(140deg,#8570f8,#4f46e5)!important;
    color:#fff!important;
    box-shadow:0 6px 18px #4f46e520!important;
  }
  body#oys-jakarta #root .pro-reminder-page .reminder-hero-icon>.wz-screen-icon {
    width:30px;
    height:32px;
    font-size:28px!important;
    color:#fff!important;
  }
  body#oys-jakarta #root .support-chat .support-heading {
    padding:24px!important;
    background:linear-gradient(115deg,#fff,#f7f5ff 76%,#effbf6)!important;
  }
  body#oys-jakarta #root .support-empty>.wz-screen-icon,
  body#oys-jakarta #root .main .data-table .empty>.wz-screen-icon {
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:60px!important;
    height:60px!important;
    flex:0 0 60px;
    margin:0 auto 14px!important;
    padding:0!important;
    border:1px solid #e4e4fb;
    border-radius:18px;
    background:linear-gradient(145deg,#f5f3ff,#eaeaff)!important;
    color:#6558da!important;
    font-size:27px!important;
  }
  body#oys-jakarta #root .support-empty h3,
  body#oys-jakarta #root .main .data-table .empty h4 {
    margin:0 0 8px!important;
    color:#243047!important;
    font-size:16px!important;
    font-weight:750!important;
  }

  /* Keep destructive and primary table actions visually separated. */
  body#oys-jakarta #root .main .data-table td>.btn {
    min-height:36px;
    margin-block:3px;
    vertical-align:middle;
  }
  body#oys-jakarta #root .main .data-table td>.btn+.btn {margin-inline-start:6px;}
  body#oys-jakarta #root .main .data-table td>.actions {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
  }
  body#oys-jakarta #root .branch-card {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    min-width:0;
    padding:24px!important;
  }
  body#oys-jakarta #root .branch-card h3 {
    margin:16px 0 8px;
    color:#1e293b;
    font-size:18px;
    overflow-wrap:anywhere;
  }
  body#oys-jakarta #root .branch-card>.sub {
    flex:1;
    margin:0 0 18px;
    font-size:12px;
    line-height:1.7;
    overflow-wrap:anywhere;
  }
  body#oys-jakarta #root .branch-card>.actions {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    width:100%;
    gap:9px;
    padding-top:16px;
    margin-top:auto;
    border-top:1px solid #edf0f6;
  }
  body#oys-jakarta #root .branch-card>.actions>.btn {
    min-height:38px;
    min-width:38px;
    padding:9px 12px;
    border-radius:10px!important;
    font-size:11px;
    line-height:1.4;
  }
  body#oys-jakarta #root .branch-card>.actions>.badge {
    margin:0 auto 0 0;
    max-width:100%;
    white-space:normal;
    line-height:1.5;
  }

  @media(min-width:1100px) {
    body#oys-jakarta #root .smooth-settings-workspace[data-item=""]>.smooth-settings-card {
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
  }
  @media(max-width:760px) {
    body#oys-jakarta #root .main :is(.milk-catalog-heading,.profit-modern-heading,.smooth-subscription-heading) {
      padding:20px 16px!important;
      align-items:flex-start;
      border-radius:18px!important;
    }
    body#oys-jakarta #root .smooth-settings-workspace {padding:16px!important;}
    body#oys-jakarta #root .smooth-settings-workspace .smooth-settings-header {
      padding:18px 14px!important;
      gap:10px;
    }
    body#oys-jakarta #root .smooth-settings-workspace[data-item=""]>.smooth-settings-card>.smooth-setting-row {
      min-height:88px;
      padding:16px 13px!important;
      gap:10px;
    }
    body#oys-jakarta #root .smooth-setting-count {font-size:9px;padding:4px 6px;}
    body#oys-jakarta #root .smooth-setting-words strong {font-size:13px!important;}
    body#oys-jakarta #root .smooth-setting-words small {font-size:11px!important;}
    body#oys-jakarta #root .main :is(.milk-catalog-heading,.smooth-subscription-heading)>.actions {width:100%;}
    body#oys-jakarta #root .main :is(.milk-catalog-heading,.smooth-subscription-heading)>.actions>.btn {
      flex:1 1 140px;
      justify-content:center;
    }
    body#oys-jakarta #root .branch-card {padding:20px!important;}
    body#oys-jakarta #root .branch-card>.actions>.badge {flex-basis:100%;margin-bottom:2px;}
  }
  @media(prefers-reduced-motion:reduce) {
    body#oys-jakarta #root .smooth-settings-workspace .smooth-setting-row {transition:none;}
  }
}
