/* Tour Maker */
.tm-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:12px;margin-top:14px}
@media (max-width:980px){.tm-grid{grid-template-columns:1fr}}

.tm-card{
  border:1px solid var(--border);
  border-radius: var(--r2);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  padding:14px;
}
html[data-theme="dark"] .tm-card{background: rgba(17,24,39,.82);}

.tm-searchrow{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.tm-searchrow input{
  flex:1; min-width:220px;
  height:46px; border-radius:14px;
  border:1px solid var(--border);
  padding:0 14px; font-weight:900;
  background: rgba(255,255,255,.86); color:var(--ink);
}
html[data-theme="dark"] .tm-searchrow input{background: rgba(17,24,39,.85);}

.tm-list{margin-top:10px;display:grid;gap:10px}
.tm-item{
  border:1px solid rgba(234,220,197,.55);
  border-radius:16px;
  padding:10px 12px;
  background: rgba(255,241,214,.35);
  display:flex; gap:10px; justify-content:space-between; align-items:flex-start;
}
html[data-theme="dark"] .tm-item{background: rgba(245,158,11,.10);border-color: rgba(148,163,184,.22);}
.tm-left{min-width:0}
.tm-title{font-weight:1000;margin:0 0 4px}
.tm-sub{color:var(--muted);font-weight:800;font-size:12px;line-height:1.4}
.tm-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.tm-mini{
  padding:8px 10px; border-radius:12px;
  border:1px solid var(--border);
  background: linear-gradient(180deg,#fff,#fff1d6);
  font-weight:1000; cursor:pointer;
}
html[data-theme="dark"] .tm-mini{background: rgba(17,24,39,.85);}
.tm-mini:active{transform:translateY(1px)}
.tm-empty{color:var(--muted);font-weight:900;margin-top:8px}
.tm-badge{display:inline-flex;align-items:center;gap:6px;margin-top:10px;color:var(--muted);font-weight:900}
.tm-textarea{
  width:100%; min-height:120px; resize:vertical;
  border-radius:16px; border:1px solid var(--border);
  padding:12px; font-weight:800; background: rgba(255,255,255,.86); color:var(--ink);
}
html[data-theme="dark"] .tm-textarea{background: rgba(17,24,39,.85);}
.tm-stickybar{
  position: sticky; top: 84px;
  display:flex; gap:10px; flex-wrap:wrap; margin-top:12px
}
/* (your existing tour-maker.css stays the same) */

/* Search mode toggle */
.tm-toggle .pp-btn.is-active{
  box-shadow: 0 0 0 2px rgba(217,119,6,.25) inset;
  border-color: rgba(217,119,6,.5);
  background: rgba(255,247,230,.9);
}