.partivo-mini-form{
margin:10px 0 0; padding:14px;
border:1px solid #e9e9e9; border-radius:10px; background:#fff;
font-size:14px; color:#222; box-shadow:0 2px 10px rgba(0,0,0,.03);
}
.partivo-mini-row{ display:flex; flex-wrap:wrap; gap:10px; align-items:flex-end; }
.partivo-field{ display:flex; flex-direction:column; gap:6px; }
.partivo-field label{ font-weight:700; font-size:12px; color:#333; }
.partivo-field input[type="number"], .partivo-field input[type="text"]{
width:180px; max-width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:8px; background:#fff;
}
.partivo-btn{ display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:8px; border:0; cursor:pointer; font-weight:700; }
.partivo-btn.primary{ background:#2b7cff; color:#fff; }
.partivo-btn.ghost{ background:#f2f4f8; color:#222; }
.partivo-service-modal-backdrop{ position:fixed; inset:0; z-index:2147483646; background:rgba(0,0,0,.35); display:flex; align-items:center; justify-content:center; padding:16px; direction:rtl; }
.partivo-service-modal{ width:420px; max-width:100%; background:#fff; border-radius:16px; box-shadow:0 18px 60px rgba(0,0,0,.28); padding:18px; color:#222; }
.partivo-service-modal h3{ margin:0 0 12px; font-size:17px; font-weight:800; }
.partivo-service-modal .partivo-field{ margin-bottom:10px; }
.partivo-service-checks{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:12px 0; }
.partivo-service-check{ display:flex; align-items:center; gap:8px; padding:9px 10px; border:1px solid #e7eaf0; border-radius:10px; background:#fafbfc; font-weight:600; font-size:13px; cursor:pointer; }
.partivo-service-check input{ margin:0; }
.partivo-service-modal-actions{ display:flex; gap:10px; justify-content:flex-end; margin-top:14px; }
@media (max-width:768px){
  .partivo-service-checks{ grid-template-columns:1fr; }
  .partivo-service-modal-actions .partivo-btn{ flex:1 1 auto; justify-content:center; }
}
.partivo-meta{ margin-top:8px; font-size:12px; color:#666; }
.partivo-services{ margin-top:12px; border-top:1px dashed #e3e6ea; padding-top:10px; }
.partivo-service{ display:flex; justify-content:space-between; align-items:center; padding:8px 0; }
.partivo-service .name{ font-weight:600; }
.partivo-chip{ font-size:12px; border-radius:999px; padding:2px 10px; }
.partivo-chip.ok{ background:#e9f7ef; color:#117a36; }
.partivo-chip.soon{ background:#fff4d6; color:#8a5a00; }
.partivo-chip.over{ background:#ffe5e5; color:#c40000; }
.partivo-note{ font-size:12px; color:#444; margin-inline-start:8px; }
.partivo-service-main{ flex:1; min-width:0; }
.partivo-service-side{ text-align:left; max-width:55%; }
.partivo-service-progress{ height:6px; background:#edf0f4; border-radius:999px; overflow:hidden; margin-top:7px; }
.partivo-service-progress > span{ display:block; height:100%; background:#2b7cff; border-radius:999px; }
.partivo-service-progress.over > span{ background:#c40000; }
.partivo-service-progress.soon > span{ background:#d68a00; }
.partivo-service-next{ display:block; margin-top:4px; font-size:11px; color:#657080; }
.partivo-history{ margin-top:12px; border-top:1px dashed #e3e6ea; padding-top:10px; }
.partivo-history h4{ margin:0 0 8px; font-size:13px; }
.partivo-history-list{ display:grid; gap:6px; }
.partivo-history-item{ padding:8px 10px; border:1px solid #edf0f4; border-radius:9px; background:#fafbfc; font-size:11px; }
.partivo-consent{ display:flex; align-items:flex-start; gap:7px; font-size:11px; line-height:1.7; margin-top:8px; }
.partivo-consent input{ margin-top:4px; }
@media (max-width:768px){
.partivo-field input{ width:100%; }
}
/* تقویم داخلی گاراژ من - بدون وابستگی به CDN یا افزونه‌های دیگر */
.partivo-cal-pop{ position:fixed; z-index:2147483647; width:292px; max-width:calc(100vw - 24px); background:#fff; border:1px solid #dfe3ea; border-radius:14px; box-shadow:0 16px 44px rgba(0,0,0,.22); padding:10px; direction:rtl; font-family:inherit; color:#222; }
.partivo-cal-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.partivo-cal-title{ font-weight:800; font-size:14px; }
.partivo-cal-nav{ border:0; background:#f1f4f8; color:#222; border-radius:9px; width:34px; height:34px; cursor:pointer; font-weight:800; }
.partivo-cal-week, .partivo-cal-days{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.partivo-cal-week span{ text-align:center; font-size:11px; color:#6b7280; padding:5px 0; }
.partivo-cal-day{ border:0; background:#f8fafc; color:#222; min-height:34px; border-radius:9px; cursor:pointer; font-size:13px; }
.partivo-cal-day:hover{ background:#e8f0ff; }
.partivo-cal-day.is-today{ outline:2px solid #2b7cff; }
.partivo-cal-day.is-selected{ background:#2b7cff; color:#fff; font-weight:800; }
.partivo-cal-empty{ min-height:34px; }
.partivo-date{ cursor:pointer; }
/*
 * Overrides to reduce calendar cell size and improve mobile layout.
 * Use minmax(0,1fr) to ensure day cells shrink uniformly and stay within the popup.
 */
.partivo-cal-week, .partivo-cal-days{ grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; }
.partivo-cal-day{ width:100%; min-height:30px; height:30px; display:flex; align-items:center; justify-content:center; padding:0; font-size:12px; }
.partivo-cal-empty{ height:30px; min-height:30px; }
.partivo-cal-week span{ font-size:10px; padding:3px 0; }
@media (max-width:768px){
  /* On narrow screens, stack fields and buttons full width */
  .partivo-mini-row .partivo-btn{ flex:1 1 100%; width:100%; justify-content:center; }
  .partivo-mini-row .partivo-field{ flex:1 1 100%; }
}

.partivo-garage-shortcut-header{
  display:inline-flex; align-items:center; gap:.28rem;
  margin-inline-start:.34rem;
  cursor:pointer; user-select:none; text-decoration:none;
  font-size:14px; line-height:1; color:#000;
  transition:opacity .15s ease;
  white-space:nowrap;
}
.partivo-garage-shortcut-header:hover{ opacity:.7; }
.partivo-garage-shortcut-header .pg-icon{
  width:28px; height:28px; display:inline-block;
}
.partivo-garage-shortcut-header .pg-text.wd-tools-text{
  display:inline-block;
  font: inherit;
  color:#000;
  line-height:1;
  font-weight:700;
  font-size:12px; /* اگر سایز خاص می‌خوای */
}
@media (max-width:768px){
  .partivo-garage-shortcut-header{ margin-inline-start:.3rem; }
}

.paib-garage-clear-chat {
  margin-top: 8px;
  opacity: .88;
}
