
:root { color-scheme: light; font-family: "Segoe UI", sans-serif; }
body { margin: 0; background: #f5f7f8; color: #172026; }
main { max-width: 1180px; margin: 0 auto; padding: 32px 20px 56px; }
h1 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: 0;
  display: flex;
  gap: 12px;
  align-items: center;
}
header p { margin: 0 0 22px; color: #53616b; }
.role-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.role-admin { background: #e0f2e9; color: #1d6b3f; border: 1px solid #b2dec3; }
.role-editor { background: #fdecd0; color: #8a5a00; border: 1px solid #f1c97c; }
.watch-tool--editor { background: #fbf6ec; border-color: #f0d9a8; }
th.col-error, td.col-error { color: #b94040; }
th.col-no-events, td.col-no-events { color: #7a6a00; }
th.col-duplicate, td.col-duplicate { color: #4a6fa5; }
.topnav { display: flex; gap: 10px; margin: 0 0 20px; }
.topnav a, .nav-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #b9c5cc;
  border-radius: 6px;
  color: #172026;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}
.tool, .result, .error {
  background: #fff;
  border: 1px solid #d9e0e5;
  border-radius: 8px;
  padding: 18px;
  margin: 16px 0;
}
.watch-tool { display: grid; gap: 18px; }
.section-title {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}
.section-title h2 { margin: 0 0 4px; font-size: 24px; }
.section-title p { margin: 0; color: #53616b; line-height: 1.55; }
.step-badge {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #116d6e;
  color: #fff;
  font-weight: 800;
}
label { display: grid; gap: 7px; font-weight: 600; color: #28343c; }
input, select, textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #b9c5cc;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
textarea { resize: vertical; }
.row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 140px 140px;
  gap: 14px;
  align-items: end;
  margin: 14px 0;
}
.mode-row {
  display: grid;
  grid-template-columns: 160px 240px 160px;
  gap: 14px;
  align-items: end;
  margin: 14px 0;
}
.watch-options {
  grid-template-columns: 180px 180px 230px 180px;
}
.plain-block {
  display: grid;
  gap: 10px;
}
.plain-block h3 {
  margin: 0;
  font-size: 17px;
}
.choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.choice-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #d9e0e5;
  border-radius: 6px;
  background: #fbfcfd;
}
.choice-option input { width: auto; margin-top: 3px; }
.choice-option small {
  display: block;
  margin-top: 4px;
  color: #5e6c75;
  font-weight: 400;
  line-height: 1.45;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.field-help {
  color: #64717a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.check-list label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  min-height: 44px;
  padding: 10px 0;
}
.check-list input { width: auto; margin-top: 3px; }
.next-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #53616b;
  font-size: 14px;
}
.next-steps span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef3f4;
}
.radio {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
}
.radio input { width: auto; }
.mini { max-width: 90px; display: inline-block; padding: 8px 10px; }
.check { display: flex; gap: 8px; align-items: center; height: 42px; }
.check input { width: auto; }
button {
  margin-top: 14px;
  border: 0;
  border-radius: 6px;
  background: #116d6e;
  color: #fff;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.error { border-color: #e3a7a7; background: #fff6f6; color: #9b1c1c; }
.meta { color: #62717a; font-size: 13px; overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
th, td {
  border-bottom: 1px solid #e4e9ed;
  padding: 9px 8px;
  text-align: left;
  vertical-align: top;
}
th { background: #eef3f4; color: #34414a; }
.card { border: 1px solid #dbe3e7; border-radius: 8px; padding: 14px; margin-top: 14px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card ul { margin: 8px 0 0; padding-left: 22px; }
.post { border-bottom: 1px solid #e4e9ed; padding: 14px 0; }
.post:last-child { border-bottom: 0; }
.post p { white-space: pre-wrap; }
h2 { margin: 0 0 12px; font-size: 20px; }
.rule { display: inline-block; margin: 8px 0; padding: 4px 8px; border-radius: 6px; }
.match { background: #e4f3ed; color: #14613b; }
.muted { color: #6a7780; }
.inline-preview {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid #116d6e;
  background: #f4faf9;
}
.inline-preview ul { margin: 0; padding-left: 20px; }
.configured-accounts {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 12px;
  background: #eef3f4;
  border-radius: 6px;
}
.configured-accounts span { overflow-wrap: anywhere; }
.cost-box {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #d9e0e5;
  border-radius: 6px;
  background: #fbfcfd;
}
.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.calendar-head h2 { margin: 0; }
.calendar-grid { table-layout: fixed; }
.calendar-grid th { text-align: center; }
.calendar-day {
  height: 132px;
  padding: 8px;
  background: #fff;
}
.calendar-day.empty { background: #f1f4f6; }
.day-num { font-weight: 800; margin-bottom: 6px; }
.event-badge {
  display: block;
  margin: 5px 0;
  padding: 6px;
  border-radius: 6px;
  color: #172026;
  text-decoration: none;
  background: #eef3f4;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.35;
}
.event-badge span {
  display: inline-block;
  margin: 0 5px 3px 0;
  font-weight: 800;
}
.event-badge.application_deadline { background: #fff0e6; border-left: 3px solid #c25a13; }
.event-badge.application_start { background: #eaf4ff; border-left: 3px solid #2878bd; }
.event-badge.sales { background: #eaf6ed; border-left: 3px solid #23824a; }
.event-badge.first_application,
.public-event-row.first_application { background: #fff0f7; border-left-color: #d83b87; }
.quality-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 800;
  color: #24323a;
  background: #edf2f4;
}
.quality-badge.high { color: #11663b; background: #e4f6ec; }
.quality-badge.medium { color: #8a5100; background: #fff1d7; }
.quality-badge.low { color: #a12621; background: #ffe5e1; }
.quality-issues {
  margin: 6px 0;
  color: #8a5100;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.calendar-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #e4e9ed;
}
.calendar-row-time { font-weight: 800; color: #28343c; }
.source-filter-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}
.source-filter-form button { margin-top: 0; white-space: nowrap; }
.source-selected { margin: 10px 0 0; color: #28343c; }
.display-options-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.display-options-form button { margin-top: 0; }
.occurrence-toggle-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
.occurrence-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #cfd9de;
  border-radius: 6px;
  color: #172026;
  text-decoration: none;
  font-weight: 900;
  background: #fff;
}
.occurrence-toggle small {
  color: #5b6a72;
  font-weight: 800;
}
.occurrence-toggle.active {
  border-width: 2px;
}
.occurrence-toggle-start.active { background: #eaf4ff; border-color: #2878bd; }
.occurrence-toggle-deadline.active { background: #fff0e6; border-color: #c25a13; }
.occurrence-toggle-first.active { background: #fff0f7; border-color: #d83b87; }
.product-filter-form {
  display: grid;
  gap: 12px;
}
.product-option-group {
  display: grid;
  gap: 8px;
  border: 1px solid #d8e0e4;
  border-radius: 6px;
  background: #f9fbfb;
  padding: 8px 10px;
}
.product-option-group summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style-position: inside;
}
.product-option-group h3 {
  margin: 0;
  font-size: 16px;
}
.product-option-group summary span {
  margin-left: auto;
  color: #5b6a72;
  font-weight: 700;
}
.product-category {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #d8e0e4;
}
.product-category h4 {
  margin: 0;
  font-size: 15px;
}
.product-category p {
  margin: 0;
  color: #5b6a72;
  font-weight: 700;
}
.product-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}
.product-options label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #d8e0e4;
  border-radius: 6px;
  background: #f9fbfb;
  font-weight: 800;
}
.product-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-count {
  margin-left: auto;
  color: #5b6a72;
  font-weight: 700;
  white-space: nowrap;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #cfd9de;
  border-radius: 6px;
  color: #172026;
  text-decoration: none;
  font-weight: 800;
}
.filter-tab.active {
  border-color: #116d6e;
  background: #116d6e;
  color: #fff;
}
.inline-action-form button {
  margin-top: 0;
  padding: 8px 10px;
  font-size: 13px;
  white-space: nowrap;
}
.public-body { background: #f7f8f4; }
.public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1120px) minmax(0, 1fr);
  column-gap: 0;
  align-items: start;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.public-main {
  width: 100%;
  max-width: 1120px;
  padding-left: 0;
  padding-right: 0;
}
.public-ad {
  position: sticky;
  top: 22px;
  box-sizing: border-box;
  width: 180px;
  justify-self: center;
  min-height: 280px;
  margin-top: 132px;
  padding: 14px;
  border: 1px dashed #bcc8cf;
  border-radius: 8px;
  background: #fbfcfa;
  color: #4c5b63;
}
.public-ad span {
  display: inline-block;
  margin-bottom: 10px;
  color: #7a3d2b;
  font-size: 12px;
  font-weight: 800;
}
.public-ad strong {
  display: block;
  color: #172026;
  font-size: 15px;
}
.public-ad p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.55;
}
.public-header {
  padding: 8px 0 2px;
}
.public-header h1 {
  font-size: 34px;
}
.public-info-main {
  padding-top: 32px;
  padding-bottom: 44px;
}
.public-info-page {
  line-height: 1.8;
}
.public-info-page p {
  margin: 0 0 14px;
}
.public-footer {
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #d8ded7;
  color: #728078;
  font-size: 12px;
  line-height: 1.7;
}
.public-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.public-footer a {
  color: #56655e;
  text-decoration: none;
}
.public-footer a:hover {
  text-decoration: underline;
}
.public-footer p {
  margin: 8px 0 0;
}
.eyebrow {
  margin: 0 0 6px;
  color: #7a3d2b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.public-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.public-summary div {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid #d8ded7;
  border-radius: 8px;
  background: #fff;
}
.public-summary strong {
  font-size: 28px;
  line-height: 1;
}
.public-summary span {
  color: #58675f;
  font-size: 13px;
  font-weight: 700;
}
.public-calendar-panel,
.public-list {
  border-color: #d8ded7;
}
.public-calendar-grid th {
  background: #fff;
  border-bottom: 2px solid #c5d0d6;
}
.public-calendar-grid th,
.public-calendar-grid td {
  border: 1px solid #d8e0e6;
}
.public-calendar-grid .public-sunday {
  color: #b42318;
}
.public-calendar-grid .public-saturday {
  color: #1d4ed8;
}
.public-day {
  height: 150px;
}
.public-day.other-month {
  background: #f7fafc;
}
.public-day.other-month .day-num {
  color: #7a8793;
}
.public-sunday-cell {
  background: #fff7f7;
}
.public-saturday-cell {
  background: #f6fbff;
}
.public-badge {
  border-left-width: 4px;
  font-size: 12px;
}
.public-badge-phase {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
  color: #0e2533;
}
.public-badge-phase strong {
  font-size: 12px;
}
.public-badge-phase span {
  margin: 0;
  font-weight: 900;
}
.public-badge-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 6px;
}
.public-badge-method {
  font-weight: 900;
}
.public-badge-shop {
  margin-top: 3px;
  color: #4f5d66;
}
.public-store-until {
  margin-top: 1px;
  font-size: 0.72rem;
  color: #8a949b;
}
.public-shop-map {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.public-shop-map .map-pin {
  margin-left: 2px;
  font-size: 0.8em;
}
.public-badge-product {
  margin-top: 2px;
}
.public-badge-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.public-badge.has-url {
  cursor: pointer;
}
.public-badge .application-status {
  flex: 0 0 auto;
  margin: 0;
}
.public-badge .application-status-form {
  flex: 0 0 auto;
  margin: 0;
}
.public-badge .application-status-form label {
  min-height: 24px;
  padding: 0 5px;
  font-size: 11px;
  cursor: pointer;
}
.public-badge .application-status-form label span:empty {
  display: none;
}
.public-badge .application-status-form input {
  margin: 0;
}
.application-status-form.is-saving label {
  opacity: 0.6;
}
.public-badge .url-status {
  margin-top: 5px;
}
.public-badge.has-url {
  box-shadow: inset 0 0 0 1px rgba(17, 109, 110, 0.18);
}
.public-badge.no-link {
  border-left-color: #8b98a1;
  background: #f4f6f7;
  color: #65727b;
  opacity: 0.88;
}
.url-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 6px 0 0;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
}
.url-status-ok {
  background: #e3f5ee;
  color: #0d6844;
}
.url-status-qr,
.url-status-instore {
  background: #f1e7fb;
  color: #6a3fa6;
}
.url-status-missing {
  background: #eef1f3;
  color: #596872;
}
.application-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 6px 0 0 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
}
.application-status-done {
  background: #dff3e8;
  color: #10633a;
}
.application-status-open {
  background: #fff4d8;
  color: #7a4d00;
}
.public-event-row {
  align-items: start;
}
.public-event-row.has-url {
  border-left: 4px solid #116d6e;
  padding-left: 12px;
  background: #fbfefd;
}
.public-event-row.missing-url {
  border-left: 4px dashed #a8b3ba;
  padding-left: 12px;
  background: #f8fafb;
}
.public-event-row.applied {
  opacity: 0.72;
}
.application-status-form {
  margin-top: 8px;
}
.application-status-form label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #cdd8df;
  border-radius: 6px;
  background: #fff;
  font-weight: 800;
}
.application-status-form input {
  width: auto;
}
.public-cta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 8px;
  padding: 0 12px;
  border-radius: 6px;
  background: #116d6e;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.public-cta.disabled {
  background: #e7ecef;
  color: #5d6972;
}
.url-edit {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 10px 0;
}
.url-edit button { margin-top: 0; white-space: nowrap; }
@media (max-width: 760px) {
  .row, .mode-row, .watch-options, .choice-list, .settings-grid, .check-list { grid-template-columns: 1fr; }
  .section-title { grid-template-columns: 1fr; }
  .public-summary { grid-template-columns: 1fr; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
  .calendar-row { grid-template-columns: 1fr; }
  .source-filter-form { grid-template-columns: 1fr; }
  .url-edit { grid-template-columns: 1fr; }
}
@media (max-width: 1580px) {
  .public-layout {
    display: block;
    max-width: 1120px;
  }
  .public-ad {
    display: none;
  }
}

.static-controls select { width: 100%; min-height: 40px; }
.static-public-footer {
  display: block;
  margin: 28px 0 8px;
  padding: 0;
  color: #526170;
  font-size: 13px;
  line-height: 1.7;
}
.static-public-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 10px;
}
.static-public-footer a {
  color: #43576a;
  text-decoration: none;
}
.static-public-footer a:hover {
  text-decoration: underline;
}
.static-public-footer span {
  color: #93a2af;
}
.static-public-footer p {
  margin: 0;
}
.static-controls .row {
  grid-template-columns: minmax(160px, 220px) 140px minmax(180px, 220px);
  align-items: start;
}
#filter-kind { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 14px 0; }
#filter-kind label { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; }
#filter-kind input { width: auto; padding: 0; }
.static-region-filter {
  border: 0;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
}
.static-region-filter legend {
  font-weight: 700;
  margin-bottom: 8px;
}
.static-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(10, max-content);
  gap: 6px;
  max-width: 100%;
}
.static-checkbox-grid label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  line-height: 1.2;
}
.static-checkbox-grid input {
  width: auto;
  padding: 0;
}
.static-product-field {
  display: grid;
  gap: 7px;
  align-content: start;
}
.static-product-field-label {
  font-weight: 600;
  color: #28343c;
}
/* デスクトップではメニューをフィルタ行全体(カード幅)にアンカーするため、
   行を relative にし、商品フィールド側(details)の relative は外す。
   モバイルでは商品フィールドにアンカーし直す (末尾のメディアクエリ参照)。 */
.static-filter-row {
  position: relative;
}
.static-product-filter {
  margin-top: 0;
}
.static-product-filter summary {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid #b9c5cc;
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.static-product-filter summary::-webkit-details-marker {
  display: none;
}
.static-product-filter summary strong {
  flex: 1;
  overflow: hidden;
  font-size: inherit;
  font-weight: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* カード種別 / 販売方法 (select) と 商品 (summary) の矢印共通化は末尾の
   _CHEVRON_CSS で付与する (SVG data URI が長いため別定数化) */
.static-product-menu {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  width: auto;
  max-height: min(560px, 70vh);
  margin-top: 6px;
  padding: 12px;
  overflow: auto;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}
.static-product-group + .static-product-group {
  margin-top: 36px;
}
.static-product-group h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.static-product-subgroup + .static-product-subgroup {
  margin-top: 10px;
}
.static-product-subgroup h4 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #526170;
}
.static-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.static-product-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid #d7e0e8;
  border-radius: 7px;
  background: #f8fafc;
  font-weight: 700;
  line-height: 1.25;
}
.static-product-grid input {
  width: auto;
  padding: 0;
}
.static-product-actions {
  position: sticky;
  bottom: -12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 12px -12px -12px;
  padding: 10px 12px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.static-product-actions button {
  min-height: 34px;
  margin-top: 0;
  padding: 6px 12px;
}
.static-product-actions button + button {
  background: #eef3f6;
  color: #0f2638;
}
@media (max-width: 760px) {
  .static-controls .row {
    grid-template-columns: 1fr;
  }
  .static-region-filter {
    grid-column: auto;
  }
  .static-checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .static-filter-row {
    position: static;
  }
  .static-product-menu {
    left: 0;
    right: auto;
    width: min(100%, calc(100vw - 48px));
  }
  .static-product-filter {
    position: relative;
    margin-top: 0;
  }
  .static-product-grid {
    grid-template-columns: 1fr;
  }
}
.week-focus-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-weight: 400;
  font-size: 14px;
  color: #526170;
  cursor: pointer;
}
.week-focus-toggle input { width: auto; }
tr.week-hidden { display: none; }
tr.week-current td { background: #eef6ff; }
.public-day.other-month {
  background: #f7fafc;
}
.public-day.other-month .day-num {
  color: #7a8793;
}
.public-badge,
.public-event-row { cursor: default; }
.public-badge.has-url,
.public-event-row.has-url { cursor: pointer; }

.static-controls select,
.static-product-filter summary {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 5.25 7 8.75l3.5-3.5' fill='none' stroke='%235b6b78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
}
