/* NAKIMA V25.0.2 — agenda visual refinement only.
   Loaded after the V25.0.1 agenda stylesheet. No behavior changes. */
@media (max-width:700px){
  body.nk25-agenda-active .content{
    padding-left:14px!important;
    padding-right:14px!important;
    padding-bottom:calc(104px + env(safe-area-inset-bottom))!important;
  }

  .nk25-agenda-root{
    margin:0;
    color:#171217;
    font-size:15px;
  }

  .nk25-agenda-head{
    padding:2px 0 14px;
  }

  .nk25-date-nav{
    grid-template-columns:48px minmax(0,1fr) 48px;
    gap:10px;
    margin-bottom:14px;
  }
  .nk25-date-nav>button{
    width:48px;
    height:48px;
    border-radius:15px;
    font-size:31px;
    border-color:#eee7eb;
    box-shadow:0 1px 3px rgba(35,24,31,.03);
    touch-action:manipulation;
  }
  .nk25-date-nav>div{text-align:center}
  .nk25-date-nav span{display:none}
  .nk25-date-nav h2{
    margin:0;
    font-size:17px;
    line-height:1.25;
    font-weight:850;
    letter-spacing:-.01em;
  }

  .nk25-view-tabs{
    gap:5px;
    padding:4px;
    margin-bottom:12px;
    border-radius:15px;
    background:#f7f4f6;
  }
  .nk25-view-tabs button{
    min-height:46px;
    border-radius:12px;
    font-size:14px;
    font-weight:850;
    touch-action:manipulation;
  }

  .nk25-filter-row{
    gap:10px;
    margin-bottom:4px;
  }
  .nk25-filter-row label>span{
    margin-bottom:2px;
    font-size:11px;
    color:#7f7078;
  }
  .nk25-filter-row select{
    height:48px!important;
    padding-left:12px!important;
    border-radius:14px!important;
    font-size:14px!important;
    font-weight:700!important;
    touch-action:manipulation;
  }

  .nk25-loading,.nk25-empty{
    padding:30px 18px;
    border-radius:18px;
    font-size:14px;
    line-height:1.45;
  }

  .nk25-day-view{padding-top:8px}
  .nk25-timeline{margin-top:9px;min-height:720px}
  .nk25-hours{width:50px}
  .nk25-hours span{
    transform:translateY(-9px);
    color:#766a71;
    font-size:12px;
    font-weight:750;
  }
  .nk25-grid{
    left:54px;
    border-left-color:#ece5e9;
  }
  .nk25-grid>i{background:#eee8eb}

  .nk25-appt{
    grid-template-columns:38px minmax(0,1fr);
    gap:9px;
    padding:8px 10px;
    border-left-width:4px;
    border-radius:13px;
    box-shadow:0 3px 12px rgba(48,31,41,.05);
    touch-action:manipulation;
  }
  .nk25-appt .nk25-avatar,
  .nk25-list-card .nk25-avatar{
    width:36px;
    height:36px;
    font-size:12px;
  }
  .nk25-appt-copy b{
    font-size:14px;
    line-height:1.2;
    font-weight:850;
  }
  .nk25-appt-copy small{
    margin-top:3px;
    font-size:12px;
    line-height:1.25;
    color:#50454b;
  }
  .nk25-appt-copy em{
    margin-top:4px;
    font-size:10.5px;
    line-height:1.25;
    color:#7c6e76;
  }

  .nk25-week-strip{
    gap:5px;
    margin:8px 0 16px;
  }
  .nk25-week-strip button{
    height:66px;
    border-radius:14px;
    touch-action:manipulation;
  }
  .nk25-week-strip span{font-size:10px}
  .nk25-week-strip b{font-size:17px}
  .nk25-week-strip i{
    right:5px;
    top:5px;
    min-width:18px;
    height:18px;
    font-size:9px;
  }
  .nk25-week-list{gap:20px}
  .nk25-week-day h3{
    margin:0 2px 9px;
    font-size:15px;
  }
  .nk25-week-day h3 span{
    min-width:27px;
    height:27px;
    border-radius:14px;
    font-size:11px;
  }
  .nk25-week-day>p{
    padding:13px 14px;
    font-size:13px;
  }

  .nk25-list-card{
    grid-template-columns:50px 38px minmax(0,1fr) auto;
    gap:10px;
    min-height:74px;
    margin:8px 0;
    padding:9px 11px;
    border-radius:15px;
    touch-action:manipulation;
  }
  .nk25-list-time{font-size:12px}
  .nk25-list-copy b{font-size:14px}
  .nk25-list-copy small{font-size:12px;margin-top:3px}
  .nk25-list-copy em{font-size:10.5px;margin-top:3px}
  .nk25-status{
    max-width:76px;
    padding:6px 8px;
    border-radius:10px;
    font-size:9.5px;
  }

  .nk25-weekdays{margin-top:10px;margin-bottom:3px}
  .nk25-weekdays span{font-size:11px}
  .nk25-month-grid{gap:5px;margin-top:8px}
  .nk25-month-grid>button,.nk25-month-empty{
    height:66px;
    border-radius:12px;
  }
  .nk25-month-grid>button{
    padding:8px 6px;
    touch-action:manipulation;
  }
  .nk25-month-grid>button b{font-size:13px}
  .nk25-month-grid>button>span{
    right:5px;
    top:5px;
    min-width:18px;
    height:18px;
    border-radius:9px;
    font-size:9px;
  }
  .nk25-month-summary{
    margin:16px 0 2px;
    padding:15px 16px;
    border-radius:16px;
  }
  .nk25-month-summary b{font-size:26px}
  .nk25-month-summary span{font-size:13px}

  .nk25-new{
    right:18px;
    bottom:calc(84px + env(safe-area-inset-bottom));
    width:60px;
    height:60px;
    font-size:33px;
    box-shadow:0 11px 30px rgba(255,57,120,.36);
    touch-action:manipulation;
  }
}
