/* All selectors are scoped to the shortcode/admin component. */
.iecon-ac {
  --iecon-ink: #243a3b;
  --iecon-green: #169b6d;
  --iecon-line: #e2e9e5;
  max-width: 1150px;
  margin: 12px auto 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--iecon-ink);
}
.iecon-ac *, .iecon-ac *::before, .iecon-ac *::after { box-sizing: border-box; }
.iecon-ac button { font: inherit; cursor: pointer; }
.iecon-ac button:focus-visible { outline: 3px solid #169b6d; outline-offset: 2px; }
.iecon-ac .iecon-ac-loading { margin: 25px 0; color: #728478; }
.iecon-ac-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 16px 4px 20px; }
.iecon-ac-eyebrow { font-size: 11px; color: #169b6d; font-weight: 800; letter-spacing: .13em; }
.iecon-ac-intro h2 { color: #243a3b; font-size: clamp(22px, 3vw, 32px); margin: 7px 0 9px; font-weight: 800; letter-spacing: -.04em; padding: 0; }
.iecon-ac-intro p { color: #6e7e7a; margin: 0; line-height: 1.8; }
.iecon-ac-view-tag { display: inline-flex; align-items: center; white-space: nowrap; color: #557969; background: #e9f4ed; padding: 9px 13px; font-size: 11px; border-radius: 22px; font-weight: 700; }
.iecon-ac-view-tag::before { content: ""; width: 7px; height: 7px; background: #20a66d; border-radius: 50%; margin-right: 6px; }
.iecon-ac-admin-note { background: #eaf3ff; border: 1px solid #cddff3; border-radius: 11px; padding: 13px 16px; color: #335e8b; margin: 0 0 17px; font-size: 12px; line-height: 1.7; }
.iecon-ac-card { background: #fff; border: 1px solid var(--iecon-line); border-radius: 16px; box-shadow: 0 5px 19px #25483709; overflow: hidden; }
.iecon-ac-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 22px 22px 15px; }
.iecon-ac-month-heading small { display: block; color: #82928b; font-size: 10px; font-weight: 700; letter-spacing: .08em; margin-bottom: 4px; }
.iecon-ac-month-heading strong { display: block; font-size: 22px; color: #243a3b; line-height: 1.4; letter-spacing: -.035em; }
.iecon-ac-arrows { display: flex; gap: 7px; }
.iecon-ac-arrows button { display: grid; place-items: center; border: 1px solid var(--iecon-line); border-radius: 10px; height: 37px; width: 37px; background: white; color: #356151; font-size: 20px; padding: 0; }
.iecon-ac-arrows button:hover:not(:disabled) { border-color: #8bc9a8; background: #f2faf5; }
.iecon-ac-arrows button:disabled { opacity: .25; cursor: default; }
.iecon-ac-month-strip { padding: 0 22px 15px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.iecon-ac-month-pill { flex: 0 0 auto; border: 1px solid var(--iecon-line); background: white; color: #6c8076; padding: 8px 12px; border-radius: 9px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.iecon-ac-month-pill small { display: block; font-size: 9px; opacity: .75; margin-bottom: 2px; }
.iecon-ac-month-pill.selected { border-color: var(--iecon-green); background: var(--iecon-green); color: white; }
.iecon-ac-legend-row { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; border-top: 1px solid var(--iecon-line); border-bottom: 1px solid var(--iecon-line); background: #f8faf9; padding: 12px 22px; }
.iecon-ac-legend-row > span { display: inline-flex; align-items: center; gap: 6px; color: #687b72; font-size: 11px; }
.iecon-ac-badge { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 6px; font-size: 16px; }
.iecon-ac-badge.open, .iecon-ac-status.open { background: #e6f7ed; color: #078152; }
.iecon-ac-badge.closed, .iecon-ac-status.closed { background: #fff0ee; color: #ca5350; }
.iecon-ac-calendar-area { padding: 13px 16px 17px; }
.iecon-ac-weekdays { display: grid; grid-template-columns: 135px repeat(7,minmax(0,1fr)); background: #f4f8f5; border-radius: 9px; margin-bottom: 8px; overflow: hidden; }
.iecon-ac-weekdays span { padding: 11px 3px; text-align: center; color: #77877e; font-weight: 700; font-size: 12px; }
.iecon-ac-weekdays span:nth-child(7) { color: #4475b6; }
.iecon-ac-weekdays span:nth-child(8) { color: #d36a65; }
.iecon-ac-week-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid var(--iecon-line); border-radius: 10px; overflow: hidden; margin: 0 0 10px; }
.iecon-ac-week-table col:first-child { width: 135px; }
.iecon-ac-week-table th, .iecon-ac-week-table td { text-align: center; border: 0; border-right: 1px solid #e9efeb; border-bottom: 1px solid #e9efeb; line-height: 1.5; }
.iecon-ac-week-table tr > *:last-child { border-right: 0; }
.iecon-ac-week-table tr:last-child > * { border-bottom: 0; }
.iecon-ac-week-table .date-row th { background: #f0f7f1; color: #648374; font-size: 11px; font-weight: 700; padding: 10px 3px; }
.iecon-ac-week-table .date-row td { background: #f8fbf9; padding: 10px 4px; font-size: 13px; font-weight: 800; }
.iecon-ac-week-table .date-row .sat { color: #4475b6; }
.iecon-ac-week-table .date-row .sun { color: #d36a65; }
.iecon-ac-week-table .date-row .today { background: #e4f5ea; color: #087e54; }
.iecon-ac-week-table .time-label { background: #fbfcfa; color: #6b7e74; font-size: 11px; font-weight: 700; padding: 11px 3px; }
.iecon-ac-week-table .slot { background: #fff; padding: 5px 2px; height: 42px; }
.iecon-ac-week-table .outside { background: #f9faf9 !important; }
.iecon-ac-status { display: flex; margin: auto; width: 43px; min-width: 31px; height: 30px; align-items: center; justify-content: center; border: 0; border-radius: 8px; font-size: 17px; font-weight: 800; line-height: 1; padding: 0; }
.iecon-ac button.iecon-ac-status:hover { outline: 2px solid #9dd9bd; }
.iecon-ac-status.past { color: #bdc9c2; background: #f6f8f7; }
.iecon-ac-footnote { color: #85948c; margin: 10px 0 0; font-size: 12px; line-height: 1.8; }
.iecon-ac-mobile { display: none; }
.iecon-ac-savebar { position: sticky; bottom: 10px; z-index: 5; margin: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #cbded3; border-radius: 13px; background: #f5f9fd; padding: 13px 17px; box-shadow: 0 6px 22px #163b2324; }
.iecon-ac-savebar span { color: #517188; font-size: 12px; line-height: 1.7; }
.iecon-ac-savebar button { background: #17885e; color: white; border: 0; border-radius: 9px; padding: 11px 22px; font-weight: 800; font-size: 12px; white-space: nowrap; }
.iecon-ac-savebar button:disabled { cursor: default; opacity: .5; }
.iecon-ac-mobile-week { border: 1px solid #e0e9e2; border-radius: 11px; overflow: hidden; margin-bottom: 12px; }
.iecon-ac-mobile-week-title { background: #f0f7f2; padding: 10px 12px; color: #42785c; font-size: 11px; font-weight: 800; }
.iecon-ac-mobile-grid { display: grid; grid-template-columns: 1.28fr repeat(3,minmax(0,1fr)); align-items: center; text-align: center; gap: 3px; }
.iecon-ac-mobile-head { background: #f8faf9; padding: 9px 5px; color: #829087; font-size: 10px; font-weight: 700; }
.iecon-ac-mobile-day { padding: 7px 5px; min-height: 46px; border-top: 1px solid #edf1ed; }
.iecon-ac-mobile-date { text-align: left; padding-left: 8px; font-size: 12px; font-weight: 800; }
.iecon-ac-mobile-date small { font-size: 10px; font-weight: 600; color: #94a299; }
.iecon-ac-mobile-date.sat { color: #4475b6; }
.iecon-ac-mobile-date.sun { color: #cf635d; }
.iecon-ac-mobile-day .iecon-ac-status { height: 29px; font-size: 16px; max-width: 40px; }
@media (max-width: 760px) {
  .iecon-ac { margin-top: 8px; }
  .iecon-ac-intro { display: block; padding: 13px 2px 15px; }
  .iecon-ac-view-tag { margin-top: 13px; }
  .iecon-ac-card-heading { padding: 18px 14px 12px; }
  .iecon-ac-month-strip { padding: 0 14px 14px; }
  .iecon-ac-legend-row { padding: 12px 14px; gap: 10px; }
  .iecon-ac-calendar-area { padding: 12px; }
  .iecon-ac-desktop { display: none; }
  .iecon-ac-mobile { display: block; }
  .iecon-ac-savebar { bottom: 5px; display: block; }
  .iecon-ac-savebar button { display: block; width: 100%; margin-top: 10px; }
}
