.ocal-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@media (min-width: 1100px) {
  .ocal-wrap {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 24px;
  }
}
.ocal,
.osync {
  padding: 20px;
  gap: 14px;
  border-radius: 20px;
}
@media (max-width: 899px) {
  .ocal,
  .osync {
    padding: 14px;
    border-radius: 16px;
  }
}
.ocal-top {
  display: grid;
  grid-template-columns: 40px 1fr 40px auto;
  align-items: center;
  gap: 8px;
}
.ocal-top > b {
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}
.ocal-top .jnav {
  border: 1px solid var(--field);
  background: var(--hd-surface, #fff);
}
.ocal-today {
  min-height: 40px;
  padding: 0 14px;
}
@media (max-width: 899px) {
  .ocal-top {
    grid-template-columns: 44px 1fr 44px;
  }
  .ocal-today {
    display: none;
  }
  .ocal-top .jnav {
    width: 44px;
    height: 44px;
  }
}
.ocal-dow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.ocal-dow span {
  padding: 0 8px;
  font-size: 12px;
  line-height: 20px;
  font-weight: 600;
  color: var(--muted2);
}
@media (max-width: 899px) {
  .ocal-dow span {
    padding: 0;
    text-align: center;
  }
}
.ocal-grid {
  border-top: 1px solid var(--line2);
}
.ocw {
  border-bottom: 1px solid var(--line2);
}
.ocw-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.ocd {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 52px;
  padding: 6px 8px;
  border: 0;
  border-left: 1px solid var(--line2);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
}
.ocd:first-child {
  border-left: 0;
}
button.ocd {
  cursor: pointer;
}
button.ocd:hover {
  background: var(--hd-blue-tint, #F5F9FF);
}
.ocd b {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.ocd small {
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: var(--muted2);
}
.ocd small.price {
  color: var(--hd-green-ink, #15803D);
}
.ocd.out b,
.ocd.past b {
  color: #A9AFBA;
}
.ocd.past small {
  color: #A9AFBA;
}
.ocd.today {
  box-shadow: inset 0 0 0 2px var(--blue);
  border-radius: 8px;
}
.ocd.today b,
.ocd.today small {
  color: var(--link);
}
.ocd.sel-a,
.ocd.sel-b {
  background: var(--blue);
  border-radius: 8px;
}
.ocd.sel-a b,
.ocd.sel-a small,
.ocd.sel-b b,
.ocd.sel-b small {
  color: #fff;
}
.ocd.sel-mid {
  background: var(--blue-soft);
}
@media (max-width: 899px) {
  .ocd {
    align-items: center;
    min-height: 46px;
    padding: 4px 2px;
  }
  .ocd b {
    font-size: 15px;
  }
  .ocd small {
    font-size: 10px;
  }
}
.ocw-bars {
  position: relative;
  height: calc(var(--lanes) * 24px + 6px);
}
.jsbar.ocbar {
  top: calc(var(--lane) * 24px + 2px);
  transform: none;
  height: 22px;
  font-size: 12px;
  font-weight: 600;
}
@media (max-width: 899px) {
  .jsbar.ocbar {
    font-size: 11px;
  }
}
.ocal-legend b.ok {
  color: var(--hd-green-ink, #15803D);
  font-weight: 700;
}
.ocal-sel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--hd-subtle, #FAFBFC);
  font-size: 13px;
}
.ocal-sel.on {
  border-color: var(--blue-line);
  background: var(--hd-blue-tint, #F5F9FF);
}
.ocal-sel > b {
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}
.ocal-sel > span {
  color: var(--muted);
}
.ocal-sel > span.bad {
  color: var(--red);
}
.ocal-sel > span.warn {
  color: var(--amber);
}
.ocal-sel .linkbtn {
  align-self: flex-start;
}
.ocal-acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ocal-acts .btn {
  min-height: 44px;
}
@media (max-width: 899px) {
  .ocal-acts .btn {
    flex: 1 1 0;
  }
}
.osync-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.osync-ico {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--violet-soft);
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.osync-head > span:last-child {
  display: flex;
  flex-direction: column;
}
.osync-head b {
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
}
.osync-head small,
.osync small.muted {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.ocap {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.olink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--field);
  border-radius: 10px;
  background: var(--hd-surface, #fff);
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}
.olink > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.olink > svg {
  flex: 0 0 auto;
  color: var(--muted2);
}
.olink.bad {
  color: var(--red);
}
.olink.muted {
  color: var(--muted);
}
.olink-acts {
  display: flex;
  gap: 8px;
}
.olink-acts .btn {
  flex: 1 1 0;
  min-height: 44px;
}
.osync-feeds {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line2);
  padding-top: 12px;
}
.osync-feeds > span {
  display: flex;
  flex-direction: column;
}
.ofeed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line2);
}
.ofeed-ico {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--hd-subtle2, #EEF0F3);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.ofeed-ico.airbnb {
  background: var(--hd-red-tint, #FFE4E8);
  color: var(--hd-red-ink, #E11D48);
}
.ofeed-ico.booking {
  background: var(--hd-blue-tint2, #DCE7FB);
  color: var(--hd-blue-ink, #1E3A8A);
}
.ofeed-txt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ofeed-txt b {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ofeed-txt small {
  font-size: 12px;
  line-height: 16px;
}
.ofeed-txt small.ok {
  color: var(--hd-green-ink, #15803D);
}
.ofeed-txt small.bad {
  color: var(--red);
}
.ofeed-txt small.muted {
  color: var(--muted2);
}
.ofeed-sync {
  min-height: 40px;
  padding: 0 12px;
}
.ofeed-del {
  flex: 0 0 40px;
  width: 40px;
  min-height: 40px;
  padding: 0;
  justify-content: center;
}
.oplats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.oplats button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--field);
  border-radius: 999px;
  background: var(--hd-surface, #fff);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.oplats button[aria-checked=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--card);
}
.dnote.green {
  color: var(--hd-green-ink, #14532D);
  background: var(--hd-green-tint, #F0FDF4);
  border: 1px solid var(--hd-green-line, #BBF7D0);
}
.dnote.red {
  color: var(--hd-red-ink, #991B1B);
  background: var(--hd-red-tint, #FEF2F2);
  border: 1px solid var(--hd-red-line, #FECACA);
}
.dnote:not(.amber):not(.green):not(.red) {
  background: var(--hd-subtle, #F7F8FA);
  color: var(--ink);
}
.dnote p {
  margin: 6px 0 0;
}
.dnote .linkbtn {
  min-height: 32px;
  padding: 0 2px;
}
.opts-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.opt-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--field);
  border-radius: 12px;
  background: var(--hd-surface, #fff);
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.opt-card b {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.opt-card small {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted2);
}
.opt-card[aria-checked=true] {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.btn-redsoft {
  background: var(--hd-red-tint, #FFF5F5);
  border-color: var(--hd-red-line, #F8C9C9);
  color: var(--hd-red-ink, #C62828);
}
.btn-redsoft:hover {
  background: var(--hd-red-tint, #FEE2E2);
  color: var(--hd-red-ink, #B71C1C);
}
.opause {
  display: grid;
  gap: 12px;
  background: var(--hd-subtle, #F7F8FA);
  border-radius: 12px;
  padding: 12px 14px;
}
@media (min-width: 900px) {
  .opause {
    grid-template-columns: 1fr 1fr;
  }
}
.opause ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.opause li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
}
.opause li > span:first-child {
  flex: 0 0 14px;
  font-weight: 700;
}
.opause li.off > span:first-child {
  color: var(--muted2);
}
.opause li.ok > span:first-child {
  color: var(--hd-green-ink, #15803D);
}
.opause li b {
  display: block;
  font-weight: 600;
}
.opause li small {
  display: block;
  color: var(--muted);
}
.opause-tariff {
  gap: 6px;
  padding: 12px 14px;
  font-size: 13px;
}
.opause-tariff > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.opause-tariff b.ok {
  color: var(--hd-green-ink, #15803D);
}
.dhero-tool {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--hd-surface, #fff);
  color: var(--hd-ink2, #374151);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dhero-tool:hover {
  color: var(--link);
}
.dthumbs .dthumb-add {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 1px dashed var(--hd-line2, #B9C0CC);
  border-radius: 8px;
  background: var(--hd-surface, #fff);
  color: var(--link);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  box-shadow: none;
}
.dthumbs .dthumb-add:hover {
  border-color: var(--blue);
  background: var(--hd-blue-tint, #F5F9FF);
}
@media (min-width: 900px) {
  .sheet.sheet-photos {
    max-width: min(760px, calc(100% - 32px));
  }
}
.oph-wrap {
  display: contents;
}
.ophs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-radius: 12px;
}
.ophs.drop-ok {
  outline: 2px dashed var(--blue);
  outline-offset: 4px;
}
.oph {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--hd-surface, #fff);
  overflow: hidden;
}
.oph[draggable=true] {
  cursor: grab;
}
.oph-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--hd-subtle2, #E4E7EC);
}
.oph-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oph-img em {
  position: absolute;
  top: 8px;
  left: 8px;
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  color: #fff;
  background: rgba(17, 24, 39, .6);
  border-radius: 999px;
  padding: 2px 8px;
}
.oph-img em.cover {
  background: var(--blue);
}
.oph-tools {
  display: grid;
  grid-template-columns: 40px 40px 40px minmax(0, 1fr) 40px;
  gap: 4px;
  padding: 8px;
  align-items: center;
}
.oph-cov {
  min-height: 40px;
}
.oph-tools > .btn-redsoft {
  grid-column: 5;
}
.oph-cov.on {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  border-radius: 10px;
  background: var(--hd-amber-soft, #FEF3C7);
  color: #B45309;
}
.oph-cov.on svg {
  fill: currentColor;
}
.oph.add {
  border-style: dashed;
  border-color: var(--hd-blue-line, #9DC1EE);
}
.oph.add button {
  flex: 1;
  min-height: 160px;
  border: 0;
  background: var(--hd-surface, #fff);
  color: var(--link);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.oph.add button:hover {
  background: var(--hd-blue-tint, #F5F9FF);
}
.oph.add b {
  font-size: 14px;
  font-weight: 600;
}
.oph.add small {
  font-size: 12px;
  color: var(--muted2);
}
.oph-status {
  min-height: 18px;
}
.oph-status.bad {
  color: var(--red);
}
.oph-status .linkbtn {
  min-height: 0;
  padding: 0;
}
.oph-del img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
}
@media (max-width: 899px) {
  .ophs {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .oph {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 8px;
  }
  .oph-img {
    flex: 0 0 96px;
    height: 72px;
    aspect-ratio: auto;
    border-radius: 8px;
    overflow: hidden;
  }
  .oph-img em {
    top: 4px;
    left: 4px;
    font-size: 11px;
    padding: 1px 6px;
  }
  .oph-tools {
    flex: 1 1 auto;
    padding: 0;
  }
  .oph.add {
    padding: 0;
  }
  .oph.add button {
    min-height: 64px;
    flex-direction: row;
    gap: 8px;
  }
}
.oe-pass {
  display: flex;
  gap: 8px;
}
.oe-pass input {
  flex: 1 1 auto;
  min-width: 0;
}
.oe-pass .btn {
  flex: 0 0 auto;
  min-height: 44px;
}
.dnote > svg {
  vertical-align: -2px;
}
.osite-state {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--hd-subtle, #F7F8FA);
  font-size: 14px;
  line-height: 20px;
}
.osite-state > span {
  flex: 0 0 8px;
  height: 8px;
  border-radius: 999px;
  background: #9AA1AE;
}
.osite-state.on > span {
  background: #15803D;
}
.osite-state.review > span,
.osite-state.paused > span,
.osite-state.consent > span {
  background: var(--amber);
}
.osite-state.returned > span {
  background: var(--red);
}
.osite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.osite-row > span {
  display: flex;
  flex-direction: column;
}
.osite-row b {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.osite-row small {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted2);
}
.oph-cov.on svg {
  flex: none;
}
@media (max-width: 899px) {
  .dthumbs .dthumb-add {
    font-size: 11px;
  }
}
