/* ROBERIN travel time calculator — Phase 1 reference-first tool redesign v2 */
.travel-time-calculator {
  --tt-paper: #f8efe2;
  --tt-paper-strong: #fff8ed;
  --tt-panel: #fff8ed;
  --tt-panel-muted: #f3e3cf;
  --tt-green: #e2edd8;
  --tt-line: #6b5745;
  --tt-line-soft: rgba(107, 87, 69, 0.34);
  --tt-text: #34281f;
  --tt-muted: #574838;
  --tt-brown: #7a412f;
  --tt-accent: #d2aa55;
  --tt-focus: #4f7d94;
  --tt-success: #587442;
  --tt-danger: #9b4b35;
  --tt-shadow-sm: 2px 2px 0 rgba(82, 65, 50, 0.16);
  --tt-shadow-md: 4px 4px 0 rgba(82, 65, 50, 0.18);
  --tt-shadow-lg: 8px 8px 0 rgba(82, 65, 50, 0.18);
  width: min(100%, 1180px);
  margin: 20px auto 22px;
  padding: clamp(16px, 2.2vw, 24px);
  color: var(--tt-text);
  background:
    linear-gradient(rgba(107, 87, 69, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, 0.03) 1px, transparent 1px),
    var(--tt-paper);
  background-size: 22px 22px, 22px 22px, auto;
  border: 2px solid var(--tt-line);
  border-radius: 18px;
  box-shadow: var(--tt-shadow-lg);
  font-family: 'Noto Sans KR', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  overflow: hidden;
}

.travel-time-calculator,
.travel-time-calculator *,
.travel-time-calculator *::before,
.travel-time-calculator *::after {
  box-sizing: border-box;
}

.travel-time-calculator :where(button, input, select) {
  max-width: 100%;
  min-width: 0;
  font: inherit;
}

.travel-time-calculator :where(input, select) {
  -webkit-text-fill-color: var(--tt-text);
}

.travel-time-calculator .calculator-header {
  position: relative;
  margin: 0 0 16px;
  padding: 0 0 14px;
  text-align: center;
  border-bottom: 3px double var(--tt-line);
}

.travel-time-calculator .calculator-header::before {
  content: "travel time";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  padding: 4px 10px;
  color: var(--tt-brown);
  background: var(--tt-green);
  border: 1px solid var(--tt-line);
  border-radius: 999px;
  box-shadow: var(--tt-shadow-sm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.travel-time-calculator .calculator-header h2 {
  margin: 0 0 6px;
  color: var(--tt-text);
  -webkit-text-fill-color: var(--tt-text);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.04em;
  text-shadow: 1px 1px 0 rgba(255, 248, 237, 0.9);
}

.travel-time-calculator .subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 14px;
  font-weight: 650;
}

.travel-time-calculator .quick-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.travel-time-calculator :where(.btn-example, .btn-clear, .btn-primary, .btn-secondary, .btn-compare, .btn-save, .btn-delete, .tab-btn) {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--tt-text);
  -webkit-text-fill-color: var(--tt-text);
  background: var(--tt-panel);
  border: 1.5px solid var(--tt-line);
  border-radius: 12px;
  box-shadow: var(--tt-shadow-sm);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease, border-color .14s ease;
}

.travel-time-calculator :where(.btn-example, .btn-clear):hover,
.travel-time-calculator :where(.btn-primary, .btn-secondary, .btn-compare, .btn-save, .btn-delete, .tab-btn):hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.18);
}

.travel-time-calculator :where(.btn-example, .btn-clear, .btn-primary, .btn-secondary, .btn-compare, .btn-save, .btn-delete, .tab-btn):focus-visible,
.travel-time-calculator :where(input, select):focus-visible {
  outline: 3px solid rgba(79, 125, 148, 0.34);
  outline-offset: 2px;
}

.travel-time-calculator .btn-example {
  background: var(--tt-green);
}

.travel-time-calculator .btn-clear,
.travel-time-calculator .btn-secondary {
  background: #f0dfc4;
}

.travel-time-calculator :where(.btn-primary, .btn-compare, .btn-save) {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: var(--tt-accent);
  border-width: 2px;
  box-shadow: 4px 4px 0 rgba(82, 65, 50, 0.22);
}

.travel-time-calculator .btn-delete {
  min-height: 34px;
  padding: 7px 12px;
  color: #fff8ed;
  -webkit-text-fill-color: #fff8ed;
  background: var(--tt-danger);
}

.travel-time-calculator .main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 16px;
  margin: 0 0 16px;
  align-items: start;
}

.travel-time-calculator .left-column,
.travel-time-calculator .right-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.travel-time-calculator .bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.8fr);
  gap: 16px;
  margin: 0 0 16px;
  align-items: start;
}

.travel-time-calculator .section {
  min-width: 0;
  padding: clamp(14px, 2vw, 18px);
  color: var(--tt-text);
  background: var(--tt-panel);
  border: 1.5px solid var(--tt-line);
  border-radius: 16px;
  box-shadow: var(--tt-shadow-md);
}

.travel-time-calculator .basic-section {
  background: linear-gradient(135deg, rgba(226, 237, 216, 0.72), var(--tt-panel));
  border-width: 2px;
}

.travel-time-calculator .result-section,
.travel-time-calculator .time-section {
  background: rgba(255, 248, 237, 0.88);
}

.travel-time-calculator .section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0 0 9px;
  color: var(--tt-brown);
  -webkit-text-fill-color: var(--tt-brown);
  border-bottom: 1.5px dashed var(--tt-line);
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 850;
  line-height: 1.25;
}

.travel-time-calculator .input-group {
  min-width: 0;
  margin: 0 0 12px;
}

.travel-time-calculator .input-group label,
.travel-time-calculator .speed-label,
.travel-time-calculator .unit-label {
  display: block;
  margin: 0 0 5px;
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.travel-time-calculator :where(.input-field, .unit-select, .speed-control input) {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--tt-text);
  -webkit-text-fill-color: var(--tt-text);
  background: var(--tt-paper-strong);
  border: 1.5px solid var(--tt-line);
  border-radius: 11px;
  box-shadow: inset 1px 1px 0 rgba(82, 65, 50, 0.08);
  font-size: 15px;
  font-weight: 750;
}

.travel-time-calculator :where(.input-field, .unit-select, .speed-control input):focus {
  border-color: var(--tt-focus);
  background: #fff8ed;
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 125, 148, 0.18), inset 1px 1px 0 rgba(82, 65, 50, 0.08);
}

.travel-time-calculator :where(.input-field, .unit-select)::placeholder {
  color: rgba(87, 72, 56, 0.64);
  -webkit-text-fill-color: rgba(87, 72, 56, 0.64);
}

.travel-time-calculator .input-with-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.travel-time-calculator .input-with-unit .input-field {
  flex: 1 1 auto;
}

.travel-time-calculator .unit-select {
  flex: 0 0 auto;
  width: auto;
  min-width: 82px;
}

.travel-time-calculator .unit-label {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

.travel-time-calculator #customSpeedBox {
  margin: -2px 0 12px;
  padding: 12px;
  background: rgba(226, 237, 216, 0.56);
  border: 1px dashed var(--tt-line);
  border-radius: 12px;
}

