



.page-header-menu .month-btn{
  border-radius: 999px;
  padding: 5px 14px;
  border-color: var(--haima-border);
  background: var(--haima-bg-soft);
  color: var(--haima-text-sub);
}
.page-header-menu .month-btn:hover{
  background: var(--haima-accent-soft);
  border-color: #bfdbfe;
  color: var(--haima-accent-deep);
}


.btn-mini{
  border-radius: 999px;
  font-size: 11px;
  padding: 2px 9px;
}

.btn-mini.btn-red{
  background: var(--haima-danger-soft);
  color: var(--haima-danger);
  border: 1px solid #fecaca;
}
.btn-mini.btn-red:hover{
  background: #ef4444;
  color: #ffffff;
  border-color: #b91c1c;
}
.display-panel h3{
  font-size: 14px;
  margin: 4px 0 8px;
  color: var(--haima-text-main);
}

.display-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  overflow: hidden;
  border-radius: 10px;
}

.display-table thead{
  background: #f3f4f6;
}
.display-table th{
  border-bottom: 1px solid var(--haima-border);
  padding: 6px 8px;
  text-align: left;
  color: var(--haima-text-sub);
}

.display-table td{
  padding: 5px 8px;
  border-bottom: 1px solid #e5e7eb;
}


.display-table tbody tr:nth-child(odd){
  background: #f9fafb;
}
.display-table tbody tr:nth-child(even){
  background: #ffffff;
}
.display-table tbody tr:hover{
  background: #eff6ff;
}


.display-table tbody tr.is-highlight{
  background: #fef9c3;
}



.haima-dialog-overlay{
  background: rgba(15,23,42,0.45);
  backdrop-filter: blur(3px);
}

.haima-dialog-card{
  background: #ffffff;
  color: var(--haima-text-main);
  border-radius: 18px;
  border: 1px solid var(--haima-border-strong);
  box-shadow: 0 22px 50px rgba(15,23,42,0.45);
  padding: 16px 18px 14px;
}

.haima-dialog-title{
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--haima-text-main);
}

.haima-dialog-body{
  font-size: 13px;
  color: var(--haima-text-sub);
}


.haima-dialog-actions{
  margin-top: 10px;
}
.haima-dialog-actions button{
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  border: 1px solid var(--haima-border);
  background: var(--haima-bg-soft);
  color: var(--haima-text-sub);
}
.haima-dialog-actions button:hover{
  background: #e5e7eb;
}
.haima-dialog-actions button.btn-primary{
  background: var(--haima-accent);
  border-color: var(--haima-accent);
  color: #ffffff;
}
.haima-dialog-actions button.btn-primary:hover{
  background: var(--haima-accent-deep);
}


.haima-dialog-input{
  border-radius: 8px;
  border: 1px solid var(--haima-border);
  padding: 5px 8px;
}


.month-picker-card{
  border-radius: 18px;
}




.day-card{
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}
:root{
  --haima-bg-main: #e9f0fb;
  --haima-bg-card: #ffffff;
  --haima-bg-soft: #f6f9ff;
  --haima-border: #dbe4f3;
  --haima-border-strong: #c5d2e6;
  --haima-text-main: #12233f;
  --haima-text-sub: #3f5678;
  --haima-accent: #4f86c6;
  --haima-accent-soft: #e7f0ff;
  --haima-accent-deep: #355f9f;
  --haima-danger: #e45c6d;
  --haima-danger-soft: #ffe6ed;
  --haima-ok: #1ea45a;
}

