.hertz-dev-modal-root,
.hertz-dev-sheet-root,
.hertz-dev-toolbar,
.hertz-dev-resize-frame,
.hertz-dev-rotating-panel,
.hertz-dev-toast {
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.hertz-dev-modal-open,
html.hertz-dev-modal-open body {
  overscroll-behavior: none;
}

html.hertz-dev-modal-open body,
html.hertz-dev-mode-active body,
html.hertz-dev-suppress-hash-restore body {
  animation: none !important;
  transform: none !important;
}

.hertz-dev-modal-root {
  position: fixed;
  inset: 0;
  z-index: 2147483400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(24, 28, 34, 0.42);
  backdrop-filter: blur(10px);
  overscroll-behavior: contain;
  touch-action: none;
}

.hertz-dev-modal-root.is-enter-confirm {
  align-items: center;
  padding-top: max(18px, env(safe-area-inset-top));
  padding-bottom: max(18px, env(safe-area-inset-bottom));
}

.hertz-dev-modal-root[hidden],
.hertz-dev-sheet-root[hidden],
.hertz-dev-toolbar[hidden],
.hertz-dev-resize-frame[hidden],
.hertz-dev-rotating-panel[hidden],
.hertz-dev-toast[hidden] {
  display: none !important;
}

.hertz-dev-dialog {
  width: min(100%, 360px);
  border: 1px solid rgba(35, 51, 67, 0.16);
  border-radius: 8px;
  background: #fff8f5;
  box-shadow: 0 22px 56px rgba(35, 51, 67, 0.26);
  overflow: hidden;
  touch-action: auto;
}

.hertz-dev-dialog-header,
.hertz-dev-sheet-header {
  padding: 16px 18px 10px;
}

.hertz-dev-kicker {
  margin: 0 0 4px;
  color: #f47a20;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hertz-dev-title {
  margin: 0;
  color: #233343;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
}

.hertz-dev-note {
  margin: 8px 0 0;
  color: #574237;
  font-size: 14px;
  line-height: 20px;
}

.hertz-dev-form,
.hertz-dev-dialog-body {
  padding: 0 18px 18px;
}

.hertz-dev-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.hertz-dev-label {
  color: #233343;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
}

.hertz-dev-input,
.hertz-dev-textarea {
  width: 100%;
  border: 1px solid rgba(35, 51, 67, 0.22);
  border-radius: 8px;
  background: #ffffff;
  color: #241913;
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.hertz-dev-input {
  height: 46px;
  padding: 0 12px;
}

.hertz-dev-textarea {
  min-height: 118px;
  max-height: 220px;
  padding: 12px;
  resize: vertical;
}

.hertz-dev-input:focus,
.hertz-dev-textarea:focus {
  border-color: #f47a20;
  box-shadow: 0 0 0 3px rgba(244, 122, 32, 0.16);
}

.hertz-dev-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 18px;
}

.hertz-dev-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  line-height: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, opacity 0.16s ease;
}

.hertz-dev-button:active {
  transform: scale(0.98);
}

.hertz-dev-button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.hertz-dev-button-primary {
  background: #f47a20;
  color: #ffffff;
}

.hertz-dev-button-secondary {
  background: #fff1eb;
  color: #233343;
}

.hertz-dev-button-danger {
  background: #233343;
  color: #ffffff;
}

.hertz-dev-error {
  min-height: 18px;
  margin: 10px 0 0;
  color: #ba1a1a;
  font-size: 13px;
  line-height: 18px;
}

.hertz-dev-toolbar {
  position: static;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 8px;
}

.hertz-dev-toolbar .hertz-dev-button {
  min-height: 32px;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 16px;
}

.hertz-dev-panel-root {
  position: fixed;
  inset: 0;
  z-index: 2147483300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(35, 51, 67, 0.22);
}

.hertz-dev-panel-root[hidden] {
  display: none;
}

.hertz-dev-panel {
  width: min(100%, 420px);
  border: 1px solid rgba(35, 51, 67, 0.16);
  border-radius: 8px;
  background: #fff8f5;
  box-shadow: 0 18px 44px rgba(35, 51, 67, 0.24);
}

.hertz-dev-panel-header,
.hertz-dev-panel-body {
  padding: 14px;
}

.hertz-dev-panel-header {
  border-bottom: 1px solid rgba(35, 51, 67, 0.1);
}

.hertz-dev-panel-title {
  margin: 0;
  color: #233343;
  font-size: 16px;
  line-height: 22px;
  font-weight: 900;
}

.hertz-dev-panel-note {
  margin: 4px 0 0;
  color: rgba(35, 51, 67, 0.72);
  font-size: 12px;
  line-height: 17px;
}