.travel-time-calculator .button-row,
.travel-time-calculator .speed-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.travel-time-calculator .button-row > *,
.travel-time-calculator .speed-actions > * {
  flex: 1 1 0;
  min-width: 0;
}

.travel-time-calculator :where(.result-display, .time-result, .comparison-result, .saved-routes) {
  min-height: 116px;
  margin-top: 12px;
  padding: 12px;
  color: var(--tt-text);
  background: rgba(248, 239, 226, 0.72);
  border: 1.5px dashed var(--tt-line);
  border-radius: 14px;
  box-shadow: inset 1px 1px 0 rgba(82, 65, 50, 0.07);
}

.travel-time-calculator .comparison-result,
.travel-time-calculator .saved-routes {
  max-height: 290px;
  overflow: auto;
}

.travel-time-calculator .result-empty,
.travel-time-calculator .empty-state {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  text-align: center;
  font-size: 14px;
  font-weight: 650;
}

.travel-time-calculator .empty-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--tt-green);
  border: 1px solid var(--tt-line);
  border-radius: 50%;
  box-shadow: var(--tt-shadow-sm);
  font-size: 20px;
}

.travel-time-calculator .result-box {
  display: grid;
  gap: 7px;
  margin: 0 0 10px;
  padding: 11px;
  background: var(--tt-panel);
  border: 1px solid var(--tt-line-soft);
  border-radius: 12px;
}

.travel-time-calculator .result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 3px 0;
  color: var(--tt-text);
}

.travel-time-calculator .result-label {
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 13px;
  font-weight: 750;
}

.travel-time-calculator .result-value {
  color: var(--tt-brown);
  -webkit-text-fill-color: var(--tt-brown);
  font-weight: 850;
  text-align: right;
}

.travel-time-calculator .result-time-big {
  margin: 10px 0 0;
  padding: 14px 12px;
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: var(--tt-accent);
  border: 2px solid var(--tt-line);
  border-radius: 14px;
  box-shadow: var(--tt-shadow-md);
  text-align: center;
  font-size: clamp(24px, 3.1vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.travel-time-calculator .compare-input-row,
.travel-time-calculator .route-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  min-width: 0;
}

.travel-time-calculator .compare-input-row .flex-grow,
.travel-time-calculator .route-inputs {
  flex: 1 1 auto;
  min-width: 0;
}

.travel-time-calculator .compare-item,
.travel-time-calculator .route-item,
.travel-time-calculator .speed-item {
  min-width: 0;
  padding: 10px 11px;
  color: var(--tt-text);
  background: var(--tt-panel);
  border: 1px solid var(--tt-line-soft);
  border-radius: 12px;
}

.travel-time-calculator .compare-item {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(72px, .65fr) minmax(92px, .85fr);
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.travel-time-calculator .compare-item.fastest {
  background: rgba(226, 237, 216, 0.78);
  border-color: rgba(88, 116, 66, 0.7);
}

.travel-time-calculator .compare-item.slowest {
  background: rgba(210, 170, 85, 0.16);
}

.travel-time-calculator .compare-name,
.travel-time-calculator .route-name {
  color: var(--tt-text);
  -webkit-text-fill-color: var(--tt-text);
  font-weight: 850;
}

.travel-time-calculator .compare-speed,
.travel-time-calculator .route-details {
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 13px;
  font-weight: 650;
}

.travel-time-calculator .compare-time,
.travel-time-calculator .route-time {
  color: var(--tt-brown);
  -webkit-text-fill-color: var(--tt-brown);
  font-weight: 900;
  text-align: right;
}

.travel-time-calculator .time-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 4px;
  background: rgba(107, 87, 69, 0.08);
  border: 1px solid var(--tt-line-soft);
  border-radius: 14px;
}

.travel-time-calculator .tab-btn {
  min-height: 40px;
  padding: 9px 12px;
  box-shadow: none;
  border-color: transparent;
  background: transparent;
}

.travel-time-calculator .tab-btn.active {
  background: var(--tt-panel);
  border-color: var(--tt-line);
  box-shadow: var(--tt-shadow-sm);
}

.travel-time-calculator .tab-panel {
  display: none;
}

.travel-time-calculator .tab-panel.active {
  display: block;
}

.travel-time-calculator .route-form {
  align-items: stretch;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(248, 239, 226, 0.72);
  border: 1px dashed var(--tt-line);
  border-radius: 14px;
}

.travel-time-calculator .route-inputs {
  display: grid;
  grid-template-columns: 1.15fr .75fr .85fr;
  gap: 8px;
  align-items: end;
}

.travel-time-calculator .route-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
}

.travel-time-calculator .speed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.travel-time-calculator .speed-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.travel-time-calculator .speed-label {
  margin: 0;
}

.travel-time-calculator .speed-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.travel-time-calculator .speed-control input {
  width: 74px;
  min-height: 38px;
  padding: 7px 8px;
  text-align: center;
}

.travel-time-calculator .speed-control span {
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.travel-time-calculator .footer-note {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 13px 15px;
  color: var(--tt-muted);
  background: rgba(226, 237, 216, 0.58);
  border: 1px dashed var(--tt-line);
  border-radius: 15px;
  text-align: center;
}

.travel-time-calculator .footer-note p {
  margin: 0;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  font-size: 13px;
  font-weight: 650;
}

.toast-message {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 10000;
  max-width: min(420px, calc(100vw - 36px));
  padding: 13px 16px;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  background: #fff8ed;
  border: 2px solid #6b5745;
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(82, 65, 50, 0.22);
  font-weight: 800;
}

.toast-success {
  background: #e2edd8;
}

.toast-error {
  color: #fff8ed;
  -webkit-text-fill-color: #fff8ed;
  background: #9b4b35;
}

/* Ad wrappers around this tool stay frameless; spacing is verified separately. */
.entry-content > .travel-time-calculator-ad,
.entry-content > .travel-time-calculator-ad--after-tool,
.entry-content > .travel-time-calculator-ad--bottom,
.entry-content > .travel-time-calculator + .roberin-ad,
.entry-content > .travel-time-calculator + ins.adsbygoogle {
  display: block;
  width: min(100%, 1180px);
  max-width: 100%;
  margin: 24px auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
  text-align: center;
}

.entry-content > .travel-time-calculator-ad + .wp-block-group.content1,
.entry-content > .travel-time-calculator-ad--after-tool + .wp-block-group.content1,
.entry-content > .travel-time-calculator-ad + article,
.entry-content > .travel-time-calculator-ad--after-tool + article,
.entry-content > .travel-time-calculator-ad + article > :first-child,
.entry-content > .travel-time-calculator-ad--after-tool + article > :first-child,
.entry-content > .travel-time-calculator-ad + article > .content1,
.entry-content > .travel-time-calculator-ad--after-tool + article > .content1,
.entry-content > .travel-time-calculator + .roberin-ad + .wp-block-group.content1,
.entry-content > .travel-time-calculator + ins.adsbygoogle + script + .wp-block-group.content1 {
  margin-top: 0 !important;
}

/* Dark mode: theme data-scheme plus legacy .dark-mode. */
body[data-scheme="dark"] .travel-time-calculator,
body[data-scheme="inverse"] .travel-time-calculator,
.dark-mode .travel-time-calculator {
  --tt-paper: #2b2119;
  --tt-paper-strong: #241c15;
  --tt-panel: #33271d;
  --tt-panel-muted: #2b2119;
  --tt-green: #344a32;
  --tt-line: #a98b6b;
  --tt-line-soft: rgba(169, 139, 107, 0.38);
  --tt-text: #f2e4cf;
  --tt-muted: #f0dfc5;
  --tt-brown: #f2e4cf;
  --tt-accent: #d2aa55;
  --tt-focus: #7ea8bd;
  --tt-success: #a8c686;
  --tt-danger: #cf745c;
  --tt-shadow-sm: 2px 2px 0 rgba(0, 0, 0, 0.28);
  --tt-shadow-md: 4px 4px 0 rgba(0, 0, 0, 0.34);
  --tt-shadow-lg: 8px 8px 0 rgba(0, 0, 0, 0.38);
  color: var(--tt-text);
  background:
    linear-gradient(rgba(169, 139, 107, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 139, 107, 0.04) 1px, transparent 1px),
    var(--tt-paper);
  background-size: 22px 22px, 22px 22px, auto;
  box-shadow: var(--tt-shadow-lg);
}

body[data-scheme="dark"] .travel-time-calculator .calculator-header h2,
body[data-scheme="inverse"] .travel-time-calculator .calculator-header h2,
.dark-mode .travel-time-calculator .calculator-header h2 {
  color: var(--tt-text);
  -webkit-text-fill-color: var(--tt-text);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.45);
}