.month-bar{
  margin: 10px 0 12px;
  gap: 12px;
}
.month-label{
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fdfefe, #ecf2ff);
  box-shadow:
    0 10px 22px rgba(47,102,171,0.16),
    inset 0 1px 0 rgba(255,255,255,0.9);
  font-weight: 800;
  color: #1f3357;
  letter-spacing: 0.08em;
}
.month-btn{
  border: 1px solid #cbd8ec;
  background: linear-gradient(120deg, #e7f0ff 0%, #edf5ff 100%);
  color: #2f5c97;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 10px 22px rgba(47,102,171,0.12);
  transition: background 0.18s ease, box-shadow 0.12s ease, transform 0.08s ease, border-color 0.12s ease;
}
.month-btn:hover{
  background: linear-gradient(120deg, #dfeeff 0%, #e5f2ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 12px 26px rgba(47,102,171,0.18);
  transform: translateY(-1px);
  border-color: #bfd0eb;
}
.month-btn:active{ transform: translateY(0); }
.calendar-count-buttons{
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}
.calendar-mini-btn{
  width: 24px;
  height: 24px;
  padding: 0;
  font-size: 14px;
  font-weight: 800;
  border-radius: 999px;
  line-height: 1;
}
.calendar-mini-btn:disabled{
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none;
}

.sheet-card,
.editor-card,
.display-panel{
  margin-top: 12px;
  padding-top: 8px;
  background: linear-gradient(145deg, #fdfefe, #eef3ff);
  border-radius: 18px;
  border: 1px solid rgba(203,216,236,0.8);
  box-shadow:
    0 20px 46px rgba(52,84,128,0.16),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.reminder-panel{
  margin-top: 12px;
  padding: 12px 14px;
}
.reminder-panel-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.reminder-panel-title{
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--haima-text-main);
}
.reminder-panel-sub{
  font-size: 11px;
  color: var(--haima-text-sub);
  background: var(--haima-bg-soft);
  border: 1px solid var(--haima-border);
  border-radius: 999px;
  padding: 2px 8px;
}
.reminder-panel-body{
  min-height: 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reminder-panel-empty{
  font-size: 12px;
  color: var(--haima-text-sub);
  background: rgba(255,255,255,0.7);
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 8px 10px;
}

.reminder-split{
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.reminder-summary-card,
.reminder-tv-card{
  margin-top: 0;
  padding: 12px 14px;
}
.reminder-summary-card{
  flex: 0 0 24%;
  max-width: 24%;
  min-width: 210px;
}
.reminder-tv-card{
  flex: 1 1 0;
  min-width: 0;
}
.reminder-stack{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reminder-stack .reminder-tv-card{
  flex: 0 0 auto;
  min-width: 0;
}

.reminder-summary-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.reminder-summary-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #dbe4f3;
  background: rgba(255,255,255,0.86);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 8px 16px rgba(52,84,128,0.12);
  gap: 6px;
}
.reminder-summary-item.is-total{
  grid-column: span 2;
  background: linear-gradient(135deg, #4f86c6, #3a68a8);
  border-color: #3a68a8;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 10px 22px rgba(52,84,128,0.2);
}
.reminder-summary-item.is-mitsumori{
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-color: #fdba74;
}
.reminder-summary-item.is-final{
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  border-color: #c4b5fd;
}
.reminder-summary-label{
  font-weight: 700;
  color: #2f4d6f;
}
.reminder-summary-value{
  font-weight: 700;
  color: #1f2f4b;
}
.reminder-summary-item.is-total .reminder-summary-label,
.reminder-summary-item.is-total .reminder-summary-value{
  color: #ffffff;
}
.reminder-summary-item.is-mitsumori .reminder-summary-label,
.reminder-summary-item.is-mitsumori .reminder-summary-value{
  color: #c2410c;
}
.reminder-summary-item.is-final .reminder-summary-label,
.reminder-summary-item.is-final .reminder-summary-value{
  color: #5b21b6;
}

.reminder-tv-frame{
  border-radius: 16px;
  padding: 10px;
  background: linear-gradient(145deg, #f3f6ff, #e8f0ff);
  border: 1px solid #d6e0f2;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 12px 26px rgba(52,84,128,0.16);
}
.reminder-tv-screen{
  position: relative;
  min-height: 140px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08) 0, transparent 35%),
    linear-gradient(160deg, #1f2937, #111827);
  color: #e2e8f0;
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(15,23,42,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  overflow: hidden;
}
.reminder-tv-screen::after{
  content: "";
  position: absolute;
  top: 10px;
  right: 18px;
  width: 90px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  transform: rotate(-10deg);
  filter: blur(0.3px);
}
.reminder-tv-empty{
  font-size: 12px;
  letter-spacing: 0.08em;
}

@media (max-width: 980px){
  .reminder-split{
    flex-direction: column;
  }
  .reminder-summary-card,
  .reminder-tv-card{
    max-width: 100%;
  }
}
@media (max-width: 620px){
  .reminder-summary-grid{
    grid-template-columns: minmax(0, 1fr);
  }
  .reminder-summary-item.is-total{
    grid-column: span 1;
  }
}

#basicInfoCard{
  background: transparent;
  border: none;
  box-shadow: none;
}
#basicInfoCard.editing-highlight{
  background: transparent;
  border: none;
  box-shadow: none;
}
#basicInfoCard.editing-highlight .info-block{
  background: #fff7ed;
  border: 1px solid #f97316;
  box-shadow: 0 0 0 2px rgba(248,113,22,0.65);
}

.sheet-section-title{
  border-left: 5px solid var(--haima-accent);
  font-size: 15px;
  font-weight: 600;
  padding-left: 10px;
  margin-bottom: 8px;
  color: #1f2f4b;
  letter-spacing: 0.06em;
}

.sheet-input,
.sheet-input-sm,
.sheet-select,
.ipt,
.area{
  border-radius: 12px;
  border: 1px solid #dbe4f3;
  background: linear-gradient(180deg, #fdfefe 0%, #eef3ff 100%);
  font-size: 13px;
  color: var(--haima-text-main);
  padding: 7px 10px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    inset 0 -1px 0 rgba(210,220,236,0.5),
    0 10px 20px rgba(60,90,150,0.10);
  transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.sheet-input-sm{ padding: 6px 9px; }
.sheet-input:focus,
.sheet-input-sm:focus,
.sheet-select:focus,
.ipt:focus,
.area:focus{
  outline: none;
  border-color: #a8c0e0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 0 0 1px rgba(168,192,224,0.6),
    0 12px 24px rgba(52,84,128,0.16);
}
.sheet-label,
.lbl{
  color: #30486d;
  font-size: 12px;
  font-weight: 700;
}

.time-badge{
  border-radius: 999px;
  background: var(--haima-accent-soft);
  color: var(--haima-accent-deep);
}

.btn,
.btn-green{
  border: 1px solid #cbd8ec;
  background: linear-gradient(120deg, #e7f0ff 0%, #edf5ff 100%);
  color: #2f5c97;
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 10px 22px rgba(47,102,171,0.12);
  transition: background 0.18s ease, box-shadow 0.12s ease, transform 0.08s ease, border-color 0.12s ease;
}
.btn:hover,
.btn-green:hover{
  background: linear-gradient(120deg, #dfeeff 0%, #e5f2ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 12px 26px rgba(47,102,171,0.18);
  transform: translateY(-1px);
  border-color: #bfd0eb;
}
.btn:active{ transform: translateY(0); }

.floating-btn{
  border: 1px solid #cbd8ec;
  background: #f5f9ff;
  color: #2f5c97;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.floating-btn:hover{
  background: #e8f1ff;
  border-color: var(--haima-accent);
  box-shadow: 0 10px 24px rgba(79,134,198,0.24);
  transform: translateY(-1px);
}
textarea.sheet-input,
textarea.sheet-textarea,
#dailyMemo{
  resize: vertical;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}


body{
  background:
    radial-gradient(circle at 20% 10%, rgba(180,200,230,0.18) 0, transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(140,170,220,0.14) 0, transparent 34%),
    linear-gradient(180deg, #f6f9ff 0%, #e9f1fc 50%, #eef4ff 100%);
  overflow-x: hidden;
  color: var(--haima-text-main);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.app-shell{
  width: 100%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 20px 24px;
}
.reminder-split,
.basic-tools-row,
#editorPanel,
#itinerarySheet,
#dailyMemoCard,
.display-panel{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.page-header-main{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.page-header-main::before{
  content:"";
  display:none;
  width: 0;
  height: 0;
  background:none;
  margin: 0;
}
.page-title{
  font-family: "Yu Gothic Medium","Hiragino Sans","Noto Sans JP","Segoe UI",sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: #1f2937;
  margin: 0;
  padding: 0;
}
.page-subtitle{
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #4b5563;
  font-weight: 500;
  display: none;
}

/* Layout overrides for hero row (status + title + month) */
.page-header{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  text-align: center;
  padding: 18px 0 14px;
  margin: 0 0 10px;
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 20px;
  position: relative;
  overflow: visible;
  min-height: 72px;
}
.page-hero{
  display: flex;
  align-items: start;
  gap: 12px;
  width: 100%;
  justify-content: center;
}
.hero-center{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.hero-spacer{
  min-width: 32px;
}

.cal-card{
  margin-top: 12px;
  padding: 12px 16px 16px;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(140deg,#f7faff,#eef3ff);
  border: 1px solid rgba(203,216,236,0.8);
  box-shadow: 0 18px 40px rgba(52,84,128,0.14);
}
.cal-month-block{
  margin-bottom: 14px;
}
.cal-month-block-next{
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #dbe4f3;
}
.month-label-sub{
  display: inline-block;
  margin: 0 0 8px 4px;
  font-size: 14px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fdfefe, #ecf2ff);
  color: #1f3357;
}
.cal-wrap{
  border-radius: 18px;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(148,163,184,0.24);
}

.cal-table{
  width: 100%;
  min-width: 100%;
  table-layout: fixed;
  font-size: 10px;
  color: #1f2f4b;
  background: linear-gradient(180deg,#f9fbff 0%,#eef3ff 100%);
  border-collapse: separate;
  border-spacing: 1px;
  border-radius: 14px;
  overflow: hidden;
}
.cal-table th,
.cal-table td{
  border: none;
  border-radius: 18px;
  overflow: hidden;
  padding: 3px 1px;
  font-size: 10px;
}
.cal-table th{
  background: linear-gradient(180deg, #f4f7fc 0%, #eaf0f9 100%);
  box-shadow: inset 0 -1px 0 #dbe2ec;
  border-bottom: 1px solid #d2ddeb;
  color: #1f2a44;
  letter-spacing: 0.04em;
  font-weight: 800;
}
.cal-table tbody td{
  transition: background-color .15s ease,
              box-shadow .15s ease,
              transform .05s ease;
}
.cal-table tbody td:hover{
  transform: translateY(0);
  box-shadow: none;
}
.cal-table tbody tr:nth-child(odd) td,
.cal-table tbody tr:nth-child(even) td{
  background: transparent;
}
.cal-table tbody tr:hover td{
  background: transparent;
  box-shadow: none;
  transform: none;
}

.cal-head-vehicle{
  background: #eef2ff;
  color: #1e293b;
  font-weight: 600;
}
.cal-head-date-row{ background: #f9fafb; }
.cal-row-vehicle{
  background: #f3f4ff;
  color: #111827;
  font-weight: 600;
}
.cal-vehicle-cell{ border-right: 2px solid #e5e7eb; }

.cal-head-date,
.cal-col-vehicle{
  background: linear-gradient(180deg, #f4f7fc 0%, #eaf0f9 100%);
  color: #1f2f4b;
  border-radius: 12px;
  border-right: 1px solid #dbe2ec;
}
.cal-head-date{
  width: auto;
  min-width: 0;
  border-bottom: 1px solid #dbe2ec;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.cal-col-vehicle{
  width: 54px;
  min-width: 54px;
  max-width: 54px;
  font-weight: 800;
  padding-left: 2px;
  padding-right: 2px;
  font-size: 10px;
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.6);
  letter-spacing: 0;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
  line-height: 1.15;
}
.cal-head-date-inner{
  font-size: 11px;
  padding: 2px 0;
  border-radius: 10px;
}
.cal-day-num{
  font-size: 13px;
  color: #1f2f4b;
}
.cal-head-day{
  font-size: 11px;
  color: var(--haima-text-sub);
}
.cal-head-date.is-holiday .cal-day-num,
.cal-head-date.is-holiday .cal-head-day,
.cal-head-date.is-weekend .cal-day-num,
.cal-head-date.is-weekend .cal-head-day{
  color: #d94b5b !important;
}
.cal-head-date.is-weekend .cal-head-date-inner{ background: #fdf2f2; }
.cal-head-date.is-holiday .cal-head-date-inner{ background: #fee2e2; }
.cal-head-date.is-today .cal-head-date-inner{
  background: #e0ecff;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.6) inset;
}

.cal-cell,
.cal-cell-empty,
.cal-cell-oneday,
.cal-cell-long,
.cal-cell-multi{
  border-radius: 18px;
  width: auto;
  min-width: 0;
  height: 50px;
}
.cal-cell{
  border: 1px solid #dfe5f3;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 6px 14px rgba(60,90,150,0.10);
}
.cal-cell-empty{
  background: #ffffff !important;
  color: #6a7894 !important;
  border: 1px solid #e6ebf5 !important;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.94), 0 4px 10px rgba(79,134,198,0.06);
}
.cal-cell-oneday{
  background: linear-gradient(180deg,#ffe8ee 0%,#ffd0dc 100%) !important;
  color: #9c1533 !important;
  border: 1px solid #f2b5c7 !important;
  border-left: none !important;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(240,160,180,0.28);
}
.cal-cell-long{
  background: linear-gradient(180deg,#e6edff 0%,#cfdcff 100%) !important;
  color: #154177 !important;
  border: 1px solid #b6c7ef !important;
  border-left: none !important;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(70,110,180,0.22);
}
.cal-cell-multi{
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #d8e0ee !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.94),
    0 6px 14px rgba(60,90,150,0.10);
  padding: 2px 3px !important;
}
.cal-cell-multi .cal-cell-title,
.cal-cell-multi .cal-cell-sub,
.cal-cell-multi .cal-count{
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(76,5,25,0.34);
}
.cal-cell-multi .cal-cell-sub{
  color: #fff7ed !important;
  font-weight: 800;
}
.cal-multi-list{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 2px;
  width: 100%;
  height: 100%;
  min-height: 42px;
  pointer-events: none;
}
.cal-mini-booking,
.cal-mini-more{
  display: block;
  width: 100%;
  min-height: 10px;
  padding: 1px 3px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-mini-booking.status-mitsumori{
  background: #fed7aa;
  color: #9a3412;
}
.cal-mini-booking.status-shinki{
  background: #bfdbfe;
  color: #1e40af;
}
.cal-mini-booking.status-final{
  background: #bbf7d0;
  color: #166534;
}
.cal-mini-booking.status-other{
  background: #e5e7eb;
  color: #374151;
}
.cal-mini-more{
  color: #475569;
}
.cal-cell-inner{
  font-size: 10px;
  line-height: 1.28;
}
.cal-cell-main{
  font-size: 10px;
}
.cal-cell-title{
  font-weight: 700;
  color: #0f172a;
}
.cal-cell-sub{
  font-size: 9px;
  color: #475569;
  opacity: .9;
}
.cal-cell-selected{
  outline: 2px solid #f97316;
  box-shadow:
    0 0 0 2px rgba(248,113,22,0.35) inset,
    0 10px 22px rgba(248,113,22,0.25);
  position: relative;
  z-index: 1;
}
.cal-cell-empty .cal-cell-title,
.cal-cell-empty .cal-cell-sub{ color: #9ca3af !important; }
.cal-cell-empty .cal-cell-inner{ font-size: 9px; }
.cal-cell-badge{
  background: #64748b;
  color: #ffffff;
  font-size: 9px;
  padding: 0 4px;
  border-radius: 999px;
}
.cal-cell-badge.status-mitsumori{ background: #fb923c; }
.cal-cell-badge.status-henko{ background: #0ea5e9; }
.cal-cell-badge.status-cancel{ background: #94a3b8; }
.cal-cell-badge.status-final{ background: #16a34a; }
.cal-cell-long .cal-cell-title{
  font-weight: 700;
  color: #1e3a8a !important;
}
.cal-cell-oneday .cal-cell-title{
  font-weight: 600;
  color: #1d4ed8 !important;
}

.haima-hover-card{
  border-radius: 10px;
  font-size: 12px;
  background: rgba(255,255,255,0.96) !important;
  color: #1f2f4b !important;
  border: 1px solid #dfe5f3 !important;
  box-shadow: 0 12px 28px rgba(52,84,128,0.20) !important;
}


.vehicle-menu{
  background: rgba(255,255,255,0.96) !important;
  color: #1f2f4b !important;
  border: 1px solid #dfe5f3 !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 32px rgba(52,84,128,0.20) !important;
}
.vehicle-menu button{
  color: #1f2f4b !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
}
.vehicle-menu button:hover{
  background: #e8f0ff !important;
}
.vehicle-menu .danger{
  color: #d9463b !important;
}
.vehicle-menu .danger:hover{
  background: #fde8e8 !important;
  color: #b42318 !important;
}

/* Floating side panel: unified final state */
.floating-side-panel{
  right: auto !important;
  left: auto;
  inset: auto;
  transform: none !important;
  transition: transform 0.18s ease, opacity 0.18s ease;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 14px;
  padding: 12px;
}
.floating-side-panel.is-edge-hidden{
  transform: translateX(110%) !important;
  opacity: 0;
  pointer-events: none;
}