.hertz-dev-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.hertz-dev-field label {
  color: #233343;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
}

.hertz-dev-field input[type="range"] {
  width: 100%;
  accent-color: #f47a20;
}

.hertz-dev-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px dashed rgba(244, 122, 32, 0.64);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.74);
  color: #233343;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  cursor: pointer;
}

.hertz-dev-file-button:hover {
  border-color: #f47a20;
  color: #f47a20;
}

.hertz-dev-color-panel {
  position: fixed;
  z-index: 2147483300;
  width: min(300px, calc(100vw - 24px));
  border: 1px solid rgba(35, 51, 67, 0.16);
  border-radius: 8px;
  padding: 12px;
  background: #fff8f5;
  box-shadow: 0 16px 38px rgba(35, 51, 67, 0.24);
}

.hertz-dev-color-panel[hidden] {
  display: none;
}

.hertz-dev-color-title {
  margin: 0 0 10px;
  color: #233343;
  font-size: 13px;
  line-height: 18px;
  font-weight: 900;
}

.hertz-dev-color-swatches {
  display: grid;
  grid-template-columns: repeat(5, 34px);
  gap: 8px;
  margin-bottom: 12px;
}

.hertz-dev-color-swatch {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(35, 51, 67, 0.18);
  border-radius: 999px;
  padding: 0;
  background: var(--hertz-dev-swatch);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.74);
}

.hertz-dev-color-inputs {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  align-items: center;
}

.hertz-dev-color-inputs input[type="color"] {
  width: 44px;
  height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
}

.hertz-dev-color-inputs input[type="text"] {
  min-width: 0;
  height: 36px;
  border: 1px solid rgba(35, 51, 67, 0.18);
  border-radius: 8px;
  padding: 0 10px;
  color: #233343;
  font-size: 13px;
  line-height: 18px;
  text-transform: uppercase;
}

.hertz-dev-color-error {
  min-height: 17px;
  margin: 7px 0 0;
  color: #ba1a1a;
  font-size: 12px;
  line-height: 17px;
}

