/* Consolidated from D:/projects/work/doc/site1/UI-*.html.
   Login HTML styles are intentionally excluded.
   Duplicate selectors are merged with later declarations taking precedence.
   Static inline styles with stable selectors are included at the end. */

/* UI-contour1.html */
#download .num-input {
  width: 108px;
  padding: 0.38rem 0.5rem;
  border-radius: 10px;
  border: 1px solid #d7e7ed;
  background: #fbfeff;
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
}

/* UI-contour1.html */
#download .num-input:focus {
  outline: 3px solid rgba(37,99,235,0.18);
  outline-offset: 2px;
  border-color: rgba(37,99,235,0.35);
}

/* UI-contour1.html, UI-doryou1.html */
.action-btn {
  margin-top: 1rem;
  display: block;
  width: 100%;
  background: #3b82f6;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

/* UI-contour1.html, UI-doryou1.html */
.action-btn:hover {
  background: #2563eb;
}

/* UI-contour1.html, UI-doryou1.html */
.contour-list {
  margin-top: 1rem;
  padding: 0.5rem;
  background: #f1f5f9;
  border-radius: 6px;
}

/* UI-doryou1.html */
#download .field-label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

/* UI-doryou1.html */
#download .field-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

/* UI-doryou1.html */
#download .field-row .num {
  width: 7.5rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.6);
  background: #fff;
  font-size: 1rem;
  font-weight: 700;
}

/* UI-doryou1.html */
#download .field-row .range {
  flex: 1;
  accent-color: #2563eb;
}

/* UI-doryou1.html */
#download .mini {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: #64748b;
}

/* UI-doryou1.html */
#download #volume-list {
  margin-top: 0.85rem;
}

/* UI-doryou1.html */
#download #volume-list > div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(37,99,235,.15);
  background: rgba(255,255,255,.7);
}

/* UI-doryou1.html */
#download #volume-list button {
  margin-left: auto;
}

/* UI-doryou1.html */
#excludeBtn {
  margin-left: auto;
}

/* UI-doryou1.html */
.control-row.control-row-exclude {
  justify-content: space-between;
}

/* UI-doryou1.html */
.control-row.control-row-exclude .angle-input {
  flex: 0 0 140px;
  width: 140px;
}

/* UI-doryou1.html */
.control-row.control-row-exclude #excludeBtn {
  margin-left: auto;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.card-blue {
  border: 2px solid rgba(37,99,235,.45);
  box-shadow: 0 0 0 3px rgba(37,99,235,.10), var(--shadow);
}

/* UI-decimate1.html, UI-flowingwater1.html */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(37,99,235,.25);
  background: rgba(37,99,235,.08);
  color: #1e3a8a;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.field {
  margin-top: 0.35rem;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.label {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.value-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.value-inline input[type="number"] {
  width: 100%;
  max-width: 220px;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.unit {
  color: var(--muted);
  font-size: 0.88rem;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.btn-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.btn-row .btn {
  flex: 1;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.btn-outline {
  border-color: rgba(37,99,235,.35);
  background: #ffffff;
  color: #1d4ed8;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.btn-outline:hover {
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.55);
}

/* UI-decimate1.html, UI-flowingwater1.html */
.help {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.note {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(100,116,139,.35);
  color: var(--muted);
  font-size: 0.82rem;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.note p {
  margin: 0 0 0.35rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.84rem;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.note ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* UI-decimate1.html, UI-flowingwater1.html */
.note li {
  margin: 0.15rem 0;
}

/* UI-flowingwater1.html */
.indent {
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* UI-flowingwater1.html */
.control-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}

/* UI-flowingwater1.html */
.control-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary2);
  flex: 0 0 auto;
}

/* UI-flowingwater1.html */
.control-row input[type="range"] {
  flex: 1 1 auto;
  min-width: 120px;
  accent-color: var(--primary2);
}

.cap-step-slider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.cap-step-slider input[type="range"] {
  flex: 1 1 auto;
  min-width: 120px;
  accent-color: var(--primary2);
}

.cap-step-slider .angle-input {
  flex: 0 0 110px;
  width: 110px;
}

.cap-step-slider__unit {
  flex: 0 0 auto;
  width: auto;
  font-weight: 700;
  white-space: nowrap;
}

/* UI-flowingwater1.html */
.disclosure-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15,23,42,0.05);
  padding: 0.65rem 0.65rem;
  cursor: pointer;
}

/* UI-flowingwater1.html */
.disclosure-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

/* UI-flowingwater1.html */
.disclosure-arrow {
  font-weight: 900;
}

/* UI-flowingwater1.html */
.disclosure-label {
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* UI-flowingwater1.html */
.disclosure-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary2);
  flex: 0 0 auto;
}

/* UI-obj1.html */
#download .choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

/* UI-obj1.html */
#download .choice {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  padding: 0.65rem 0.7rem;
  cursor: pointer;
  transition: box-shadow .12s ease, border-color .12s ease, transform .06s ease;
  min-width: 0;
}

