@font-face { font-family: 'DSS Sans'; src: url('fonts/LiberationSans-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'DSS Sans'; src: url('fonts/LiberationSans-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; }
@font-face { font-family: 'DSS Sans'; src: url('fonts/LiberationSans-Italic.ttf') format('truetype'); font-weight: normal; font-style: italic; }
@font-face { font-family: 'DSS Sans'; src: url('fonts/LiberationSans-BoldItalic.ttf') format('truetype'); font-weight: bold; font-style: italic; }
@font-face { font-family: 'DSS Narrow'; src: url('fonts/LiberationSansNarrow-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; }
@font-face { font-family: 'DSS Narrow'; src: url('fonts/LiberationSansNarrow-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; }

:root {
  --brand: #0b6b57;
  --brand-2: #12896f;
  --brand-soft: #e3f3ee;
  --water: #1f7fd6;
  --water-soft: #e4f1fc;
  --sun: #f5b301;
  --danger: #d6453d;
  --ink: #17302a;
  --muted: #5b7068;
  --line: #d4dfda;
  --line-2: #c3d0ca;
  --face: #f6f8f6;
  --panel: #ffffff;
  --bg-1: #eaf3ef;
  --bg-2: #dcebe5;
  --bar-h: 56px;
  --guide-w: 316px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 40, 32, .08), 0 8px 28px rgba(16, 40, 32, .14);
  --ui-font: 'DSS Sans', 'Liberation Sans', Arial, sans-serif;
  --chrome-font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'DSS Sans', Arial, sans-serif;
  --im: #1f7fd6;
  --is: #7a5af5;
  --fs: #12896f;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg-1);
  font-family: var(--ui-font);
  font-size: 13px;
  color: #000;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}
button { font-family: inherit; }

/* ---- top bar --------------------------------------------------------- */
#topbar {
  position: fixed; inset: 0 0 auto 0; height: var(--bar-h);
  display: flex; align-items: center; gap: 14px; padding: 0 12px 0 16px;
  background: #fff; color: var(--ink); z-index: 100000;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(16, 40, 32, .06);
  font-family: var(--chrome-font);
}
#topbar .brand { display: flex; align-items: center; gap: 9px; flex: none; }
#topbar .logo { width: 30px; height: 30px; border-radius: 8px; }
#topbar .appname { font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: var(--brand); white-space: nowrap; }
#topbar .online {
  margin-left: 6px; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: var(--brand-soft); color: var(--brand); vertical-align: 2px; letter-spacing: .02em;
}
.crumbs { display: flex; align-items: center; gap: 10px; min-width: 0; padding-left: 14px; border-left: 1px solid var(--line); height: 28px; }
#modchip {
  flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff;
  background: var(--brand); white-space: nowrap;
}
#modchip.im { background: var(--im); } #modchip.is { background: var(--is); } #modchip.fs { background: var(--fs); }
#wintitle { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#topbar .spacer { flex: 1; }
#topbar .tools { display: flex; align-items: center; gap: 6px; flex: none; }
#topbar button {
  font: 600 13px var(--chrome-font); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
  height: 36px; min-width: 36px; padding: 0 10px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s, border-color .15s, color .15s;
}
#topbar button:hover { background: var(--brand-soft); border-color: #b5d9cd; }
#topbar button:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
#topbar button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#topbar button[hidden] { display: none; }
#topbar .zoom { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
#topbar .zoom button { border: 0; border-radius: 0; height: 34px; }
#topbar .zoom button + button { border-left: 1px solid var(--line); }
#zfit { min-width: 56px !important; font-variant-numeric: tabular-nums; }
#guidebtn.on { background: var(--brand-soft); border-color: #b5d9cd; color: var(--brand); }

/* the exit button: always the last thing on the right of the top bar */
#topbar .exit {
  flex: none; height: 38px; padding: 0 16px 0 12px; border-radius: 12px; font-weight: 700; font-size: 14px;
  background: var(--brand); border-color: var(--brand); color: #fff; min-width: 132px;
}
#topbar .exit:hover { background: #095847; border-color: #095847; }
#topbar .exit.k-quit { background: var(--danger); border-color: var(--danger); }
#topbar .exit.k-quit:hover { background: #b9362f; border-color: #b9362f; }
#topbar .exit[hidden] { display: inline-flex; visibility: hidden; }
.exit .ic, .tclose .ic { width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.k-back .ic, .k-menu .ic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E"); }
.k-menu .ic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.k-close .ic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.k-quit .ic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v8M6.3 6.3a8 8 0 1 0 11.4 0'/%3E%3C/svg%3E"); }

/* ---- work area -------------------------------------------------------- */
#workspace { position: fixed; inset: var(--bar-h) 0 0 0; display: flex; }
#desktop-wrap {
  position: relative; flex: 1; min-width: 0; overflow: auto;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 214, 102, .28), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(31, 127, 214, .12), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  -webkit-overflow-scrolling: touch;
}
#desktop-wrap::after {   /* soft field horizon at the bottom of the work area */
  content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 140' preserveAspectRatio='none'%3E%3Cpath d='M0 80 C200 40 380 90 600 60 C820 30 1000 80 1200 50 V140 H0Z' fill='%23cfe6d9'/%3E%3Cpath d='M0 110 C260 80 520 120 760 96 C960 78 1080 104 1200 92 V140 H0Z' fill='%23bfdccb'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
#desktop { position: relative; z-index: 2; min-width: 100%; min-height: 100%; transform-origin: 0 0; pointer-events: none; }
#desktop > * { pointer-events: auto; }