html.hertz-dev-mode-active [data-hertz-editable-text] {
  position: relative;
  cursor: pointer;
  min-width: 1.2em;
  min-height: 1.2em;
  outline: none;
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: rgba(244, 122, 32, 0.78);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

html [data-hertz-editable-text][data-hertz-multiline-text],
html [data-hertz-editable-text][data-hertz-multiline-text] .hertz-text-type-live,
html [data-hertz-editable-text][data-hertz-multiline-text] [data-text-type-output],
html [data-hertz-editable-text][data-hertz-multiline-text] .hertz-text-type-ghost {
  white-space: pre-line;
}

html [data-hertz-editable-text][data-hertz-text-x],
html [data-hertz-editable-text][data-hertz-text-y] {
  translate: var(--hertz-dev-text-x, 0px) var(--hertz-dev-text-y, 0px);
}

html .hertz-rotating-heading[data-hertz-heading-text-x],
html .hertz-rotating-heading[data-hertz-heading-text-y] {
  translate: var(--hertz-dev-heading-x, 0px) var(--hertz-dev-heading-y, 0px);
}

html.hertz-dev-mode-active [data-hertz-editable-text][data-hertz-text-x],
html.hertz-dev-mode-active [data-hertz-editable-text][data-hertz-text-y],
html.hertz-dev-mode-active [data-hertz-editable-text].is-dev-position-dragging,
html.hertz-dev-mode-active .hertz-rotating-heading[data-hertz-heading-text-x],
html.hertz-dev-mode-active .hertz-rotating-heading[data-hertz-heading-text-y] {
  will-change: transform, translate;
}

html .hertz-rotating-heading[data-hertz-heading-text-x] [data-hertz-editable-text="hero_brand_title"],
html .hertz-rotating-heading[data-hertz-heading-text-y] [data-hertz-editable-text="hero_brand_title"] {
  translate: 0 0 !important;
}

html.hertz-dev-mode-active [data-hertz-editable-text][data-hertz-live-scale] {
  scale: var(--hertz-dev-live-scale, 1);
  transform-origin: 50% 50%;
  will-change: transform, scale;
}

html.hertz-dev-text-position-dragging,
html.hertz-dev-text-position-dragging body,
html.hertz-dev-text-resizing,
html.hertz-dev-text-resizing body {
  cursor: grabbing !important;
  user-select: none;
  touch-action: none;
}

html.hertz-dev-mode-active [data-hertz-editable-text].is-dev-position-dragging {
  cursor: grabbing;
  text-decoration-style: solid;
  text-decoration-color: #f47a20;
  touch-action: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}

html.hertz-dev-text-resizing [data-hertz-editable-text][data-hertz-live-scale] {
  backface-visibility: hidden;
  transform: translateZ(0);
}

html.hertz-dev-mode-active span[data-hertz-editable-text],
html.hertz-dev-mode-active a[data-hertz-editable-text],
html.hertz-dev-mode-active [data-hertz-editable-text] [contenteditable="plaintext-only"],
html.hertz-dev-mode-active [data-hertz-dev-heading-rest] {
  display: inline-block;
  min-width: 1.2em;
  min-height: 1.2em;
}

html.hertz-dev-mode-active [data-hertz-editable-text]:hover {
  text-decoration-color: #f47a20;
  background: rgba(244, 122, 32, 0.045);
}

html.hertz-dev-mode-active [data-hertz-rotating-words-control] {
  cursor: pointer;
  outline: 1px dashed rgba(244, 122, 32, 0.78);
  outline-offset: 3px;
}

html.hertz-dev-mode-active [data-hertz-rotating-words-control]:hover {
  outline-color: #f47a20;
  background: rgba(244, 122, 32, 0.06);
}

html.hertz-dev-mode-active [data-hertz-hero-background] {
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

html.hertz-dev-mode-active .hertz-hero-section [data-hertz-editable-text="hero_intro"] {
  display: inline-block;
  width: fit-content;
  max-width: min(32rem, calc(100vw - 32px));
  min-height: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-line;
}

html.hertz-dev-mode-active .hertz-hero-section [data-hertz-editable-text="hero_intro"] .hertz-text-type-live,
html.hertz-dev-mode-active .hertz-hero-section [data-hertz-editable-text="hero_intro"] [data-text-type-output],
html.hertz-dev-mode-active .hertz-hero-section [data-hertz-editable-text="hero_intro"] .hertz-text-type-ghost {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-line;
}

html [data-hertz-text-color],
html [data-hertz-text-color].hertz-text-type {
  color: var(--hertz-dev-text-color) !important;
}

html [data-hertz-text-color] .hertz-text-type-live,
html [data-hertz-text-color] [data-text-type-output],
html [data-hertz-text-color] .hertz-text-type-ghost {
  color: inherit !important;
}

html [data-hertz-text-color] .text-hertz-orange {
  color: #f47a20 !important;
}

html.hertz-dev-mode-active [data-hertz-team-image] {
  cursor: pointer;
}

html.hertz-dev-mode-active [data-hertz-team-image]::after {
  content: "替換照片";
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(35, 51, 67, 0.84);
  color: #ffffff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

html.hertz-dev-mode-active [data-hertz-team-image]:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.hertz-dev-sheet-root {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  pointer-events: none;
}

.hertz-dev-sheet {
  position: fixed;
  width: min(100%, 680px);
  border: 1px solid rgba(35, 51, 67, 0.16);
  border-radius: 8px;
  background: #fff8f5;
  box-shadow: 0 18px 44px rgba(35, 51, 67, 0.24);
  pointer-events: auto;
}

.hertz-dev-rotating-panel {
  position: fixed;
  z-index: 2147483250;
  pointer-events: none;
}

.hertz-dev-rotating-card {
  width: min(320px, calc(100vw - 24px));
  border: 1px solid rgba(35, 51, 67, 0.16);
  border-radius: 8px;
  background: #fff8f5;
  box-shadow: 0 18px 44px rgba(35, 51, 67, 0.24);
  pointer-events: auto;
}

.hertz-dev-sheet-header {
  padding: 8px 10px 6px;
}

.hertz-dev-sheet-header .hertz-dev-kicker,
.hertz-dev-sheet-header .hertz-dev-note {
  display: none;
}

.hertz-dev-sheet-header .hertz-dev-title {
  font-size: 13px;
  line-height: 18px;
}

.hertz-dev-sheet-body {
  padding: 0 10px 10px;
}

.hertz-dev-inline-textarea {
  min-height: var(--hertz-dev-editor-height, 48px);
  max-height: min(220px, calc(100vh - 170px));
  overflow: auto;
  font: inherit;
}

html.hertz-dev-mode-active [data-hertz-editable-text].is-dev-editing {
  text-decoration-style: solid;
  text-decoration-thickness: 2px;
  text-decoration-color: #f47a20;
  background: rgba(244, 122, 32, 0.065);
}

html.hertz-dev-mode-active [data-hertz-editable-text][data-hertz-empty="true"]::before {
  content: "\9ede\64ca\8f38\5165\6587\5b57";
  display: inline-block;
  min-width: 1.2em;
  color: rgba(244, 122, 32, 0.68);
  font: inherit;
  pointer-events: none;
}

html.hertz-dev-mode-active [data-hertz-editable-text].is-dev-editing::after {
  content: attr(data-hertz-dev-count);
  position: absolute;
  right: 0;
  top: -28px;
  z-index: 2147481000;
  min-width: max-content;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(35, 51, 67, 0.9);
  color: #ffffff;
  font-size: 11px;
  line-height: 14px;
  font-weight: 800;
  letter-spacing: 0;
  pointer-events: none;
  white-space: nowrap;
}

html.hertz-dev-mode-active [data-hertz-editable-text].is-dev-editing.is-dev-overlimit::after {
  background: rgba(186, 26, 26, 0.94);
}

html.hertz-dev-mode-active [data-hertz-editable-text].is-dev-editing,
html.hertz-dev-mode-active [data-hertz-editable-text] [contenteditable="true"],
html.hertz-dev-mode-active [data-hertz-editable-text] [contenteditable="plaintext-only"] {
  caret-color: #f47a20;
  touch-action: manipulation;
  user-select: text;
  -webkit-user-select: text;
  -webkit-touch-callout: default;
  white-space: pre-wrap;
}

html.hertz-dev-mode-active [data-hertz-editable-text]:focus,
html.hertz-dev-mode-active [data-hertz-editable-text] [contenteditable="true"]:focus,
html.hertz-dev-mode-active [data-hertz-editable-text] [contenteditable="plaintext-only"]:focus {
  outline: none;
}

.hertz-dev-resize-frame {
  position: fixed;
  z-index: 2147483150;
  box-sizing: border-box;
  border: 1px solid #111111;
  pointer-events: none;
  will-change: left, top, width, height;
}

.hertz-dev-resize-frame.is-position-centered {
  border-color: #f47a20;
}

.hertz-dev-resize-frame.is-position-centered::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  bottom: -10px;
  border-left: 1px dashed rgba(244, 122, 32, 0.72);
  pointer-events: none;
}

.hertz-dev-resize-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid #111111;
  border-radius: 50%;
  background: #ffffff;
  padding: 0;
  pointer-events: auto;
  touch-action: none;
}

.hertz-dev-resize-handle.is-nw {
  left: -7px;
  top: -7px;
  cursor: nwse-resize;
}

.hertz-dev-resize-handle.is-ne {
  right: -7px;
  top: -7px;
  cursor: nesw-resize;
}

.hertz-dev-resize-handle.is-sw {
  left: -7px;
  bottom: -7px;
  cursor: nesw-resize;
}

.hertz-dev-resize-handle.is-se {
  right: -7px;
  bottom: -7px;
  cursor: nwse-resize;
}

.hertz-dev-resize-tools {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: min(320px, calc(100vw - 24px));
  max-width: min(420px, calc(100vw - 24px));
  border: 1px solid rgba(35, 51, 67, 0.16);
  border-radius: 8px;
  padding: 5px 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(35, 51, 67, 0.16);
  color: #233343;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  pointer-events: auto;
}

.hertz-dev-resize-tools [data-hertz-position-value] {
  color: #f47a20;
}

.hertz-dev-resize-tools button {
  border: 0;
  border-radius: 6px;
  padding: 4px 7px;
  background: #233343;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

.hertz-dev-counter {
  margin-top: 8px;
  color: #574237;
  font-size: 12px;
  line-height: 16px;
  text-align: right;
}

.hertz-dev-counter.is-over {
  color: #ba1a1a;
  font-weight: 800;
}

.hertz-dev-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  z-index: 2147483500;
  max-width: min(88vw, 360px);
  transform: translateX(-50%);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(35, 51, 67, 0.94);
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(35, 51, 67, 0.24);
}

.hertz-hero-bg-layer img.hertz-hero-carousel-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 0%;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}

.hertz-hero-bg-layer img.hertz-hero-carousel-image.is-active {
  opacity: var(--hertz-hero-bg-opacity);
}

.hertz-masonry-img .hertz-carousel-layer {
  position: absolute;
  inset: 0;
  display: block;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}

.hertz-masonry-img .hertz-carousel-layer.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hertz-hero-bg-layer img.hertz-hero-carousel-image,
  .hertz-masonry-img .hertz-carousel-layer {
    transition: none;
    will-change: auto;
  }
}

@media (max-width: 420px) {
  .hertz-dev-toolbar .hertz-dev-button {
    min-height: 30px;
    padding: 5px 7px;
    font-size: 11px;
  }
}