/* UI-obj1.html */
#download .choice:hover {
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 10px 22px rgba(15,23,42,0.08);
}

/* UI-obj1.html */
#download .choice:active {
  transform: translateY(1px);
}

/* UI-obj1.html */
#download .choice input {
  margin-top: 0.15rem;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

/* UI-obj1.html */
#download .choice__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

/* UI-obj1.html */
#download .choice__title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* UI-obj1.html */
#download .choice__desc {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* UI-obj1.html */
#download .choice:has(input:checked) {
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 3px rgba(37,99,235,.10), var(--shadow);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
}

/* UI-contour1.html, UI-ortho1.html */
#download .control-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}

/* UI-contour1.html, UI-ortho1.html */
#download .value-inline {
  display: inline-block;
  min-width: 44px;
  text-align: right;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

/* UI-ortho1.html */
#download .angle-input {
  width: 140px;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
html, body {
  height: 100%;
  overflow: hidden;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
body {
  font-family: 'Helvetica Neue', sans-serif;
  background: #f9fafb;
  margin: 0;
  padding: 0;
  color: #2d3748;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.menu-bar {
  background: #e0f2f1;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.logo-area img {
  height: 28px;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.menu-group {
  display: flex;
  gap: 1rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.menu-button {
  background: #ffffff;
  border: 1px solid #cbd5e0;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.menu-button:hover {
  background: #e0f7fa;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.menu-button.active {
  border-color: rgba(59,130,246,0.55);
  border-bottom: 4px solid #3b82f6;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(37,99,235,0.16);
  background: #ffffff;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.menu-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f3f4f6;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.surface-opacity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid #cfe3ea;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbfb 100%);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15,23,42,0.05);
  min-width: 240px;
  animation: fadeSlideIn .18s ease-out;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.surface-opacity__label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 72px;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.surface-opacity__title {
  font-size: 0.82rem;
  color: #475569;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.surface-opacity__value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.surface-opacity__range {
  width: 100%;
  accent-color: #0ea5a3;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
[hidden] {
  display: none !important;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.main-content {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.viewer-area {
  flex: 1;
  min-width: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  --surface-alpha: 0.75;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.viewer-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,var(--surface-alpha));
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .18s ease;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.viewer-area[data-surface="on"]::after {
  opacity: 1;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.sidebar {
  flex: 0 0 var(--sidebar-w);
  width: var(--sidebar-w);
  min-width: var(--sidebar-min);
  max-width: var(--sidebar-max);
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.tab-button {
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  border-left: 4px solid transparent;
  background: #f9fafb;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.tab-button.active {
  background: #e0f7fa;
  border-left: 4px solid #3b82f6;
  font-weight: bold;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.tab-content {
  padding: 1rem;
  display: none;
  width: 100%;
  box-sizing: border-box;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.tab-content.active {
  display: block;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.tab-panels {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 1rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.tab-buttons {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.slider-group {
  margin-bottom: 1rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.slider-group label {
  display: block;
  margin-bottom: 0.25rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
input[type=range], input[type=number] {
  width: 100%;
  box-sizing: border-box;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.color-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.color-box {
  width: 40px;
  height: 20px;
  border: 1px solid #ccc;
  cursor: pointer;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.download-section {
  margin-top: 1rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.download-section label {
  display: block;
  margin-top: 0.5rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.radio-group {
  margin-top: 1rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.radio-group label {
  display: block;
  margin: 0.3rem 0;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.download-btn {
  margin-top: 1.5rem;
  display: block;
  background: #3b82f6;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.download-btn:hover {
  background: #2563eb;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.spacer-top {
  margin-top: 2rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.spacer-btn {
  margin-top: 1rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.footer-bar {
  padding: 0.5rem 1rem;
  background: #e5e7eb;
  font-size: 0.85rem;
  color: #4b5563;
  display: flex;
  justify-content: space-between;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
:root {
  --sidebar-min: 320px;
  --sidebar-max: 420px;
  --sidebar-w: clamp(var(--sidebar-min), 28vw, var(--sidebar-max));
  --bg: #f9fafb;
  --panel: #ffffff;
  --panel2: #f6fbfb;
  --border: #e6eef2;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary2: #0ea5a3;
  --danger: #dc2626;
  --shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  --radius: 14px;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, var(--panel2) 100%);
  border-radius: var(--radius);
  padding: 0.9rem;
  box-shadow: var(--shadow);
  margin-bottom: 0.9rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.card-head h3 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.helper {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.status {
  margin-top: 0.6rem;
  padding: 0.55rem 0.65rem;
  border: 1px dashed #cfe3ea;
  border-radius: 12px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.85rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.btn {
  appearance: none;
  border: 1px solid #cfe3ea;
  background: #ffffff;
  color: var(--text);
  border-radius: 12px;
  padding: 0.45rem 0.7rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform .05s ease, background .15s ease, border-color .15s ease;
  box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.btn:hover {
  background: #f3fbfb;
  border-color: #bfe0e6;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.btn:active {
  transform: translateY(1px);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.btn:focus-visible {
  outline: 3px solid rgba(37,99,235,0.25);
  outline-offset: 2px;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.btn-primary {
  border-color: rgba(14,165,163,0.35);
  background: linear-gradient(180deg, rgba(14,165,163,0.95) 0%, rgba(14,165,163,0.78) 100%);
  color: #fff;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.btn-primary:hover {
  filter: brightness(1.03);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.btn-danger {
  border-color: rgba(220,38,38,0.35);
  background: linear-gradient(180deg, rgba(220,38,38,0.92) 0%, rgba(220,38,38,0.78) 100%);
  color: #fff;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.btn-ghost {
  background: transparent;
  box-shadow: none;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.btn-small {
  padding: 0.28rem 0.55rem;
  font-size: 0.8rem;
  border-radius: 10px;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.template-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.6rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.template-row {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  padding: 0.65rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.template-meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  min-width: 0;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.template-title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.template-title .name {
  font-size: 0.9rem;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.template-title .sub {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.blocks {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6eef2;
  flex: 1;
  min-width: 0;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.block {
  flex: 1;
  min-width: 34px;
  padding: 0.2rem 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  color: rgba(0,0,0,0.72);
  user-select: none;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.template-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
  justify-content: flex-end;
  flex: 0 0 auto;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.template-visual {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.tpl-breaks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.tpl-break {
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  border: 1px solid #e6eef2;
  background: #fbfeff;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.tpl-colors {
  display: grid;
  grid-template-columns: repeat(5, 18px);
  gap: 0.35rem 0.35rem;
  align-content: start;
  justify-content: start;
  width: fit-content;
  padding: 0.35rem 0.4rem;
  border-radius: 12px;
  border: 1px solid #e6eef2;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.c-swatch {
  width: 20px;
  height: 16px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.muted {
  color: var(--muted);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.hidden {
  display: none !important;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.break-chips {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0.35rem 0 0.65rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-row {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  padding: 0.65rem;
  cursor: pointer;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-row.selected {
  border-color: rgba(37,99,235,0.45);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-label {
  font-weight: 700;
  font-size: 0.9rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #d7e7ed;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
  color: #111827;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .12s ease, background .12s ease;
  max-width: 100%;
  white-space: nowrap;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-chip-btn:hover {
  box-shadow: 0 6px 16px rgba(15,23,42,0.08);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-chip-btn:active {
  transform: translateY(1px);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-chip-btn.locked {
  cursor: not-allowed;
  opacity: 0.65;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-edit {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-edit__start {
  font-weight: 700;
  font-size: 0.9rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.angle-input {
  flex: 1 1 90px;
  min-width: 70px;
  width: 90px;
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  border: 1px solid #d7e7ed;
  background: #fbfeff;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-inputs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-inputs input[type=number] {
  width: 78px;
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  border: 1px solid #d7e7ed;
  background: #fbfeff;
  font-size: 0.9rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-color {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.55rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.swatches {
  display: grid;
  grid-template-columns: repeat(5, 18px);
  gap: 0.35rem 0.35rem;
  align-content: start;
  justify-content: start;
  align-items: center;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.swatch {
  width: 18px;
  height: 18px;
  border-radius: 7px;
  border: 1px solid rgba(0,0,0,0.12);
  cursor: pointer;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.swatch.active {
  outline: 3px solid rgba(14,165,163,0.25);
  outline-offset: 1px;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.ramp {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #fb923c, #fde047, #22c55e, #06b6d4, #0ea5e9, #2563eb, #7c3aed, #db2777);
  border: 1px solid #e6eef2;
  flex: 1 1 160px;
  min-width: 140px;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.ramp::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
  pointer-events: none;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.ramp-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--dot, #34c759);
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: var(--pos, 50%);
  pointer-events: none;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-detail {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #dbecef;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.range-detail input[type=color] {
  width: 44px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction .card-blue {
  border: 2px solid rgba(37,99,235,.45);
  box-shadow: 0 0 0 3px rgba(37,99,235,.10), var(--shadow);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(37,99,235,.25);
  background: rgba(37,99,235,.08);
  color: #1e3a8a;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction .help {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction .field {
  margin-top: 0.85rem;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction .label {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction .control-row {
  flex-wrap: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction input[type="range"] {
  flex: 1 1 auto;
  min-width: 120px;
  accent-color: var(--primary2);
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction .value-inline {
  display: inline-block;
  min-width: 44px;
  text-align: right;
  color: var(--muted);
  font-weight: 800;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction .angle-input {
  width: 92px;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction .btn-outline {
  border-color: rgba(37,99,235,.35);
  background: #ffffff;
  color: #1d4ed8;
}

/* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#correction .btn-outline:hover {
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.55);
}

/* UI-contour1.html, UI-doryou1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#download .card-blue {
  border: 2px solid rgba(37,99,235,.45);
  box-shadow: 0 0 0 3px rgba(37,99,235,.10), var(--shadow);
}

/* UI-contour1.html, UI-doryou1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#download .badge {
  font-weight: 700;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(37,99,235,.25);
  background: rgba(37,99,235,.08);
  color: #1e3a8a;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* UI-contour1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#download .help {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* UI-contour1.html, UI-doryou1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#download .field {
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(37,99,235,.18);
  background: rgba(255,255,255,.75);
  border-radius: 14px;
  margin-top: 0.75rem;
}

/* UI-contour1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
#download .label {
  font-weight: 700;
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* UI-doryou1.html, UI-obj1.html, UI-shortcut1.html */
#download .btn-row {
  flex-wrap: wrap;
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* UI-obj1.html, UI-shortcut1.html */
#download .btn-row .btn {
  flex: 1;
}

/* UI-contour1.html, UI-obj1.html, UI-shortcut1.html */
#download .btn-outline {
  border-color: rgba(37,99,235,.35);
  background: #ffffff;
  color: #1d4ed8;
}

/* UI-contour1.html, UI-obj1.html, UI-shortcut1.html */
#download .btn-outline:hover {
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.55);
}

/* UI-contour1.html, UI-obj1.html, UI-shortcut1.html */
#download input[type="range"] {
  width: 100%;
  accent-color: var(--primary2);
}

/* UI-obj1.html, UI-shortcut1.html */
#download #route-settings {
  margin-top: 0.25rem;
}

/* UI-obj1.html, UI-shortcut1.html */
#download #route-settings > div {
  padding: 0.75rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}

/* UI-obj1.html, UI-shortcut1.html */
#download #route-settings .value-inline {
  display: inline-block;
  min-width: 44px;
  text-align: right;
  margin-left: 0.5rem;
  color: var(--muted);
  font-weight: 700;
}

@media (min-width: 920px) {
  /* UI-contour1.html, UI-decimate1.html, UI-doryou1.html, UI-flowingwater1.html, UI-obj1.html, UI-ortho1.html, UI-shortcut1.html */
  .template-actions {
    flex-direction: row;
    align-items: center;
  }
}

/* UI-shortcut1.html */
@keyframes fadeSlideIn {
  from{ opacity:0; transform: translateY(-2px); }
        to{ opacity:1; transform: translateY(0); }
}

/* ===== Static inline styles extracted from source UI HTML ===== */
/* UI-flowingwater1.html:1081 */
#boundaryList {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* UI-flowingwater1.html:1080 */
#boundaryPanel {
  margin-top: 0.65rem;
}

/* UI-doryou1.html:995 */
#diff-title {
  margin: 0;
  font-size: 0.92rem;
}

/* UI-doryou1.html:976 */
#range-extract-title {
  margin: 0;
  font-size: 0.92rem;
}

/* UI-doryou1.html:1003 */
#toe-title {
  margin: 0;
  font-size: 0.92rem;
}

/* UI-doryou1.html:975, UI-doryou1.html:994, UI-doryou1.html:1002 */
div.card-head {
  margin-bottom: 0.35rem;
}

/* UI-flowingwater1.html:1010, UI-flowingwater1.html:1052, UI-flowingwater1.html:1060 */
div.control-row {
  padding: 0.55rem 0.65rem;
}

/* UI-flowingwater1.html:1028 */
div.indent {
  margin-top: 0.55rem;
}

/* UI-contour1.html:992 */
div.status {
  margin-top: 0.8rem;
}

/* UI-contour1.html:995, UI-contour1.html:999, UI-contour1.html:1003 */
label.pill {
  justify-content: space-between;
}

/* UI-flowingwater1.html:1025 */
span.pill {
  margin-left: auto;
}

/* Inline styles skipped because they had no stable selector, were dynamic, or used conflicting values on a shared selector:
   - UI-contour1.html:993 <strong> style="color:#334155;"
   - UI-contour1.html:994 <div> style="margin-top:0.55rem; display:flex; flex-direction:column; gap:0.35rem;"
   - UI-doryou1.html:978 <label> style="display:flex;align-items:center;gap:0.5rem;font-weight:800;"
   - UI-doryou1.html:982 <div> style="margin-top:0.75rem;"
   - UI-doryou1.html:1011 <div> style="margin-top:0.85rem;"
   - UI-flowingwater1.html:1019 <span> style="font-weight:800;"
   - UI-flowingwater1.html:1024 <span> style="font-weight:800;"
   - UI-flowingwater1.html:1031 <span> style="font-weight:800;"
   - UI-flowingwater1.html:1035 <span> style="font-weight:800;"
   - UI-flowingwater1.html:1041 <span> style="font-weight:800;"
   - UI-flowingwater1.html:1046 <span> style="font-weight:800;"
   - UI-contour1.html:943 div.actions style="justify-content:flex-end;margin-top:0.8rem"
   - UI-contour1.html:987 div.actions style="margin-top:0.9rem"
   - UI-decimate1.html:939 div.actions style="justify-content:flex-end;margin-top:0.8rem"
   - UI-doryou1.html:962 div.actions style="justify-content:flex-end;margin-top:0.8rem"
   - UI-doryou1.html:989 div.actions style="justify-content:flex-end;margin-top:0.8rem"
   - UI-doryou1.html:997 div.actions style="justify-content:flex-end"
   - UI-doryou1.html:1006 div.actions style="justify-content:flex-end"
   - UI-flowingwater1.html:991 div.actions style="justify-content:flex-end;margin-top:0.8rem"
   - UI-obj1.html:992 div.actions style="justify-content:flex-end;margin-top:0.8rem"
   - UI-ortho1.html:917 div.actions style="justify-content:flex-end;margin-top:0.8rem"
   - UI-ortho1.html:939 div.actions style="justify-content:flex-end;margin-top:0.8rem"
   - UI-ortho1.html:960 div.actions style="justify-content:flex-end;margin-top:0.8rem"
   - UI-shortcut1.html:937 div.actions style="justify-content:flex-end;margin-top:0.8rem"
   - UI-decimate1.html:968 div.btn-row style="margin-top:0.5rem"
   - UI-flowingwater1.html:1003 div.btn-row style="margin-top:0.25rem"
   - UI-flowingwater1.html:1066 div.btn-row style="margin-top:0.95rem"
   - UI-obj1.html:1027 div.btn-row style="justify-content:flex-end;margin-top:0.9rem"
   - UI-shortcut1.html:967 div.btn-row style="margin-top:0.6rem"
   - UI-shortcut1.html:970 div.btn-row style="margin-top:0.45rem"
   - UI-flowingwater1.html:1008 div.field style="margin-top:0.95rem"
   - UI-flowingwater1.html:1016 div.field style="margin-top:0.95rem"
   - UI-flowingwater1.html:1050 div.field style="margin-top:0.95rem"
   - UI-flowingwater1.html:1058 div.field style="margin-top:0.85rem"
   - UI-flowingwater1.html:1070 div.field style="margin-top:1.0rem"
   - UI-flowingwater1.html:1017 label.control-row style="cursor:pointer"
   - UI-flowingwater1.html:1022 label.control-row style="cursor:pointer;margin-top:0.55rem"
   - UI-flowingwater1.html:1029 label.control-row style="cursor:pointer"
   - UI-flowingwater1.html:1033 label.control-row style="cursor:pointer"
   - UI-flowingwater1.html:1039 label.control-row style="cursor:pointer;margin-top:0.55rem"
   - UI-flowingwater1.html:1044 label.control-row style="cursor:pointer;margin-top:0.55rem"
*/