/* ---- windows --------------------------------------------------------- */
.vbwin {
  position: absolute; left: 0; top: 0;
  background: var(--panel); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(16, 40, 32, .08);
  font-family: var(--ui-font);
}
.vbwin.active { box-shadow: 0 1px 2px rgba(16, 40, 32, .1), 0 14px 40px rgba(16, 40, 32, .22); }
.vbwin.as-hub { visibility: hidden !important; }
.titlebar {
  height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 14px;
  color: var(--muted); font: 600 14px var(--chrome-font);
  cursor: move; user-select: none; touch-action: none;
  background: #fff; border-bottom: 1px solid var(--line);
  position: relative;
}
.titlebar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line); }
.vbwin.active .titlebar { color: var(--ink); }
.vbwin.active .titlebar::before { background: var(--brand-2); }
.vbwin.m-im.active .titlebar::before { background: var(--im); }
.vbwin.m-is.active .titlebar::before { background: var(--is); }
.vbwin.m-fs.active .titlebar::before { background: var(--fs); }
.ticon { width: 20px; height: 20px; flex: none; border-radius: 4px; }
.ttext { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbtns { display: flex; flex: none; }
.tclose {
  height: 30px; padding: 0 12px 0 9px; border-radius: 9px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 12.5px var(--chrome-font); color: var(--ink);
  background: #f1f5f3; border: 1px solid var(--line);
  transition: background .15s, color .15s, border-color .15s;
}
.tclose:hover { background: var(--brand-soft); border-color: #b5d9cd; color: var(--brand); }
.tclose.k-quit:hover { background: #fdecea; border-color: #f3c3bf; color: var(--danger); }
.tclose.k-close { padding: 0; width: 30px; justify-content: center; }
.tclose.k-close .lb { display: none; }
.tclose:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.client { position: relative; overflow: hidden; background-repeat: no-repeat; background-position: 0 0; }
.exit-moved { display: none !important; }

/* ---- controls -------------------------------------------------------- */
.vbc { position: absolute; margin: 0; overflow: hidden; line-height: 1.15; }
.sunken { border: 1px solid var(--line-2); border-radius: 4px; }
.single { border: 1px solid #44514c; }
.vb-label { padding: 0; cursor: default; user-select: none; }
.vb-label.sunken { padding: 1px 2px; }
.vb-label.disabled { color: var(--disabled, #a2b0aa) !important; }

.vb-text {
  padding: 0 0 0 3px; border: 1px solid var(--line-2); border-radius: 4px;
  outline: none; font-variant-numeric: normal;
  -webkit-appearance: none; appearance: none;
  transition: border-color .12s, box-shadow .12s;
}
.vb-text.multi { resize: none; padding: 2px 4px; }
.vb-text.flat { border: none; }
.vb-text:hover:not(:disabled) { border-color: #9fb5ac; }
.vb-text:focus { border-color: var(--brand-2); box-shadow: 0 0 0 2px rgba(18, 137, 111, .22); }
.vb-text:disabled { color: #a2b0aa; -webkit-text-fill-color: #a2b0aa; }
.vb-text::selection { background: var(--brand-2); color: #fff; }

.vb-button {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1px 3px; color: var(--ink); text-align: center;
  background: linear-gradient(#ffffff, #f3f7f5); cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 7px;
  box-shadow: 0 1px 0 rgba(16, 40, 32, .06);
  touch-action: manipulation;
  transition: background .12s, border-color .12s, box-shadow .12s, transform .06s;
}
.vb-button:hover:not(:disabled) { border-color: var(--brand-2); background: linear-gradient(#ffffff, #e6f4ef); box-shadow: 0 2px 6px rgba(18, 137, 111, .18); }
.vb-button:active:not(:disabled) { transform: translateY(1px); background: #dcefe8; box-shadow: none; }
.vb-button:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.vb-button .cap { white-space: pre-wrap; overflow-wrap: normal; max-width: 100%; }
.vb-button .pic { max-width: 100%; flex: none; }
.vb-button:disabled { color: #a2b0aa; cursor: default; background: #f3f5f4; box-shadow: none; }

.vb-toggle {
  display: flex; align-items: center; gap: 3px; cursor: default; user-select: none;
  white-space: pre-wrap;
}
.vb-toggle input { margin: 0 3px 0 0; width: 13px; height: 13px; flex: none; accent-color: var(--brand-2); cursor: pointer; }
.vb-toggle.disabled { color: #a2b0aa !important; }

.vb-frame .box {
  position: absolute; left: 0; right: 1px; bottom: 1px;
  border: 1px solid var(--line); border-radius: 8px;
}
.vb-frame .fcap { position: absolute; left: 8px; top: 0; padding: 0 3px; white-space: pre; line-height: 1.15; color: var(--brand); font-weight: bold; }
.vb-frame.disabled .fcap { color: #a2b0aa !important; }

.vb-picture { background-repeat: no-repeat; background-position: 0 0; }
.vb-picture.sunken { box-shadow: none; border-radius: 0; border: 0; }
.vb-picture.sunken::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 99999;
  border: 1px solid var(--line-2);
}
.vb-image { object-fit: fill; user-select: none; -webkit-user-drag: none; }
.vb-line { left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
.vb-shape { pointer-events: none; }

/* sliders */
.vb-slider { display: flex; align-items: flex-start; touch-action: none; }
.vb-slider input {
  -webkit-appearance: none; appearance: none; background: transparent;
  width: 100%; height: 22px; margin: 0; padding: 0; cursor: pointer;
}
.vb-slider.vertical input { writing-mode: vertical-lr; direction: ltr; width: 22px; height: 100%; }
.vb-slider input:focus { outline: none; }
.vb-slider input::-webkit-slider-runnable-track { height: 4px; background: #d5e2dc; border-radius: 2px; border: 0; }
.vb-slider.vertical input::-webkit-slider-runnable-track { width: 4px; height: auto; }
.vb-slider input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px;
  background: #fff; border: 3px solid var(--brand-2); border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.vb-slider.vertical input::-webkit-slider-thumb { margin-top: 0; margin-left: -5px; }
.vb-slider input::-moz-range-track { height: 4px; background: #d5e2dc; border-radius: 2px; border: 0; }
.vb-slider.vertical input::-moz-range-track { width: 4px; height: 100%; }
.vb-slider input::-moz-range-thumb {
  width: 9px; height: 9px; background: #fff; border: 3px solid var(--brand-2); border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.vb-slider input:hover::-webkit-slider-thumb { transform: scale(1.12); }
.vb-slider input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(18, 137, 111, .25); }
.vb-slider .tickrow { position: absolute; left: 7px; right: 7px; top: 19px; height: 4px; pointer-events: none; }
.vb-slider.vertical .tickrow { display: none; }
.vb-slider .tickrow i { position: absolute; top: 0; width: 1px; height: 4px; background: #8aa39a; }
.vb-slider.disabled input { opacity: .5; cursor: default; }

/* ---- main menu (hub) ---------------------------------------------------- */
#hub {
  position: absolute; inset: 0; z-index: 1; overflow: auto; padding: 28px 28px 150px;
  font-family: var(--chrome-font); color: var(--ink);
  transition: filter .25s, opacity .25s;
}
#hub[hidden] { display: none; }
#hub.dim { filter: blur(2px) saturate(.8); opacity: .55; pointer-events: none; }
.hub-inner { max-width: 1120px; margin: 0 auto; }
.hero {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch;
  background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); min-height: 250px;
}
.hero .txt { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.hero .kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }
.hero h1 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.hero p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 52ch; }
.hero .who { font-size: 13px; color: var(--muted); margin-top: 6px; }
.hero .pic { position: relative; min-height: 220px; }
.hero .pic .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-h2 { margin: 30px 2px 12px; font-size: 18px; font-weight: 800; display: flex; align-items: baseline; gap: 10px; }
.hub-h2 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mcard {
  --c: var(--brand-2);
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(16, 40, 32, .06);
  transition: transform .2s, box-shadow .2s;
}
.mcard:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(16, 40, 32, .08), 0 18px 40px rgba(16, 40, 32, .2); }
.mcard.im { --c: var(--im); } .mcard.is { --c: var(--is); } .mcard.fs { --c: var(--fs); }
.mcard .art { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; }
.mcard .lvl { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92);
  font-size: 11.5px; font-weight: 800; color: var(--c); letter-spacing: .03em; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.mcard .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mcard h3 { margin: 0; font-size: 20px; letter-spacing: -.01em; color: var(--c); }
.mcard p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; flex: 1; }
.mcard .prog { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.mcard .prog .track { flex: 1; height: 6px; background: #edf2f0; border-radius: 3px; overflow: hidden; }
.mcard .prog .track i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 3px; transition: width .4s; }
.mcard .acts { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.btn {
  font: 700 14px var(--chrome-font); height: 40px; padding: 0 16px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .06s;
}
.btn:hover { background: #f2f7f5; border-color: var(--line-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.btn.primary { background: var(--c, var(--brand)); border-color: var(--c, var(--brand)); color: #fff; flex: 1; }
.btn.primary:hover { filter: brightness(.93); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.papers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
.paper { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 40, 32, .05); transition: transform .2s, box-shadow .2s, border-color .2s; }
.paper:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16, 40, 32, .12); border-color: #cfe1d9; }
.paper .pi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; }
.paper .pi.fs { background: linear-gradient(135deg, var(--fs), #3cbf95); }
.paper .pi.is { background: linear-gradient(135deg, var(--im), var(--is)); }
.paper svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.paper .pt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.paper .pt small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.paper .pt b { font-size: 14.5px; line-height: 1.35; color: var(--ink); }
.paper .pt > span { font-size: 13px; line-height: 1.45; color: #4d625a; }
.paper .pt em { font-style: normal; font-size: 12px; color: var(--muted); }
.paper .pi.im { background: linear-gradient(135deg, var(--im), #5fb0ff); }
@media (max-width: 1180px) { .papers { grid-template-columns: 1fr; } }
.paper .go { margin-left: auto; color: var(--brand-2); flex: none; }
.paper .go svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .papers { grid-template-columns: 1fr; } }
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; cursor: pointer;
  border: 1px solid rgba(16, 40, 32, .06); box-shadow: 0 1px 2px rgba(16, 40, 32, .06); text-align: left;
  font: inherit; color: var(--ink); transition: box-shadow .15s, transform .15s;
}
.tile:hover { box-shadow: 0 8px 20px rgba(16, 40, 32, .12); transform: translateY(-2px); }
.tile .ti { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand); }
.tile .ti svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile b { display: block; font-size: 14px; }
.tile span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.tile.quit .ti { background: #fdecea; color: var(--danger); }
.hub-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.hub-foot a { color: var(--brand); }

/* ---- guide panel ------------------------------------------------------------ */
#guide {
  flex: none; width: var(--guide-w); overflow: auto; background: #fff; border-left: 1px solid var(--line);
  font-family: var(--chrome-font); color: var(--ink); z-index: 2;
}
#guide[hidden] { display: none; }
#guide .art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
#guide .gbody { padding: 16px 18px 24px; }
#guide .gmod { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gc, var(--brand-2)); }
#guide h2 { margin: 4px 0 8px; font-size: 19px; letter-spacing: -.01em; }
#guide p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #3c524a; }
#guide ol.tips { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: t; }
#guide ol.tips li { position: relative; padding: 0 0 10px 34px; font-size: 13.5px; line-height: 1.45; color: #3c524a; counter-increment: t; }
#guide ol.tips li::before {
  content: counter(t); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--gc, var(--brand-2));
}
#guide .note { padding: 10px 12px; border-radius: 10px; background: #fff8e1; color: #6b5200; font-size: 13px; line-height: 1.45; margin-bottom: 14px; }
#guide .journey { margin: 4px 0 14px; padding: 12px; border-radius: 12px; background: #f4f8f6; }
#guide .journey h4 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; justify-content: space-between; }
#guide .steps { display: flex; gap: 4px; }
#guide .steps .st { flex: 1; text-align: center; font-size: 11px; color: var(--muted); }
#guide .steps .dot {
  width: 28px; height: 28px; margin: 0 auto 4px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line-2); font-size: 12px; font-weight: 800; color: var(--muted);
}
#guide .steps .st.done .dot { background: var(--gc); border-color: var(--gc); color: #fff; }
#guide .steps .st.cur .dot { border-color: var(--gc); color: var(--gc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gc) 20%, transparent); }
#guide .steps .st.cur { color: var(--ink); font-weight: 700; }
#guide .xp { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
#guide .xp .track { flex: 1; height: 8px; border-radius: 4px; background: #e6eeea; overflow: hidden; }
#guide .xp .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--gc), var(--sun)); border-radius: 4px; transition: width .5s; }
#guide .badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 10px; border-radius: 999px; background: #fff3c4; color: #6b5200; font-size: 12.5px; font-weight: 700; animation: pop .5s ease-out; }
#guide .gclose { display: none; }

/* toast (achievements) */
#toast {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 30px); opacity: 0; z-index: 160000;
  background: #17302a; color: #fff; padding: 10px 16px; border-radius: 12px; font: 600 14px var(--chrome-font);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .3s, opacity .3s; pointer-events: none;
}
#toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---- loading / ended ------------------------------------------------- */
#loading, #ended {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  z-index: 200000; padding: 16px; font-family: var(--chrome-font);
}
#ended { background: rgba(23, 48, 42, .55); backdrop-filter: blur(4px); }
#ended[hidden] { display: none; }
#loading.gone { opacity: 0; pointer-events: none; transition: opacity .35s; }
.card {
  background: #fff; border-radius: 22px; padding: 0 0 26px; text-align: center; overflow: hidden;
  width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(16, 40, 32, .25);
}
.card .loadart { height: 170px; margin-bottom: 14px; }
.card .loadart .art { width: 100%; height: 100%; display: block; }
.card h1 { margin: 6px 0 4px; font-size: 30px; letter-spacing: -.02em; color: var(--brand); }
.card .sub, .card p { margin: 0 28px 18px; color: var(--muted); font-size: 14px; }
.card .bar { height: 8px; margin: 0 28px; background: #e3ece8; border-radius: 4px; overflow: hidden; }
#loadbar { height: 100%; width: 3%; background: linear-gradient(90deg, var(--brand-2), var(--water)); border-radius: 4px; transition: width .4s; }
#loadmsg { margin: 12px 28px 0; color: var(--muted); font-size: 13px; min-height: 1.2em; }
#loadmsg.err { color: #b00020; text-align: left; white-space: pre-wrap; font-family: monospace; font-size: 11px; }
.card button {
  font: 700 15px var(--chrome-font); padding: 11px 22px; margin-top: 4px; cursor: pointer;
  background: var(--brand); color: #fff; border: 0; border-radius: 12px;
}
.card button:hover { background: #095847; }

/* ---- dialogs (MsgBox, report viewer, about) --------------------------- */
#modal-layer:empty { display: none; }
#modal-layer {
  position: fixed; inset: 0; z-index: 150000; background: rgba(23, 48, 42, .28);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  backdrop-filter: blur(1.5px);
}
.dlg {
  position: absolute; max-width: min(580px, calc(100vw - 32px));
  border-radius: 16px; background: #fff; overflow: hidden;
  box-shadow: 0 24px 70px rgba(16, 40, 32, .35); font-family: var(--chrome-font);
  animation: pop .18s ease-out;
}
.dlg .titlebar { cursor: default; color: var(--ink); }
.dlg .titlebar::before { background: var(--brand-2); }
.dlg .body { padding: 18px 20px 16px; font-size: 14px; color: var(--ink); }
.dlg .msg { display: flex; gap: 14px; align-items: flex-start; }
.dlg .msg p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 60vh; overflow: auto; line-height: 1.5; }
.dlg .ico { flex: none; width: 36px; height: 36px; border-radius: 50%; color: #fff;
  font: 800 19px/36px var(--chrome-font); text-align: center; }
.dlg .ico.e { background: var(--danger); }
.dlg .ico.w { background: #fff1c2; color: #8a6400; }
.dlg .ico.i { background: var(--water-soft); color: var(--water); font-family: Georgia, serif; }
.dlg .ico.q { background: var(--brand-soft); color: var(--brand); }
.dlg .btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.dlg .btns button {
  min-width: 92px; height: 38px; padding: 0 16px; font: 700 14px var(--chrome-font); cursor: pointer;
  background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px;
}
.dlg .btns button:hover { background: #f2f7f5; }
.dlg .btns button:first-child { background: var(--brand); border-color: var(--brand); color: #fff; }
.dlg .btns button:first-child:hover { background: #095847; }
.dlg .btns button:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.dlg pre {
  margin: 0; background: #f7faf9; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; max-height: 60vh; overflow: auto; font: 12px/1.4 'Liberation Mono', Consolas, monospace;
  white-space: pre; min-width: min(500px, calc(100vw - 80px));
}
.dlg.about .body p { margin: 0 0 10px; line-height: 1.5; }
.dlg .tclose { width: 30px; padding: 0; justify-content: center; }

/* ---- animations of the illustrations --------------------------------------- */
/* animate the `scale` property, not `transform`, so an element positioned with a
   transform="translate(...)" keeps its place (otherwise `transform:none` here
   wipes it and the mark jumps to the group origin — e.g. the sunflower head). */
@keyframes pop { from { scale: .94; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 14px 0; } }
@keyframes sway { 0%, 100% { rotate: -2.5deg; } 50% { rotate: 2.5deg; } }
@keyframes rain { 0% { translate: 0 -10px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { translate: 0 62px; opacity: 0; } }
@keyframes drip { 0% { translate: 0 -4px; opacity: 0; } 20% { opacity: 1; } 100% { translate: 0 18px; opacity: 0; } }
@keyframes soak { 0%, 100% { height: 18px; opacity: .14; } 50% { height: 44px; opacity: .28; } }
@keyframes gauge { 0%, 100% { y: 30px; height: 45px; } 50% { y: 6px; height: 69px; } }
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes vapor { 0% { translate: 0 6px; opacity: 0; } 30% { opacity: .8; } 100% { translate: 0 -26px; opacity: 0; } }
@keyframes wind { 0%, 100% { translate: -6px 0; opacity: .5; } 50% { translate: 8px 0; opacity: 1; } }
@keyframes thermo { 0%, 100% { y: -2px; height: 26px; } 50% { y: -14px; height: 38px; } }
@keyframes draw { from { stroke-dashoffset: 700; } to { stroke-dashoffset: 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes slosh { 0%, 100% { y: 22px; height: 36px; } 50% { y: 30px; height: 28px; } }
@keyframes dose { 0% { translate: 0 -6px; opacity: 0; } 30% { opacity: 1; } 100% { translate: 0 18px; opacity: 0; } }
@keyframes nutr { 0% { translate: 20px 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { translate: 300px 0; opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes bloom { 0%, 100% { scale: .85; } 50% { scale: 1.1; } }
@keyframes sprayk { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.art .spin { animation: spin 24s linear infinite; transform-box: fill-box; transform-origin: center; }
.art .spin.fast { animation-duration: 1.4s; }
.art .drift { animation: drift 9s ease-in-out infinite; }
.art .drift.slow { animation-duration: 14s; }
.art .sway { animation: sway 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.art .rain { animation: rain 1.8s linear infinite; }
.art .drip { animation: drip 1.6s ease-in infinite; }
.art .soakwave { animation: soak 3.6s ease-in-out infinite; }
.art .gauge { animation: gauge 3.6s ease-in-out infinite; }
.art .flow { animation: flow 1.1s linear infinite; }
.art .vapor path { animation: vapor 2.6s ease-out infinite; }
.art .wind { animation: wind 3s ease-in-out infinite; }
.art .thermo { animation: thermo 5s ease-in-out infinite; }
.art .drawline { stroke-dasharray: 700; animation: draw 3.5s ease-out infinite alternate; }
.art .bob { animation: bob 1.6s ease-in-out infinite; }
.art .slosh { animation: slosh 3s ease-in-out infinite; }
.art .dose { animation: dose 1.4s ease-in infinite; }
.art .nutr { animation: nutr 4.2s linear infinite; }
.art .blink { animation: blink 2.4s ease-in-out infinite; }
.art .bloom { animation: bloom 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.art .spray { animation: sprayk 1.4s ease-in-out infinite; }

/* ---- live scenes (guide panel) ------------------------------------------------- */
#guide .scwrap { position: relative; background: #f4faf7; border-bottom: 1px solid var(--line); }
#guide .scwrap .art.scene { aspect-ratio: auto; }
#guide .live { position: static; margin: 8px 10px 0; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 7px; border-radius: 999px;
  background: rgba(23, 48, 42, .78); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; backdrop-filter: blur(4px); pointer-events: none; }
#guide .live i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a5f; box-shadow: 0 0 0 0 rgba(255, 90, 95, .7); animation: livepulse 1.6s ease-out infinite; }
#guide .scwrap:has(.tall) { padding-bottom: 2px; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 95, .7); } 100% { box-shadow: 0 0 0 8px rgba(255, 90, 95, 0); } }
.scene .sc-level, .scene .sc-move, .scene .sc-needle { transition: transform .7s cubic-bezier(.34, 1.3, .64, 1); }
.scene .sc-level { transform-box: fill-box; transform-origin: 50% 100%; }
.scene .sc-needle { transform-box: view-box; transform-origin: 0 0; }
.scene .sc-fill { transition: fill .8s ease, stroke .8s ease; }
.scene .sc-fade { transition: opacity .8s ease; }
.scene [data-k^="lv"] { transform-box: view-box; transition: transform 1s cubic-bezier(.34, 1.25, .64, 1); }
.scene .wave { animation: wave 2.4s linear infinite; }
@keyframes wave { to { translate: 62px 0; } }
.scene .bubble { animation: bubble 2.6s ease-in infinite; }
@keyframes bubble { 0% { translate: 0 0; opacity: 0; } 15% { opacity: .8; } 100% { translate: 3px -80px; opacity: 0; } }
.scene .ion { animation: ion 2.3s ease-in-out infinite; }
@keyframes ion { 0%, 100% { translate: 0 0; } 25% { translate: 2px -2px; } 50% { translate: -2px 1px; } 75% { translate: 1px 2px; } }
.scene .spark { animation: blink .5s steps(2) infinite; transition: opacity .4s; }
.scene .turn { animation-name: turn; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
@keyframes turn { 0%, 100% { opacity: .14; } 6%, 14% { opacity: .6; } 22% { opacity: .14; } }
.scene .pop { animation: pop .6s cubic-bezier(.34, 1.56, .64, 1) both; transform-box: fill-box; transform-origin: center; }
.scene .windl { stroke-dasharray: 60 140; animation: windl var(--wd, 2.4s) linear infinite; }
@keyframes windl { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
.scene .sway { animation-name: swayv; }
@keyframes swayv { 0%, 100% { rotate: calc(var(--sw, 2.5deg) * -1); } 50% { rotate: var(--sw, 2.5deg); } }

/* ---- Graphical Analysis: modern chart over the program's own lines ---------------- */
.vb-picture.mchart { border: 1px solid #dfe8e4 !important; border-radius: 10px; overflow: hidden; box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(16, 40, 32, .06); background: #fff !important; }
.vb-picture.mchart > svg.vb-line { visibility: hidden; }
.vb-picture.mchart > svg.mchart-ov { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; }
.mchart-ov .mc-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: mcdraw 1.6s ease-out forwards; }
@keyframes mcdraw { to { stroke-dashoffset: 0; } }
.mchart-ov .mc-pt { opacity: 0; animation: pop .4s ease-out forwards; transform-box: fill-box; transform-origin: center; cursor: help; }
.mchart-ov .mc-pt:hover { r: 5.5; }
.mchart-ov .mc-hit { animation: pop .5s 1.4s ease-out both; }
.mchart-ov .mc-pulse { animation: mcpulse 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes mcpulse { 0% { scale: .6; opacity: .5; } 100% { scale: 2.2; opacity: 0; } }
.vbwin[data-form="Form4"] [data-n="Picture2_0"] { background: #1f5fbf !important; }
.vbwin[data-form="Form4"] [data-n="Picture2_1"] { background: linear-gradient(180deg, #1f7fd6 0 3px, #9fd0ff 3px) !important; }
.vbwin[data-form="Form4"] [data-n="Picture2_2"] { background: repeating-linear-gradient(90deg, #2e9e5a 0 6px, transparent 6px 9px) center / 100% 3px no-repeat, rgba(67, 160, 71, .15) !important; }
.vbwin[data-form="Form4"] [data-n="Picture2_3"] { background: #f08c00 !important; }
.vbwin[data-form="Form4"] [data-n="Picture2_4"] { background: repeating-linear-gradient(90deg, #e5484d 0 3px, transparent 3px 7px) center / 100% 3px no-repeat, rgba(229, 72, 77, .1) !important; }
.vbwin[data-form="Form4"] [data-n^="Picture2_"] { border: none !important; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.vbwin[data-form="Form4"] [data-n^="Picture3_"].gseg { background: var(--gc2) !important; border: none !important; border-radius: 3px; transition: background .6s; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08); }
.vbwin[data-form="Form4"] [data-n="Frame3"] { border-radius: 10px; background: #f4f8f6; }

/* ---- Analysis: recommendation card and data grid -------------------------------- */
.vbwin .msgcard, .vbwin[data-form="calculo"] [data-n="Text1"] {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2312896f'/%3E%3Cpath d='M12 5c2.6 3.4 4 5.6 4 7.6a4 4 0 0 1-8 0C8 10.6 9.4 8.4 12 5z' fill='%23fff'/%3E%3C/svg%3E") 12px 12px / 26px no-repeat !important;
  color: #17302a !important; -webkit-text-fill-color: #17302a; border: 1px solid #bfe3d4 !important; border-left: 4px solid var(--brand-2) !important;
  border-radius: 12px !important; padding: 9px 12px 9px 48px !important; font: 600 12.5px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  box-shadow: 0 6px 18px rgba(18, 137, 111, .1);
}
.vbwin[data-form="calculo"] input.vb-text { border-color: #e4ece8; border-radius: 3px; font-variant-numeric: tabular-nums; text-align: center; padding: 0 1px; }
.vbwin[data-form="calculo"] input.vb-text[data-n^="Days_"] { background: #eaf3fc; border-color: #d3e5f7; color: #1f5fbf; font-weight: 800; }
.vbwin[data-form="calculo"] input.vb-text.t-blue { background: #eef6ff; border-color: #d6e8fb; }
.vbwin[data-form="calculo"] input.vb-text.t-red { background: #fff2f2; border-color: #f9d9da; }
.vb-text { text-overflow: ellipsis; }

@media (prefers-reduced-motion: reduce) {
  .art *, .art { animation: none !important; }
}

/* ---- smaller screens ---------------------------------------------------------- */
@media (max-width: 1180px) {
  #guide { position: fixed; right: 0; top: var(--bar-h); bottom: 0; box-shadow: -10px 0 30px rgba(16, 40, 32, .18); }
  #guide.closed { display: none; }
  #guide .gclose { display: inline-flex; position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  #topbar .tools .tb .lb, .crumbs #modchip { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero .pic { min-height: 190px; order: -1; }
}
@media (max-width: 640px) {
  :root { --bar-h: 52px; }
  #topbar { gap: 8px; padding: 0 8px 0 10px; }
  .crumbs, #topbar .zoom #zin, #topbar .zoom #zout, #about { display: none !important; }
  #topbar .appname .online { display: none; }
  #topbar .exit { min-width: 0; padding: 0 12px 0 10px; }
  #hub { padding: 14px 14px 140px; }
  .cards, .more { grid-template-columns: 1fr; }
  .hero .txt { padding: 20px; }
  #guide { width: 100%; }
}
.vbwin[data-form="calculo"] input.vb-text { text-overflow: clip; }

.vbwin .msgcard { padding: 6px 10px 6px 42px !important; background-size: 22px !important; background-position: 10px 8px !important; font-size: 12px !important; overflow: auto; }
.vbwin .msgcard.empty { background-image: none !important; padding-left: 10px !important; border-left-width: 1px !important; box-shadow: none; background-color: #f7faf9 !important; }

/* ---- language menu ----------------------------------------------------------- */
.langwrap { position: relative; display: inline-flex; }
#langbtn .lb { font-weight: 800; letter-spacing: .04em; }
#langmenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 190px; padding: 6px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16, 40, 32, .18); display: flex; flex-direction: column; gap: 2px; animation: pop .18s ease-out; }
#langmenu[hidden] { display: none; }
#langmenu button { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; text-align: left; }
#langmenu button b { width: 30px; font-size: 11.5px; color: var(--muted); letter-spacing: .05em; }
#langmenu button:hover { background: var(--brand-soft); }
#langmenu button[aria-checked="true"] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
#langmenu button[aria-checked="true"]::after { content: "✓"; margin-left: auto; color: var(--brand); }

/* ---- the researcher ---------------------------------------------------------- */
.researcher { padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, #ffffff 0%, #f1f8f5 100%); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 40, 32, .05); margin-bottom: 8px; }
.researcher .rhead { display: flex; align-items: center; gap: 16px; }
.researcher .avatar { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; font-size: 22px; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--im), var(--fs)); box-shadow: 0 6px 16px rgba(18, 137, 111, .3), inset 0 0 0 3px rgba(255, 255, 255, .5); }
.researcher h3 { margin: 0; font-size: 19px; }
.researcher .rrole { margin: 3px 0 0; color: var(--brand); font-weight: 700; font-size: 13.5px; }
.researcher .rintro { margin: 14px 0 16px; font-size: 14.5px; line-height: 1.6; color: #34493f; max-width: 880px; }
.timeline { list-style: none; margin: 0 0 16px; padding: 0 0 0 22px; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--im), var(--fs)); border-radius: 2px; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -21px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-2); }
.timeline .when { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.timeline b { font-size: 14.5px; }
.timeline li > span:last-child { font-size: 13.5px; line-height: 1.5; color: #4d625a; }
.researcher .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.researcher .chips span { padding: 5px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 700; }

/* ---------- automatic weather (map + climate normals) ---------- */
.climabtn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; margin-right: 8px;
  border: 1px solid var(--water); border-radius: 10px; background: var(--water-soft); color: #0d4f8c;
  font: 700 13px var(--chrome-font); cursor: pointer; }
.climabtn:hover { background: #d3e8fb; }
#clima { position: fixed; inset: 0; z-index: 100400; display: flex; align-items: center; justify-content: center;
  padding: 18px; background: rgba(12, 32, 26, .42); backdrop-filter: blur(3px); font-family: var(--chrome-font); color: var(--ink); }
#clima[hidden] { display: none; }
#clima .cbox { width: min(1220px, 100%); max-height: calc(100vh - 36px); display: flex; flex-direction: column;
  background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(10, 30, 25, .35); overflow: hidden; animation: cpop .25s ease-out; }
@keyframes cpop { from { transform: translateY(12px) scale(.985); opacity: 0; } }
#clima header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); background: linear-gradient(120deg, #e8f4fd, #eaf6f0); }
#clima .ch { display: flex; gap: 12px; align-items: center; min-width: 0; }
#clima .cic { font-size: 30px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
#clima h2 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
#clima header p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
#clima .cman { flex: none; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff;
  font: 600 13px var(--chrome-font); color: var(--ink); cursor: pointer; }
#clima .cman:hover { border-color: var(--brand); color: var(--brand); }
#clima .cgrid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 0; flex: 1; }
#clima .cmapw { position: relative; background: #cfe6f6; min-height: 380px; }
#clima .cmap { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; display: block; }
#clima .cmap .sea { fill: #bfdff3; }
#clima .cmap .band { fill: rgba(120, 140, 150, .10); }
#clima .cmap .grat { stroke: rgba(255, 255, 255, .55); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
#clima .cmap .land { fill: #eef3e4; stroke: #9db59a; stroke-width: .7; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
#clima .cmap .pin .drop { fill: var(--danger); stroke: #fff; stroke-width: 6; }
#clima .cmap .pin .dot { fill: #fff; }
#clima .cmap .pin .halo { fill: rgba(214, 69, 61, .25); animation: chalo 1.8s ease-out infinite; transform-origin: 0 0; }
@keyframes chalo { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
#clima .mctl { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; }
#clima .mctl button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff;
  font: 700 18px var(--chrome-font); color: var(--ink); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
#clima .mhint { position: absolute; left: 12px; right: 60px; bottom: 10px; font-size: 12px; color: #2c4a5e;
  background: rgba(255,255,255,.82); border-radius: 8px; padding: 6px 9px; pointer-events: none; }
#clima .cside { padding: 14px 16px 16px; overflow: auto; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
#clima .crow { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
#clima label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); flex: 1 1 90px; min-width: 0; }
#clima label.grow { flex: 2 1 180px; }
#clima input[type=number], #clima input[type=date] { height: 38px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px;
  font: 600 15px var(--chrome-font); color: var(--ink); background: #fff; width: 100%; box-sizing: border-box; min-width: 0; }
#clima input:focus { outline: 2px solid var(--water); outline-offset: 0; border-color: var(--water); }
#clima .cgeo { height: 38px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; font: 600 13px var(--chrome-font); cursor: pointer; color: var(--ink); }
#clima .cwarn { margin: 0; padding: 8px 10px; border-radius: 9px; background: #fff4d6; color: #7a5600; font-size: 13px; }
#clima .cfc { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--face); display: flex; flex-direction: column; gap: 6px; }
#clima .cfc.has { border-color: #9ccbf0; background: #f1f8fe; }
#clima .cfch { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#clima .cfcbtn { height: 32px; padding: 0 12px; border-radius: 9px; border: 0; background: var(--water); color: #fff; font: 700 13px var(--chrome-font); cursor: pointer; }
#clima .cfcbtn:disabled { opacity: .6; }
#clima .cfcuse { flex: none; flex-direction: row; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); }
#clima .cfcn { display: flex; align-items: center; gap: 10px; }
#clima .cfcn input { flex: 1; accent-color: var(--water); }
#clima .cfcn output { font-size: 12px; color: var(--muted); white-space: nowrap; }
#clima .cfcmsg { margin: 0; font-size: 12.5px; color: #2c4a5e; min-height: 1em; }
#clima .ctab { overflow: auto; border: 1px solid var(--line); border-radius: 12px; max-height: 300px; }
#clima table { border-collapse: collapse; width: 100%; font-size: 12.5px; font-variant-numeric: tabular-nums; }
#clima th { position: sticky; top: 0; background: #f2f6f4; text-align: right; padding: 7px 8px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
#clima th:first-child, #clima td:first-child { text-align: left; }
#clima td { padding: 5px 8px; border-top: 1px solid #edf2ef; text-align: right; white-space: nowrap; }
#clima td span { color: var(--muted); }
#clima tr.fc td { background: #f1f8fe; }
#clima .tag { font-style: normal; font-size: 10.5px; font-weight: 700; color: #0d4f8c; background: #dcecfb; border-radius: 6px; padding: 1px 5px; }
#clima .sunb { display: inline-block; width: 26px; height: 6px; border-radius: 3px; margin-right: 5px; vertical-align: middle;
  background: linear-gradient(90deg, var(--sun) var(--s), #dfe5e2 var(--s)); }
#clima td.eto { font-weight: 800; color: var(--brand); }
#clima .csrc { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
#clima .cact { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
#clima .cact button { flex: 1 1 200px; min-height: 46px; border-radius: 12px; font: 700 14.5px var(--chrome-font); cursor: pointer; padding: 6px 12px; }
#clima .cone { border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
#clima .call { border: 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 6px 16px rgba(11, 107, 87, .3); }
#clima .call:disabled { background: #b9c8c2; box-shadow: none; cursor: not-allowed; }
@media (max-width: 820px) {
  #clima { padding: 0; align-items: stretch; }
  #clima .cbox { max-height: none; height: 100%; border-radius: 0; }
  #clima header { padding: 10px 12px; }
  #clima header p { display: none; }
  #clima h2 { font-size: 17px; }
  #clima .cman { height: 34px; padding: 0 10px; font-size: 12px; }
  #clima .cgrid { display: flex; flex-direction: column; overflow: auto; }
  #clima .cmapw { flex: none; height: 44vh; min-height: 240px; }
  #clima .cside { overflow: visible; padding: 12px; }
  #clima .ctab { max-height: none; flex: none; }
  #clima .cfc, #clima .csrc, #clima .cact, #clima .crow { flex: none; }
  #clima .mhint { font-size: 11px; }
  .climabtn .lb { display: none; }
}
@media (max-width: 480px) {
  #topbar { gap: 6px; padding: 0 6px 0 8px; }
  #topbar .appname { display: none; }
  #topbar .tools { gap: 4px; }
  #topbar .tb, #topbar #zfit { min-width: 36px; padding: 0 7px; }
  #topbar .exit { padding: 0 10px 0 8px; }
  #topbar .exit .lb { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---- modern layouts (layouts.js): look of the rearranged controls ---------------- */
.ldeco { position: absolute; pointer-events: none; }
.ldeco.lcard { background: #fff; border: 1px solid #e1eae6; border-radius: 14px; box-shadow: 0 1px 3px rgba(16, 40, 32, .06); }
.vbwin.lay .l-bare { background: transparent !important; border: none !important; box-shadow: none !important; }
.vbwin.lay .vb-frame.l-bare > .box { display: none !important; }
.vbwin.lay .vb-frame.l-box > .box { border: 1px solid #e1eae6 !important; border-radius: 12px !important; background: #fff; }
.vbwin.lay .vb-frame.l-box { background: transparent !important; }
.vbwin.lay .vb-frame.l-box > .fcap { background: transparent !important; left: 12px; top: 6px; font-size: 11.5px; letter-spacing: .02em; }
.vbwin.lay .l-ctitle { font: 700 13px/1.25 var(--chrome-font) !important; color: var(--ink) !important; background: transparent !important; border: none !important; padding: 0 !important; display: flex; align-items: center; white-space: normal !important; }
.vbwin.lay .l-intro { font: 12.5px/1.45 var(--chrome-font) !important; color: #4b5e57 !important; background: transparent !important; }
.vbwin.lay .l-or { color: #8a9a94 !important; font: 600 10.5px/14px var(--chrome-font) !important; text-align: center !important; text-transform: uppercase; letter-spacing: .08em; background: transparent !important; }
.vbwin.lay .vb-button.l-main { background: var(--brand) !important; color: #fff !important; border: none !important; border-radius: 10px !important; font: 700 12px/1.25 var(--chrome-font) !important; box-shadow: 0 2px 6px rgba(11, 107, 87, .25) !important; }
.vbwin.lay .vb-button.l-main:hover:not(:disabled) { background: var(--brand-2) !important; }
.vbwin.lay .vb-button.l-soft { background: var(--brand-soft) !important; color: var(--brand) !important; border: 1px solid #cfe6dd !important; border-radius: 10px !important; font: 600 11.5px/1.25 var(--chrome-font) !important; box-shadow: none !important; }
.vbwin.lay .vb-button.l-link { background: transparent !important; border: none !important; box-shadow: none !important; color: #6b7d76 !important; font: 600 11.5px var(--chrome-font) !important; text-decoration: underline; text-underline-offset: 3px; }
.vbwin.lay .vb-button.l-link:hover:not(:disabled) { color: var(--brand) !important; }
.vbwin.lay .vb-button.l-accent { background: linear-gradient(90deg, #1f7fd6, #12896f) !important; color: #fff !important; border: none !important; border-radius: 12px !important; font: 700 14px/1.2 var(--chrome-font) !important; box-shadow: 0 4px 14px rgba(31, 127, 214, .28) !important; }
.vbwin.lay .vb-button.l-accent:hover:not(:disabled) { filter: brightness(1.07); }
.vbwin.lay .vb-button.l-primary { background: var(--brand) !important; color: #fff !important; border: none !important; border-radius: 12px !important; font: 800 15px/1.2 var(--chrome-font) !important; box-shadow: 0 4px 14px rgba(11, 107, 87, .3) !important; }
.vbwin.lay .vb-button.l-primary:hover:not(:disabled) { background: var(--brand-2) !important; }
.vbwin.lay .vb-button.l-main:disabled, .vbwin.lay .vb-button.l-soft:disabled, .vbwin.lay .vb-button.l-primary:disabled, .vbwin.lay .vb-button.l-accent:disabled {
  background: #eef2f0 !important; color: #9aaaa3 !important; box-shadow: none !important; border: 1px solid #e1e8e5 !important; filter: none; }
.vbwin.lay .vb-button.l-link:disabled { color: #b6c2bd !important; }
.vbwin.lay .l-chip { background: var(--brand-soft) !important; color: var(--brand) !important; border: none !important; border-radius: 8px !important; font: 800 13px/24px var(--chrome-font) !important; text-align: center !important; padding: 0 !important; box-shadow: none !important; }
.vbwin.lay input.vb-text.l-big { font: 700 15px var(--chrome-font) !important; border-radius: 9px !important; text-align: center !important; border-color: #cddbd5 !important; }
.vbwin.lay .l-status { background: transparent !important; border: none !important; }
.vbwin.lay .l-status.is-empty { visibility: hidden; }
.vbwin.lay .l-status .vb-label { background: #f2f8f5 !important; color: var(--brand) !important; border: none !important; border-radius: 8px !important; font: 600 12px/22px var(--chrome-font) !important; padding: 0 10px !important; box-shadow: none !important; }
.vbwin.lay .vb-picture.l-bare img, .vbwin.lay .l-bare .vb-image { image-rendering: auto; }
.vbwin .lcdchip { background: var(--brand-soft) !important; color: var(--brand) !important; border-radius: 6px !important; font-weight: 800 !important; text-align: center !important; border: none !important; }
.vbwin.lay .l-ctitle { justify-content: flex-start; text-align: left !important; }
.vbwin.lay .vb-button.l-main { font-size: 11.5px !important; }
.vbwin.lay input.vb-text.l-big:disabled { background: #eef2f0 !important; border-color: #e1e8e5 !important; }
.vbwin.lay .l-plain { background: transparent !important; border: none !important; box-shadow: none !important; font: 600 12px/20px var(--chrome-font) !important; color: var(--muted) !important; padding: 0 !important; }
.vbwin.lay .vb-picture.l-bare { overflow: visible; }
.vbwin.lay .l-photo { border-radius: 14px !important; overflow: hidden !important; border: none !important; box-shadow: 0 2px 10px rgba(16, 40, 32, .14); background: #f3fbf6 !important; }
.vbwin.lay .l-photo .vb-image { object-fit: cover; }
.lcropph { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; background: #f3fbf6; }
.lcropph svg { flex: 1; width: 100%; min-height: 0; }
.lcropph b { position: absolute; left: 0; right: 0; top: 14px; text-align: center; font: 700 14px var(--chrome-font); color: var(--brand); }
.vbwin.lay .l-panel { background: #fff !important; border: 1px solid #e1eae6 !important; border-radius: 14px !important; box-shadow: 0 1px 3px rgba(16, 40, 32, .06); }
.vbwin.lay .l-colh { font: 800 11px/18px var(--chrome-font) !important; text-transform: uppercase; letter-spacing: .06em; color: var(--brand) !important; background: transparent !important; white-space: nowrap !important; }
.vbwin.lay .l-msg { z-index: 4; }
.vbwin.lay .l-msg.is-empty { display: none !important; }
.vbwin.lay .l-msgtext { background: rgba(255, 255, 255, .95) !important; color: var(--ink) !important; border: none !important; border-left: 4px solid var(--brand-2) !important; border-radius: 10px !important; padding: 6px 10px !important;
  font: 600 12px/1.35 var(--chrome-font) !important; box-shadow: 0 4px 14px rgba(16, 40, 32, .18) !important; display: flex; align-items: center; }
.vbwin.lay .l-foot { background: transparent !important; color: #8a9a94 !important; font: 11px/18px var(--chrome-font) !important; text-align: right !important; border: none !important; }
.vbwin.lay input.vb-text.l-mid { font: 700 13px var(--chrome-font) !important; text-align: center !important; border-radius: 7px !important; }
.vbwin.lay[data-form="Form21"] .vb-toggle { font-family: var(--chrome-font) !important; font-size: 12.5px !important; }
.vbwin.lay .l-box .vb-label, .vbwin.lay .l-panel .vb-label, .vbwin.lay .l-panel .vb-toggle, .vbwin.lay .l-box .vb-toggle { background: transparent !important; }
.vbwin.lay[data-form="Form21"] [data-n="Frame1"] .vb-line { display: none !important; }
.vbwin.lay[data-form="Form21"] [data-n="Picture3"] .vb-toggle { font-size: 12px !important; }
.vbwin.lay[data-form="Form21"] [data-n="Command4"].l-wide { width: 404px !important; }
.vbwin.lay[data-form="Form21"] [data-n="Option29"] { visibility: hidden; }
.vbwin.lay[data-form="Form21"] [data-n="Picture6"] [data-n="Command4"].l-wide { width: 404px !important; }
.vbwin.lay[data-form="Form21"] .l-colh { font-size: 10px !important; letter-spacing: .03em; }
.vbwin[data-form="Form4"] [data-n="Picture1"].mchart { top: 34px !important; height: 263px !important; }
.vbwin[data-form="Form4"] [data-n="Picture1"].mchart > svg.vb-line { transform: translateY(14px); }
.vbwin.lay input.vb-text.l-hidetext { color: transparent !important; -webkit-text-fill-color: transparent !important; }
.lround { position: absolute; z-index: 2; pointer-events: none; text-align: center; font: 600 11px var(--chrome-font); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.vbwin.lay[data-form="calculo"] input.vb-text { font-family: var(--chrome-font) !important; font-size: 11px !important; }
.vbwin.lay[data-form="calculo"] [data-n="Text1"] { font-size: 13px !important; line-height: 1.5 !important; overflow: auto; }
.vbwin.lay[data-form="calculo"] .l-panel { border-radius: 14px !important; }
.vbwin.lay[data-form="calculo"] .l-panel > .box { display: none !important; }
.lrepeat { position: absolute; left: 12px; top: 8px; width: 616px; min-height: 56px; z-index: 100000; text-align: left; padding: 11px 18px; border: none; border-radius: 12px;
  background: linear-gradient(90deg, #1f7fd6, #12896f); color: #fff; font: 700 13.5px/1.3 var(--chrome-font); box-shadow: 0 8px 22px rgba(16, 40, 32, .25); cursor: pointer; animation: pop .25s ease-out; }
.lrepeat:hover { filter: brightness(1.07); }
.vbwin.lay[data-form="Form2"] [data-n="Label12"].l-plain { line-height: 1.2 !important; display: flex; align-items: center; white-space: normal !important; }
.vbwin[data-form="Form4"] [data-n="Picture1"].mchart { z-index: 99999 !important; }
/* Irri System */
.vbwin.lay[data-form="irridesigner"] > .client > .vbc:not([data-n="Frame1"]) { transform: translateY(18px); }
.vbwin.lay[data-form="irridesigner"] .vb-frame.l-card > .box { border: 1px solid #e1eae6 !important; border-radius: 12px !important; background: #fff; box-shadow: 0 1px 3px rgba(16, 40, 32, .05); }
.vbwin.lay[data-form="irridesigner"] .vb-frame.l-card { background: transparent !important; }
.vbwin.lay[data-form="irridesigner"] .vb-frame.l-card > .fcap { background: #fff !important; font: 800 11px var(--chrome-font) !important; text-transform: uppercase; letter-spacing: .05em; color: #7a5af5 !important; left: 10px; padding: 0 5px; }
.vbwin.lay[data-form="irridesigner"] .vb-frame .vb-frame > .box { border: none !important; }
.vbwin.lay[data-form="irridesigner"] .l-card .vb-label, .vbwin.lay[data-form="irridesigner"] .l-card .vb-toggle { background: transparent !important; font-family: var(--chrome-font) !important; color: var(--ink); }
.vbwin.lay[data-form="irridesigner"] .l-card input.vb-text { font: 700 12px var(--chrome-font) !important; border-radius: 7px !important; border-color: #cddbd5 !important; text-align: center; background: #fbfdfc; }
.vbwin.lay[data-form="irridesigner"] .l-card .vb-label.lcdchip, .vbwin.lay[data-form="irridesigner"] .l-card .vb-label.sunken { background: #f1f0fe !important; color: #5b3fd6 !important; border: none !important; border-radius: 7px !important; font: 800 12px/20px var(--chrome-font) !important; text-align: center !important; }
.vbwin.lay[data-form="irridesigner"] .l-msgrow > .fcap { display: none; }
.vbwin.lay[data-form="irridesigner"] [data-n="Label5"], .vbwin.lay[data-form="irridesigner"] [data-n="Label67"] { font-size: 12px !important; line-height: 1.4 !important; }
.vbwin.lay[data-form="irridesigner"].l-m-a [data-n="Label5"], .vbwin.lay[data-form="irridesigner"].l-m-b [data-n="Label67"],
.vbwin.lay[data-form="irridesigner"].l-m-0 [data-n="Label5"], .vbwin.lay[data-form="irridesigner"].l-m-0 [data-n="Label67"] { display: none !important; }
.vbwin.lay[data-form="irridesigner"].l-m-a [data-n="Label67"] { left: 8px !important; width: 609px !important; }
.vbwin.lay[data-form="irridesigner"].l-m-b [data-n="Label5"] { width: 609px !important; }
.vbwin.lay[data-form="irridesigner"].l-m-0 [data-n="Frame1"]::after { content: attr(data-hint); position: absolute; left: 8px; right: 8px; top: 14px; height: 70px; display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px dashed #d6cffb; border-radius: 12px; background: #faf9ff; color: #6b5bd6; font: 600 12.5px/1.4 var(--chrome-font); padding: 0 16px; }
.vbwin.lay[data-form="irridesigner"] .vb-slider { accent-color: #7a5af5; }
/* Irri Manager main screen: numbered steps */
.vbwin.lay[data-form="Form1"] .vb-frame > .fcap { display: none !important; }
.vbwin.lay[data-form="Form1"] .vb-frame.l-bare { overflow: visible !important; }
.lstep { position: absolute; left: 14px; right: 14px; height: 44px; padding-left: 40px; pointer-events: none; z-index: 2; }
.lstep i { position: absolute; left: 0; top: 4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 14px var(--chrome-font); font-style: normal;
  background: #eef2f0; color: #7d8f88; border: 2px solid #dfe7e3; box-sizing: border-box; }
.lstep b { display: block; font: 800 14px/20px var(--chrome-font); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lstep span { display: block; font: 12px/18px var(--chrome-font); color: #6b7d76; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.lstep[data-s="done"] i { background: #e3f4ec; color: var(--brand); border-color: #bfe3d2; }
.lstep[data-s="done"] span { color: var(--brand); font-weight: 600; }
.lstep[data-s="next"] i { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 107, 87, .14); }
.vbwin.lay[data-form="Form1"] .vb-toggle { font-family: var(--chrome-font) !important; font-size: 12.5px !important; background: transparent !important; }
.vbwin.lay[data-form="Form1"] [data-n="Label4"] { font: 12px/1.35 var(--chrome-font) !important; color: #4b5e57 !important; background: transparent !important; }
.vbwin.lay[data-form="Form1"] [data-n="Label16_1"], .vbwin.lay[data-form="Form1"] [data-n="Label19"], .vbwin.lay[data-form="Form1"] [data-n="Label17_1"] { font: 600 10.5px var(--chrome-font) !important; color: #7d8f88 !important; background: transparent !important; text-align: center !important; }
.vbwin.lay[data-form="Form1"] [data-n="Frame1"] .vb-slider { background: transparent !important; }
.vbwin.lay[data-form="Form1"] .l-period { color: var(--ink) !important; font-weight: 700 !important; }
.vbwin.lay[data-form="Form1"] [data-n="Text1"]::placeholder { color: #6b7d76; font: 600 12.5px/1.4 var(--chrome-font); opacity: 1; }
.vbwin.lay[data-form="Form1"] [data-n="Command2"]:not(.l-ready) { background: #e7efeb !important; color: #557067 !important; box-shadow: none !important; }
.vbwin.lay[data-form="Form1"] [data-n="Command2"].l-ready { animation: pop .3s ease-out; }
.vbwin.lay[data-form="Form1"] .vb-button.l-main, .vbwin.lay[data-form="Form1"] .vb-button.l-soft { font-size: 13px !important; }
.vbwin.lay[data-form="Form1"] > .client { background-image: none !important; }
.vbwin.lay[data-form="Form1"] [data-n="limi"], .vbwin.lay[data-form="Form1"] [data-n="lims"] { line-height: 22px !important; padding: 0 !important; font: 800 12.5px/22px var(--chrome-font) !important; }
.vbwin.lay[data-form="Form1"] [data-n="Text1"].empty { background: #f4f8f6 !important; border: 1px dashed #cfe0d8 !important; }
.vbwin.lay .vb-button.l-next { background: linear-gradient(90deg, #1f7fd6, #12896f) !important; color: #fff !important; border: none !important; font-weight: 800 !important; animation: lnext 1.8s ease-out infinite; }
@keyframes lnext { 0% { box-shadow: 0 0 0 0 rgba(31, 127, 214, .45); } 70% { box-shadow: 0 0 0 9px rgba(31, 127, 214, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 127, 214, 0); } }
.vbwin.lay .vb-button.l-primary.l-wait { background: #e7efeb !important; color: #557067 !important; box-shadow: none !important; }
.vbwin.lay[data-form="Form1"] [data-n="Label11"], .vbwin.lay[data-form="Form1"] [data-n="Label6"] { white-space: nowrap !important; line-height: 22px !important; text-align: left !important; overflow: hidden; text-overflow: ellipsis; }
/* Soil */
.vbwin.lay[data-form="Form3"] .l-isempty { visibility: hidden !important; }
.vbwin.lay[data-form="Form3"] .l-introline { border: none !important; box-shadow: none !important; padding-left: 10px !important; font-size: 12px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vbwin.lay[data-form="Form3"] .vb-frame.l-box > .fcap { background: #fff !important; padding: 0 5px; font: 800 11px var(--chrome-font) !important; color: var(--brand) !important; top: -1px; }
.vbwin.lay[data-form="Form3"] .l-box .vb-label:not(.sunken):not(.lcdchip), .vbwin.lay[data-form="Form3"] .l-box .vb-toggle { background: transparent !important; }
.vbwin.lay[data-form="Form3"] .vb-toggle { font-family: var(--chrome-font) !important; }
.vbwin.lay[data-form="Form3"] [data-n="Label21_1"] { background: transparent !important; border: none !important; }
.vbwin.lay[data-form="Form3"].l-l1empty [data-n="Label21_1"] { top: 24px !important; left: 8px !important; width: 569px !important; height: 32px !important; white-space: normal !important; display: flex; align-items: center;
  background-color: #eaf5f0 !important; border: none !important; border-radius: 10px !important; font: 600 12.5px/1.35 var(--chrome-font) !important; color: #2f4a42 !important; }
.vbwin.lay[data-form="Form3"] [data-n="Frame8"] > .fcap { font-size: 9.5px !important; letter-spacing: -.01em; }
.vbwin.lay[data-form="Form3"] [data-n="Label16_0"] { background: #f7f5ea !important; border: none !important; border-radius: 10px !important; padding: 6px 9px !important; font: 600 11.5px/1.35 var(--chrome-font) !important; color: #5c4a12 !important; box-shadow: none !important; }
.vbwin.lay[data-form="irridesigner"] [data-n="Label5"], .vbwin.lay[data-form="irridesigner"] [data-n="Label67"] { display: flex !important; align-items: center; justify-content: center; }
.vbwin.lay[data-form="irridesigner"].l-res > .client > .vbc:not([data-n="Frame1"]) { transform: none; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame1"] { height: 54px !important; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Label5"], .vbwin.lay[data-form="irridesigner"].l-res [data-n="Label67"] { top: 6px !important; height: 42px !important; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame5"] { left: 8px !important; top: 66px !important; width: 186px !important; height: 128px !important; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame9"] { left: 202px !important; top: 66px !important; width: 200px !important; height: 60px !important; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame15"] { left: 410px !important; top: 66px !important; width: 223px !important; height: 60px !important; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame14"] { left: 202px !important; top: 136px !important; width: 431px !important; height: 58px !important; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame4"] { left: 8px !important; top: 204px !important; width: 625px !important; height: 50px !important; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame4"] > .vbc { transform: translateY(5px); }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame5"] > .vbc { transform: translateY(6px); }
.vbwin.lay[data-form="irridesigner"].l-res .vb-frame .vb-label.lcdchip, .vbwin.lay[data-form="irridesigner"].l-res .vb-frame .vb-label.sunken { box-shadow: inset 0 0 0 1.5px #fff !important; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame5"] [data-n="Label28"], .vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame5"] [data-n="Label29"], .vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame5"] [data-n="Label56"] {
  height: 26px !important; min-height: 0 !important; line-height: 26px !important; display: flex !important; align-items: center; justify-content: center; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame5"] [data-n="Label28"] { top: 20px !important; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame5"] [data-n="Label29"] { top: 54px !important; }
.vbwin.lay[data-form="irridesigner"].l-res [data-n="Frame5"] [data-n="Label56"] { top: 84px !important; }
.hero h1 { font-size: clamp(22px, 2.6vw, 31px) !important; line-height: 1.15 !important; letter-spacing: -.01em !important; }
.hero .txt p { max-width: 62ch; }