body[data-scheme="dark"] .travel-time-calculator .calculator-header::before,
body[data-scheme="inverse"] .travel-time-calculator .calculator-header::before,
.dark-mode .travel-time-calculator .calculator-header::before {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #344a32;
}

body[data-scheme="dark"] .travel-time-calculator :where(.result-section, .time-section),
body[data-scheme="inverse"] .travel-time-calculator :where(.result-section, .time-section),
.dark-mode .travel-time-calculator :where(.result-section, .time-section) {
  background: rgba(51, 39, 29, 0.9);
}

body[data-scheme="dark"] .travel-time-calculator .basic-section,
body[data-scheme="inverse"] .travel-time-calculator .basic-section,
.dark-mode .travel-time-calculator .basic-section {
  background: linear-gradient(135deg, rgba(52, 74, 50, 0.62), var(--tt-panel));
}

body[data-scheme="dark"] .travel-time-calculator :where(.btn-clear, .btn-secondary),
body[data-scheme="inverse"] .travel-time-calculator :where(.btn-clear, .btn-secondary),
.dark-mode .travel-time-calculator :where(.btn-clear, .btn-secondary) {
  background: #2b2119;
}

body[data-scheme="dark"] .travel-time-calculator :where(.input-field, .unit-select, .speed-control input),
body[data-scheme="inverse"] .travel-time-calculator :where(.input-field, .unit-select, .speed-control input),
.dark-mode .travel-time-calculator :where(.input-field, .unit-select, .speed-control input) {
  color: var(--tt-text);
  -webkit-text-fill-color: var(--tt-text);
  background: #241c15;
  border-color: var(--tt-line);
}

body[data-scheme="dark"] .travel-time-calculator :where(.input-field, .unit-select)::placeholder,
body[data-scheme="inverse"] .travel-time-calculator :where(.input-field, .unit-select)::placeholder,
.dark-mode .travel-time-calculator :where(.input-field, .unit-select)::placeholder {
  color: rgba(240, 223, 197, 0.72);
  -webkit-text-fill-color: rgba(240, 223, 197, 0.72);
}

body[data-scheme="dark"] .travel-time-calculator .result-time-big,
body[data-scheme="inverse"] .travel-time-calculator .result-time-big,
.dark-mode .travel-time-calculator .result-time-big,
body[data-scheme="dark"] .travel-time-calculator :where(.btn-primary, .btn-compare, .btn-save),
body[data-scheme="inverse"] .travel-time-calculator :where(.btn-primary, .btn-compare, .btn-save),
.dark-mode .travel-time-calculator :where(.btn-primary, .btn-compare, .btn-save) {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
}

body[data-scheme="dark"] .travel-time-calculator .compare-item.fastest,
body[data-scheme="inverse"] .travel-time-calculator .compare-item.fastest,
.dark-mode .travel-time-calculator .compare-item.fastest {
  background: rgba(52, 74, 50, 0.72);
}

body[data-scheme="dark"] .travel-time-calculator .compare-item.slowest,
body[data-scheme="inverse"] .travel-time-calculator .compare-item.slowest,
.dark-mode .travel-time-calculator .compare-item.slowest {
  background: rgba(155, 75, 53, 0.24);
}

body[data-scheme="dark"] .travel-time-calculator .toast-message,
body[data-scheme="inverse"] .travel-time-calculator .toast-message,
.dark-mode .travel-time-calculator .toast-message {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #33271d;
  border-color: #a98b6b;
}

@media (max-width: 1024px) {
  .travel-time-calculator .main-grid,
  .travel-time-calculator .bottom-grid {
    grid-template-columns: 1fr;
  }

  .travel-time-calculator .right-column {
    order: 2;
  }
}

@media (max-width: 760px) {
  .travel-time-calculator {
    margin: 14px auto 18px;
    padding: 14px;
    border-radius: 16px;
  }

  .travel-time-calculator .quick-actions,
  .travel-time-calculator .button-row,
  .travel-time-calculator .speed-actions,
  .travel-time-calculator .compare-input-row,
  .travel-time-calculator .route-form,
  .travel-time-calculator .input-with-unit {
    flex-direction: column;
    align-items: stretch;
  }

  .travel-time-calculator .unit-select,
  .travel-time-calculator .unit-label {
    width: 100%;
  }

  .travel-time-calculator .route-inputs,
  .travel-time-calculator .speed-grid,
  .travel-time-calculator .compare-item,
  .travel-time-calculator .route-item {
    grid-template-columns: 1fr;
  }

  .travel-time-calculator .compare-time,
  .travel-time-calculator .route-time,
  .travel-time-calculator .result-value {
    text-align: left;
  }

  .travel-time-calculator .result-row {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .travel-time-calculator {
    padding: 12px;
  }

  .travel-time-calculator .section {
    padding: 12px;
  }

  .travel-time-calculator :where(.btn-example, .btn-clear, .btn-primary, .btn-secondary, .btn-compare, .btn-save, .tab-btn) {
    width: 100%;
    padding-inline: 10px;
  }

  .travel-time-calculator .time-tabs {
    grid-template-columns: 1fr;
  }

  .toast-message {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}


/* ROBERIN travel time calculator — Phase 2 target-namespaced article body rhythm v5 */
body.single-sight-projects .entry-content article.roberin-article-body.travel-time-article,
body.single-sight-projects .entry-content > .travel-time-calculator-ad--after-tool + article.roberin-article-body.travel-time-article,
body.single-sight-projects .travel-time-article {
  --tta-panel: #f8efe2;
  --tta-card: #fff8ed;
  --tta-card-alt: rgba(226, 237, 216, .7);
  --tta-notice: rgba(239, 225, 188, .64);
  --tta-accent: #e2edd8;
  --tta-ink: #34281f;
  --tta-muted: #574838;
  --tta-line: #6b5745;
  --tta-line-soft: rgba(107, 87, 69, .34);
  --tta-mustard: #d2aa55;
  --tta-mustard-soft: rgba(210, 170, 85, .24);
  --tta-focus: #4f7d94;
  --tta-shadow: rgba(82, 65, 50, .22);
  --tta-soft-shadow: rgba(82, 65, 50, .13);
  position: relative !important;
  z-index: 0 !important;
  display: grid !important;
  gap: 18px !important;
  box-sizing: border-box !important;
  width: min(980px, calc(100vw - 32px)) !important;
  max-width: 980px !important;
  min-width: 0 !important;
  margin: clamp(24px, 4vw, 42px) auto 42px !important;
  padding: clamp(16px, 3vw, 28px) !important;
  color: var(--tta-ink) !important;
  -webkit-text-fill-color: var(--tta-ink) !important;
  background:
    linear-gradient(rgba(107, 87, 69, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, .04) 1px, transparent 1px),
    var(--tta-panel) !important;
  background-size: 28px 28px, 28px 28px, auto !important;
  border: 2px solid var(--tta-line) !important;
  border-radius: 0 !important;
  box-shadow: 5px 5px 0 var(--tta-shadow) !important;
  overflow: hidden !important;
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, sans-serif !important;
  line-height: 1.72 !important;
  word-break: keep-all !important;
}

body.single-sight-projects .entry-content > .travel-time-calculator-ad--after-tool + article.roberin-article-body.travel-time-article,
body.single-sight-projects .entry-content > .travel-time-calculator-ad + article.roberin-article-body.travel-time-article {
  margin-top: 0 !important;
}

body.single-sight-projects .travel-time-article,
body.single-sight-projects .travel-time-article *,
body.single-sight-projects .travel-time-article *::before,
body.single-sight-projects .travel-time-article *::after {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

body.single-sight-projects .travel-time-article :is(p, li, td, th, summary, span, strong, code, h2, h3, a) {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__hero,
body.single-sight-projects .travel-time-article .travel-time-article__section {
  display: grid !important;
  gap: 13px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__hero {
  padding: 0 0 22px !important;
  border-bottom: 1px dashed var(--tta-line-soft) !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__section + .travel-time-article__section {
  margin-top: 6px !important;
  padding-top: 22px !important;
  border-top: 1px dashed var(--tta-line-soft) !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__kicker {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 26px !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  color: var(--tta-ink) !important;
  -webkit-text-fill-color: var(--tta-ink) !important;
  background: var(--tta-accent) !important;
  border: 1px solid var(--tta-line) !important;
  border-radius: 0 !important;
  box-shadow: 2px 2px 0 var(--tta-soft-shadow) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  letter-spacing: .01em !important;
}

body.single-sight-projects .travel-time-article h2,
body.single-sight-projects .travel-time-article h3 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--tta-ink) !important;
  -webkit-text-fill-color: var(--tta-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  letter-spacing: -.02em !important;
  word-break: keep-all !important;
}

body.single-sight-projects .travel-time-article h2 {
  font-size: clamp(25px, 3vw, 30px) !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
}

body.single-sight-projects .travel-time-article h3 {
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

body.single-sight-projects .travel-time-article p,
body.single-sight-projects .travel-time-article li,
body.single-sight-projects .travel-time-article summary {
  margin: 0 !important;
  color: var(--tta-muted) !important;
  -webkit-text-fill-color: var(--tta-muted) !important;
  font-size: 15px !important;
  font-weight: 680 !important;
  line-height: 1.72 !important;
  overflow-wrap: anywhere !important;
}

body.single-sight-projects .travel-time-article strong {
  color: var(--tta-ink) !important;
  -webkit-text-fill-color: var(--tta-ink) !important;
  font-weight: 920 !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 6px 10px !important;
  color: var(--tta-ink) !important;
  -webkit-text-fill-color: var(--tta-ink) !important;
  text-decoration: none !important;
  background: var(--tta-card) !important;
  border: 1px solid var(--tta-line) !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__nav a:hover,
body.single-sight-projects .travel-time-article .travel-time-article__nav a:focus-visible,
body.single-sight-projects .travel-time-article summary:focus-visible {
  background: var(--tta-mustard-soft) !important;
  outline: 2px solid var(--tta-focus) !important;
  outline-offset: 2px !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__grid,
body.single-sight-projects .travel-time-article .travel-time-article__process-grid,
body.single-sight-projects .travel-time-article .travel-time-article__use-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  min-width: 0 !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__card,
body.single-sight-projects .travel-time-article .travel-time-article__process,
body.single-sight-projects .travel-time-article .travel-time-article__use,
body.single-sight-projects .travel-time-article .travel-time-article__notice,
body.single-sight-projects .travel-time-article details {
  display: grid !important;
  gap: 7px !important;
  min-width: 0 !important;
  padding: 12px !important;
  color: var(--tta-muted) !important;
  -webkit-text-fill-color: var(--tta-muted) !important;
  background: var(--tta-card) !important;
  border: 1px solid var(--tta-line) !important;
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 var(--tta-soft-shadow) !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__notice {
  background: var(--tta-notice) !important;
  border-style: dashed !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__process {
  background: var(--tta-card-alt) !important;
}

body.single-sight-projects .travel-time-article :is(ul, ol) {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

body.single-sight-projects .travel-time-article ol,
body.single-sight-projects .travel-time-article ol.travel-time-article__steps {
  counter-reset: travel-time-article-step !important;
}

body.single-sight-projects .travel-time-article :is(ul, ol) > li {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-width: 0 !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--tta-muted) !important;
  -webkit-text-fill-color: var(--tta-muted) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  list-style: none !important;
  overflow-wrap: anywhere !important;
}

body.single-sight-projects .travel-time-article :is(ul, ol) > li::before {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  box-sizing: border-box !important;
  color: var(--tta-ink) !important;
  -webkit-text-fill-color: var(--tta-ink) !important;
  border-radius: 0 !important;
}

body.single-sight-projects .travel-time-article ul > li::before {
  content: '' !important;
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  background: var(--tta-mustard) !important;
  border: 1px solid var(--tta-line) !important;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, .22) !important;
  line-height: 1 !important;
}

body.single-sight-projects .travel-time-article ol > li,
body.single-sight-projects .travel-time-article ol.travel-time-article__steps > li {
  counter-increment: travel-time-article-step !important;
}

body.single-sight-projects .travel-time-article ol > li::before,
body.single-sight-projects .travel-time-article ol.travel-time-article__steps > li::before {
  content: counter(travel-time-article-step) !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 20px !important;
  height: 20px !important;
  background: var(--tta-mustard-soft) !important;
  border: 1px solid var(--tta-line) !important;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, .22) !important;
  font-size: 11px !important;
  font-weight: 920 !important;
  line-height: 1 !important;
}

body.single-sight-projects .travel-time-article .travel-time-article__li-text {
  display: block !important;
  min-width: 0 !important;
  align-self: center !important;
}

body.single-sight-projects .travel-time-article details {
  margin: 0 !important;
}

body.single-sight-projects .travel-time-article summary {
  display: list-item !important;
  list-style-position: inside !important;
  cursor: pointer !important;
  color: var(--tta-ink) !important;
  -webkit-text-fill-color: var(--tta-ink) !important;
  font-weight: 950 !important;
  line-height: 1.45 !important;
}

body.single-sight-projects .travel-time-article summary::after {
  content: none !important;
  display: none !important;
}

body.single-sight-projects .travel-time-article details[open] summary {
  margin-bottom: 8px !important;
}

body.single-sight-projects[data-scheme='dark'] .entry-content article.roberin-article-body.travel-time-article,
body.single-sight-projects[data-scheme='inverse'] .entry-content article.roberin-article-body.travel-time-article,
body.single-sight-projects[data-scheme='dark'] .travel-time-article,
body.single-sight-projects[data-scheme='inverse'] .travel-time-article,
html[data-scheme='dark'] body.single-sight-projects .entry-content article.roberin-article-body.travel-time-article,
html[data-scheme='inverse'] body.single-sight-projects .entry-content article.roberin-article-body.travel-time-article,
html[data-scheme='dark'] body.single-sight-projects .travel-time-article,
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article,
.dark-mode body.single-sight-projects .travel-time-article,
body.dark-mode.single-sight-projects .travel-time-article {
  --tta-panel: #33271d;
  --tta-card: #2b2119;
  --tta-card-alt: rgba(36, 28, 21, .56);
  --tta-notice: rgba(36, 28, 21, .56);
  --tta-accent: #344a32;
  --tta-ink: #f2e4cf;
  --tta-muted: #f0dfc5;
  --tta-line: #a98b6b;
  --tta-line-soft: rgba(169, 139, 107, .46);
  --tta-mustard: #d2aa55;
  --tta-mustard-soft: rgba(210, 170, 85, .22);
  --tta-focus: #d2aa55;
  --tta-shadow: rgba(0, 0, 0, .32);
  --tta-soft-shadow: rgba(0, 0, 0, .2);
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background-image:
    linear-gradient(rgba(169, 139, 107, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 139, 107, .06) 1px, transparent 1px) !important;
  background-color: #33271d !important;
  border-color: #a98b6b !important;
}

body.single-sight-projects[data-scheme='dark'] .travel-time-article :is(h2, h3, strong, summary),
body.single-sight-projects[data-scheme='inverse'] .travel-time-article :is(h2, h3, strong, summary),
html[data-scheme='dark'] body.single-sight-projects .travel-time-article :is(h2, h3, strong, summary),
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article :is(h2, h3, strong, summary),
.dark-mode body.single-sight-projects .travel-time-article :is(h2, h3, strong, summary),
body.dark-mode.single-sight-projects .travel-time-article :is(h2, h3, strong, summary) {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-sight-projects[data-scheme='dark'] .travel-time-article :is(p, li, span),
body.single-sight-projects[data-scheme='inverse'] .travel-time-article :is(p, li, span),
html[data-scheme='dark'] body.single-sight-projects .travel-time-article :is(p, li, span),
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article :is(p, li, span),
.dark-mode body.single-sight-projects .travel-time-article :is(p, li, span),
body.dark-mode.single-sight-projects .travel-time-article :is(p, li, span) {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body.single-sight-projects[data-scheme='dark'] .travel-time-article .travel-time-article__card,
body.single-sight-projects[data-scheme='dark'] .travel-time-article .travel-time-article__process,
body.single-sight-projects[data-scheme='dark'] .travel-time-article .travel-time-article__use,
body.single-sight-projects[data-scheme='dark'] .travel-time-article .travel-time-article__notice,
body.single-sight-projects[data-scheme='dark'] .travel-time-article details,
body.single-sight-projects[data-scheme='dark'] .travel-time-article .travel-time-article__nav a,
body.single-sight-projects[data-scheme='inverse'] .travel-time-article .travel-time-article__card,
body.single-sight-projects[data-scheme='inverse'] .travel-time-article .travel-time-article__process,
body.single-sight-projects[data-scheme='inverse'] .travel-time-article .travel-time-article__use,
body.single-sight-projects[data-scheme='inverse'] .travel-time-article .travel-time-article__notice,
body.single-sight-projects[data-scheme='inverse'] .travel-time-article details,
body.single-sight-projects[data-scheme='inverse'] .travel-time-article .travel-time-article__nav a,
html[data-scheme='dark'] body.single-sight-projects .travel-time-article .travel-time-article__card,
html[data-scheme='dark'] body.single-sight-projects .travel-time-article .travel-time-article__process,
html[data-scheme='dark'] body.single-sight-projects .travel-time-article .travel-time-article__use,
html[data-scheme='dark'] body.single-sight-projects .travel-time-article .travel-time-article__notice,
html[data-scheme='dark'] body.single-sight-projects .travel-time-article details,
html[data-scheme='dark'] body.single-sight-projects .travel-time-article .travel-time-article__nav a,
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article .travel-time-article__card,
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article .travel-time-article__process,
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article .travel-time-article__use,
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article .travel-time-article__notice,
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article details,
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article .travel-time-article__nav a,
.dark-mode body.single-sight-projects .travel-time-article .travel-time-article__card,
.dark-mode body.single-sight-projects .travel-time-article .travel-time-article__process,
.dark-mode body.single-sight-projects .travel-time-article .travel-time-article__use,
.dark-mode body.single-sight-projects .travel-time-article .travel-time-article__notice,
.dark-mode body.single-sight-projects .travel-time-article details,
.dark-mode body.single-sight-projects .travel-time-article .travel-time-article__nav a,
body.dark-mode.single-sight-projects .travel-time-article .travel-time-article__card,
body.dark-mode.single-sight-projects .travel-time-article .travel-time-article__process,
body.dark-mode.single-sight-projects .travel-time-article .travel-time-article__use,
body.dark-mode.single-sight-projects .travel-time-article .travel-time-article__notice,
body.dark-mode.single-sight-projects .travel-time-article details,
body.dark-mode.single-sight-projects .travel-time-article .travel-time-article__nav a {
  background-color: #33271d !important;
  border-color: rgba(169, 139, 107, .72) !important;
  box-shadow: 3px 3px 0 rgba(32, 24, 17, .52) !important;
}

body.single-sight-projects[data-scheme='dark'] .travel-time-article .travel-time-article__notice,
body.single-sight-projects[data-scheme='dark'] .travel-time-article .travel-time-article__process,
body.single-sight-projects[data-scheme='inverse'] .travel-time-article .travel-time-article__notice,
body.single-sight-projects[data-scheme='inverse'] .travel-time-article .travel-time-article__process,
html[data-scheme='dark'] body.single-sight-projects .travel-time-article .travel-time-article__notice,
html[data-scheme='dark'] body.single-sight-projects .travel-time-article .travel-time-article__process,
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article .travel-time-article__notice,
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article .travel-time-article__process,
.dark-mode body.single-sight-projects .travel-time-article .travel-time-article__notice,
.dark-mode body.single-sight-projects .travel-time-article .travel-time-article__process,
body.dark-mode.single-sight-projects .travel-time-article .travel-time-article__notice,
body.dark-mode.single-sight-projects .travel-time-article .travel-time-article__process {
  background-color: rgba(36, 28, 21, .56) !important;
}

body.single-sight-projects[data-scheme='dark'] .travel-time-article :is(ul, ol) > li::before,
body.single-sight-projects[data-scheme='inverse'] .travel-time-article :is(ul, ol) > li::before,
html[data-scheme='dark'] body.single-sight-projects .travel-time-article :is(ul, ol) > li::before,
html[data-scheme='inverse'] body.single-sight-projects .travel-time-article :is(ul, ol) > li::before,
.dark-mode body.single-sight-projects .travel-time-article :is(ul, ol) > li::before,
body.dark-mode.single-sight-projects .travel-time-article :is(ul, ol) > li::before {
  border-color: #a98b6b !important;
}

@media (max-width: 920px) {
  body.single-sight-projects .travel-time-article .travel-time-article__use-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body.single-sight-projects .entry-content > .travel-time-calculator-ad--after-tool + article.roberin-article-body.travel-time-article,
  body.single-sight-projects .entry-content > .travel-time-calculator-ad + article.roberin-article-body.travel-time-article {
    margin-top: 0 !important;
  }

  body.single-sight-projects .entry-content article.roberin-article-body.travel-time-article,
  body.single-sight-projects .travel-time-article {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 12px !important;
    box-shadow: 4px 4px 0 rgba(82, 65, 50, .16) !important;
  }

  body.single-sight-projects .travel-time-article .travel-time-article__grid,
  body.single-sight-projects .travel-time-article .travel-time-article__process-grid,
  body.single-sight-projects .travel-time-article .travel-time-article__use-grid {
    grid-template-columns: 1fr !important;
  }

  body.single-sight-projects .travel-time-article h3 {
    font-size: 18px !important;
  }
}

@media (max-width: 370px) {
  body.single-sight-projects .travel-time-article h2 {
    font-size: 25.2px !important;
  }
}

/* ROBERIN travel time calculator — v6 complaint repair: date-difference reference-first UI rebuild */
.travel-time-calculator.travel-time-tool,
.travel-time-calculator.travel-time-tool *,
.travel-time-calculator.travel-time-tool *::before,
.travel-time-calculator.travel-time-tool *::after {
  box-sizing: border-box;
}

.travel-time-calculator.travel-time-tool {
  --tt-paper: #fff7e8;
  --tt-paper-soft: #fbf0dc;
  --tt-ink: #2b2119;
  --tt-muted: #67584a;
  --tt-line: #6b5745;
  --tt-line-soft: rgba(107, 87, 69, 0.26);
  --tt-green: #e3efd2;
  --tt-green-ink: #2f4e2e;
  --tt-blue: #dfeef8;
  --tt-blue-ink: #28455a;
  --tt-amber: #f7df9d;
  --tt-red: #a43e2d;
  --tt-white: #fffdf7;
  --tt-shadow: 4px 4px 0 rgba(72, 55, 40, 0.22);
  --tt-shadow-soft: 2px 2px 0 rgba(72, 55, 40, 0.14);
  width: min(950px, calc(100vw - 32px));
  max-width: 950px;
  margin: 0 auto 24px;
  padding: 0;
  overflow: visible;
  color: var(--tt-ink);
  -webkit-text-fill-color: currentColor;
  background: transparent;
  background-size: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.52;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__container {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  color: var(--tt-ink);
  -webkit-text-fill-color: var(--tt-ink);
  background: var(--tt-paper);
  border: 2px solid var(--tt-line);
  border-radius: 0;
  box-shadow: var(--tt-shadow);
}

.travel-time-calculator.travel-time-tool .travel-time-tool__container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(107, 87, 69, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__header {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0 0 10px;
  text-align: left;
  border-bottom: 2px solid var(--tt-line);
}

.travel-time-calculator.travel-time-tool .travel-time-tool__kicker {
  display: inline-flex;
  width: max-content;
  padding: 3px 8px;
  color: var(--tt-green-ink);
  -webkit-text-fill-color: var(--tt-green-ink);
  background: var(--tt-green);
  border: 1px solid var(--tt-line);
  box-shadow: var(--tt-shadow-soft);
  font-size: 11.5px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__header h2 {
  margin: 0;
  color: var(--tt-ink);
  -webkit-text-fill-color: var(--tt-ink);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.14;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-shadow: none;
  word-break: keep-all;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__header p {
  max-width: 680px;
  margin: 0;
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 700;
  word-break: keep-all;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.travel-time-calculator.travel-time-tool :where(button, input, select) {
  max-width: 100%;
  min-width: 0;
  font: inherit;
}

.travel-time-calculator.travel-time-tool :where(.travel-time-tool__quick-button, .travel-time-tool__primary-button, .travel-time-tool__secondary-button, .travel-time-tool__mini-button, .tab-btn, .btn-delete) {
  appearance: none;
  border-radius: 0;
  font-family: inherit;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__quick-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--tt-green-ink);
  -webkit-text-fill-color: var(--tt-green-ink);
  background: var(--tt-green);
  border: 1px solid var(--tt-line);
  box-shadow: var(--tt-shadow-soft);
  font-size: 13.5px;
  line-height: 1.1;
  font-weight: 900;
  white-space: nowrap;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__quick-button--reset {
  color: #743528;
  -webkit-text-fill-color: #743528;
  background: #f3dfd3;
}

.travel-time-calculator.travel-time-tool :where(.travel-time-tool__quick-button, .travel-time-tool__primary-button, .travel-time-tool__secondary-button, .travel-time-tool__mini-button, .tab-btn, .btn-delete):hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(72, 55, 40, 0.16);
}

.travel-time-calculator.travel-time-tool :where(.travel-time-tool__quick-button, .travel-time-tool__primary-button, .travel-time-tool__secondary-button, .travel-time-tool__mini-button, .tab-btn, .btn-delete):active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.travel-time-calculator.travel-time-tool :where(.travel-time-tool__quick-button, .travel-time-tool__primary-button, .travel-time-tool__secondary-button, .travel-time-tool__mini-button, .tab-btn, .btn-delete, .travel-time-tool__input, .travel-time-tool__select):focus-visible {
  outline: 3px solid #d6a62b;
  outline-offset: 2px;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: 10px;
  margin: 0 0 10px;
  align-items: stretch;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__support {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: 10px;
  margin: 0 0 10px;
  align-items: start;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__panel {
  min-width: 0;
  padding: 12px;
  color: var(--tt-ink);
  -webkit-text-fill-color: var(--tt-ink);
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid var(--tt-line);
  border-radius: 0;
  box-shadow: var(--tt-shadow-soft);
}

.travel-time-calculator.travel-time-tool .travel-time-tool__panel--input,
.travel-time-calculator.travel-time-tool .travel-time-tool__panel--result,
.travel-time-calculator.travel-time-tool .travel-time-tool__panel--compare,
.travel-time-calculator.travel-time-tool .travel-time-tool__panel--planner,
.travel-time-calculator.travel-time-tool .travel-time-tool__panel--route {
  display: flex;
  flex-direction: column;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 0 0 8px;
  color: var(--tt-ink) !important;
  -webkit-text-fill-color: var(--tt-ink) !important;
  border-bottom: 1px solid var(--tt-line-soft);
  background: transparent;
  box-shadow: none;
  font-size: 15.5px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__field {
  display: grid;
  gap: 5px;
  margin: 0 0 9px;
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__field--compact {
  margin-top: -2px;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__distance-row,
.travel-time-calculator.travel-time-tool .travel-time-tool__speed-inline,
.travel-time-calculator.travel-time-tool .travel-time-tool__speed-input {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__input,
.travel-time-calculator.travel-time-tool .travel-time-tool__select {
  min-width: 0;
  min-height: 40px;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  color: var(--tt-ink);
  -webkit-text-fill-color: var(--tt-ink);
  background: #fffdf8;
  border: 1px solid var(--tt-line);
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(107, 87, 69, 0.08);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  font-family: inherit;
  color-scheme: light;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__input[type="number"] {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__select {
  flex: 0 0 74px;
  cursor: pointer;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__select--wide {
  flex-basis: auto;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__input:focus,
.travel-time-calculator.travel-time-tool .travel-time-tool__select:focus {
  background: #fff6d8;
  border-color: #5f4834;
  outline: none;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__speed-inline em,
.travel-time-calculator.travel-time-tool .travel-time-tool__speed-input em {
  flex: 0 0 auto;
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 900;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__primary-button,
.travel-time-calculator.travel-time-tool .travel-time-tool__secondary-button,
.travel-time-calculator.travel-time-tool .travel-time-tool__mini-button,
.travel-time-calculator.travel-time-tool .tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 12px;
  color: var(--tt-ink);
  -webkit-text-fill-color: var(--tt-ink);
  background: var(--tt-white);
  border: 1px solid var(--tt-line);
  box-shadow: var(--tt-shadow-soft);
  font-size: 13.5px;
  line-height: 1;
  font-weight: 900;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__primary-button {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  color: #fffaf0;
  -webkit-text-fill-color: #fffaf0;
  background: #35271d;
  border-color: #231a13;
  box-shadow: 3px 3px 0 rgba(72, 55, 40, 0.24);
  font-size: 14.5px;
  font-weight: 950;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__secondary-button {
  width: 100%;
  background: var(--tt-amber);
}

.travel-time-calculator.travel-time-tool .travel-time-tool__mini-button {
  min-height: 34px;
  padding: 7px 8px;
  font-size: 12.5px;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__result,
.travel-time-calculator.travel-time-tool .travel-time-tool__compare-result,
.travel-time-calculator.travel-time-tool .travel-time-tool__time-result,
.travel-time-calculator.travel-time-tool .travel-time-tool__saved-routes {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--tt-ink);
  -webkit-text-fill-color: var(--tt-ink);
}

.travel-time-calculator.travel-time-tool .travel-time-tool__result {
  flex: 1;
}

.travel-time-calculator.travel-time-tool .result-empty,
.travel-time-calculator.travel-time-tool .empty-state {
  display: grid;
  min-height: 126px;
  place-items: center;
  gap: 5px;
  padding: 16px;
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  background: #fffaf0;
  border: 1px dashed rgba(107, 87, 69, 0.52);
  text-align: center;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 800;
}

.travel-time-calculator.travel-time-tool .empty-icon {
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 20px;
  line-height: 1;
}

.travel-time-calculator.travel-time-tool .result-box {
  display: grid;
  gap: 6px;
  margin: 0 0 8px;
}

.travel-time-calculator.travel-time-tool .result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 9px;
  background: #fffaf0;
  border: 1px solid rgba(107, 87, 69, 0.36);
}

.travel-time-calculator.travel-time-tool .result-label,
.travel-time-calculator.travel-time-tool .result-label-text,
.travel-time-calculator.travel-time-tool .compare-speed,
.travel-time-calculator.travel-time-tool .compare-details,
.travel-time-calculator.travel-time-tool .route-details {
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 900;
}

.travel-time-calculator.travel-time-tool .result-value,
.travel-time-calculator.travel-time-tool .compare-name,
.travel-time-calculator.travel-time-tool .route-name {
  color: var(--tt-ink);
  -webkit-text-fill-color: var(--tt-ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 950;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  text-align: right;
}

.travel-time-calculator.travel-time-tool .result-time-big {
  display: grid;
  place-items: center;
  min-height: 76px;
  margin: 0;
  padding: 12px;
  color: var(--tt-blue-ink);
  -webkit-text-fill-color: var(--tt-blue-ink);
  background: var(--tt-blue);
  border: 1px solid var(--tt-line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.38);
  text-align: center;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.travel-time-calculator.travel-time-tool .compare-item,
.travel-time-calculator.travel-time-tool .route-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  min-width: 0;
  padding: 8px 9px;
  color: var(--tt-ink);
  -webkit-text-fill-color: var(--tt-ink);
  background: #fffaf0;
  border: 1px solid rgba(107, 87, 69, 0.36);
}

.travel-time-calculator.travel-time-tool .compare-item.fastest {
  background: var(--tt-green);
}

.travel-time-calculator.travel-time-tool .compare-item.slowest {
  background: #f3dfd3;
}

.travel-time-calculator.travel-time-tool .compare-time,
.travel-time-calculator.travel-time-tool .route-time {
  grid-row: span 2;
  color: var(--tt-blue-ink);
  -webkit-text-fill-color: var(--tt-blue-ink);
  font-size: 15px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 9px;
}

.travel-time-calculator.travel-time-tool .tab-btn.active {
  color: #fffaf0;
  -webkit-text-fill-color: #fffaf0;
  background: #35271d;
  border-color: #231a13;
}

.travel-time-calculator.travel-time-tool .tab-panel {
  display: none;
}

.travel-time-calculator.travel-time-tool .tab-panel.active {
  display: block;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__planner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 8px;
  min-width: 0;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__planner-grid--route {
  grid-template-columns: minmax(0, 1fr) minmax(82px, .55fr);
}

.travel-time-calculator.travel-time-tool .travel-time-tool__planner-grid--route .travel-time-tool__field:first-child,
.travel-time-calculator.travel-time-tool .travel-time-tool__planner-grid--route .travel-time-tool__field:nth-child(3),
.travel-time-calculator.travel-time-tool .travel-time-tool__planner-grid--route .travel-time-tool__secondary-button {
  grid-column: 1 / -1;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__time-result {
  margin-top: 9px;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__time-result .result-empty {
  min-height: 86px;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__saved-routes {
  margin: 8px 0 0;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__saved-routes .empty-state {
  min-height: 56px;
  padding: 10px;
}

.travel-time-calculator.travel-time-tool .route-info {
  min-width: 0;
}

.travel-time-calculator.travel-time-tool .btn-delete {
  grid-column: 1 / -1;
  min-height: 30px;
  padding: 6px 9px;
  color: #fffaf0;
  -webkit-text-fill-color: #fffaf0;
  background: #743528;
  border: 1px solid var(--tt-line);
  box-shadow: var(--tt-shadow-soft);
  font-size: 12px;
  font-weight: 900;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__speed-details {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--tt-line-soft);
}

.travel-time-calculator.travel-time-tool .travel-time-tool__speed-details summary {
  cursor: pointer;
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 950;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__speed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 9px;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__speed-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--tt-muted);
  -webkit-text-fill-color: var(--tt-muted);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 900;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__input--speed {
  min-height: 34px;
  padding: 6px 7px;
  font-size: 12.5px;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__speed-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.travel-time-calculator.travel-time-tool .travel-time-tool__notice {
  margin: 0;
  padding: 10px 11px;
  color: #6f4b1d;
  -webkit-text-fill-color: #6f4b1d;
  background: #fff2c1;
  border: 1px solid #c99a35;
  border-left: 5px solid #c99a35;
  font-size: 12.8px;
  line-height: 1.55;
  font-weight: 750;
}

.travel-time-calculator.travel-time-tool .toast-message {
  color: inherit;
}

body[data-scheme="dark"] .travel-time-calculator.travel-time-tool,
body[data-scheme="inverse"] .travel-time-calculator.travel-time-tool,
.dark-mode .travel-time-calculator.travel-time-tool {
  --tt-paper: #2b2119;
  --tt-paper-soft: #241c15;
  --tt-ink: #f7ebd8;
  --tt-muted: #f0dfc5;
  --tt-line: #a98b6b;
  --tt-line-soft: rgba(169, 139, 107, 0.48);
  --tt-green: #344a32;
  --tt-green-ink: #f7ebd8;
  --tt-blue: #233c43;
  --tt-blue-ink: #f1e8cf;
  --tt-amber: #d2aa55;
  --tt-red: #d08b75;
  --tt-white: #241c15;
  --tt-shadow: 4px 4px 0 rgba(0, 0, 0, 0.34);
  --tt-shadow-soft: 2px 2px 0 rgba(0, 0, 0, 0.24);
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf;
}

body[data-scheme="dark"] .travel-time-calculator.travel-time-tool .travel-time-tool__container,
body[data-scheme="inverse"] .travel-time-calculator.travel-time-tool .travel-time-tool__container,
.dark-mode .travel-time-calculator.travel-time-tool .travel-time-tool__container {
  color: var(--tt-ink) !important;
  -webkit-text-fill-color: var(--tt-ink) !important;
  background: var(--tt-paper) !important;
  border-color: var(--tt-line) !important;
}

body[data-scheme="dark"] .travel-time-calculator.travel-time-tool .travel-time-tool__container::before,
body[data-scheme="inverse"] .travel-time-calculator.travel-time-tool .travel-time-tool__container::before,
.dark-mode .travel-time-calculator.travel-time-tool .travel-time-tool__container::before {
  background:
    linear-gradient(rgba(229, 196, 139, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 196, 139, 0.055) 1px, transparent 1px);
  background-size: 20px 20px;
}

body[data-scheme="dark"] .travel-time-calculator.travel-time-tool :where(.travel-time-tool__panel, .result-row, .compare-item, .route-item),
body[data-scheme="inverse"] .travel-time-calculator.travel-time-tool :where(.travel-time-tool__panel, .result-row, .compare-item, .route-item),
.dark-mode .travel-time-calculator.travel-time-tool :where(.travel-time-tool__panel, .result-row, .compare-item, .route-item) {
  background: rgba(36, 28, 21, 0.94) !important;
  border-color: var(--tt-line) !important;
}

body[data-scheme="dark"] .travel-time-calculator.travel-time-tool :where(.travel-time-tool__input, .travel-time-tool__select),
body[data-scheme="inverse"] .travel-time-calculator.travel-time-tool :where(.travel-time-tool__input, .travel-time-tool__select),
.dark-mode .travel-time-calculator.travel-time-tool :where(.travel-time-tool__input, .travel-time-tool__select) {
  color: var(--tt-ink) !important;
  -webkit-text-fill-color: var(--tt-ink) !important;
  background: #1f1711 !important;
  border-color: var(--tt-line) !important;
  color-scheme: dark;
}

body[data-scheme="dark"] .travel-time-calculator.travel-time-tool :where(.result-empty, .empty-state),
body[data-scheme="inverse"] .travel-time-calculator.travel-time-tool :where(.result-empty, .empty-state),
.dark-mode .travel-time-calculator.travel-time-tool :where(.result-empty, .empty-state) {
  color: var(--tt-muted) !important;
  -webkit-text-fill-color: var(--tt-muted) !important;
  background: #241c15 !important;
  border-color: rgba(169, 139, 107, 0.58) !important;
}

body[data-scheme="dark"] .travel-time-calculator.travel-time-tool .result-time-big,
body[data-scheme="inverse"] .travel-time-calculator.travel-time-tool .result-time-big,
.dark-mode .travel-time-calculator.travel-time-tool .result-time-big {
  background: var(--tt-blue) !important;
  color: var(--tt-blue-ink) !important;
  -webkit-text-fill-color: var(--tt-blue-ink) !important;
}

body[data-scheme="dark"] .travel-time-calculator.travel-time-tool .travel-time-tool__notice,
body[data-scheme="inverse"] .travel-time-calculator.travel-time-tool .travel-time-tool__notice,
.dark-mode .travel-time-calculator.travel-time-tool .travel-time-tool__notice {
  color: #f8e6bd !important;
  -webkit-text-fill-color: #f8e6bd !important;
  background: #3a2a15 !important;
  border-color: #b98c3a !important;
}

@media (max-width: 980px) {
  .travel-time-calculator.travel-time-tool {
    width: min(950px, calc(100vw - 20px));
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__main,
  .travel-time-calculator.travel-time-tool .travel-time-tool__support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__panel--compare,
  .travel-time-calculator.travel-time-tool .travel-time-tool__panel--planner {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .travel-time-calculator.travel-time-tool {
    width: calc(100vw - 10px);
    max-width: calc(100vw - 10px);
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__container {
    padding: 9px;
    border-width: 1px;
    box-shadow: 3px 3px 0 rgba(72, 55, 40, 0.18);
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__header {
    gap: 4px;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__quick-button {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 12.5px;
    white-space: normal;
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__main,
  .travel-time-calculator.travel-time-tool .travel-time-tool__support {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__panel--compare,
  .travel-time-calculator.travel-time-tool .travel-time-tool__panel--planner {
    grid-column: auto;
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__panel {
    padding: 9px;
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__section-title {
    margin-bottom: 8px;
    padding-bottom: 7px;
    font-size: 14.5px;
  }
  .travel-time-calculator.travel-time-tool :where(.travel-time-tool__input, .travel-time-tool__select) {
    min-height: 38px;
    font-size: 13.5px;
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__planner-grid,
  .travel-time-calculator.travel-time-tool .travel-time-tool__planner-grid--route,
  .travel-time-calculator.travel-time-tool .travel-time-tool__speed-grid {
    grid-template-columns: 1fr;
  }
  .travel-time-calculator.travel-time-tool .result-empty {
    min-height: 98px;
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__notice {
    font-size: 12.5px;
  }
}

@media (max-width: 380px) {
  .travel-time-calculator.travel-time-tool .travel-time-tool__container {
    padding: 8px;
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__distance-row,
  .travel-time-calculator.travel-time-tool .travel-time-tool__speed-inline,
  .travel-time-calculator.travel-time-tool .travel-time-tool__speed-input {
    gap: 5px;
  }
  .travel-time-calculator.travel-time-tool .travel-time-tool__select {
    flex-basis: 66px;
  }
}

/* ROBERIN travel time calculator — v7 dark mobile reference shadow parity */
@media (max-width: 640px) {
  body[data-scheme="dark"] .travel-time-calculator.travel-time-tool .travel-time-tool__container,
  body[data-scheme="inverse"] .travel-time-calculator.travel-time-tool .travel-time-tool__container,
  .dark-mode .travel-time-calculator.travel-time-tool .travel-time-tool__container {
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.34) !important;
  }
}

