/* Bravodroids ajánlatkészítő. Egy betűcsalád (Manrope), a márka lilája, és egyetlen hangsúlyos elem:
   a sötét összesítő oldalsáv. Minden más csendes, fehér felület hajszálvonalas kerettel. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1f1a24; --muted: #675d70; --line: #e7e1ee; --paper: #faf8fc; --surface: #fff;
  --purple: #71309f; --purple-dark: #58227f; --plum: #2b1140; --tint: #f3ecf9; --lilac: #d9c3ee;
  --good: #1c7c45; --good-bg: #e4f4ea; --mid: #9a6200; --mid-bg: #fbf0d6; --low: #b3261e; --low-bg: #fbe6e4;
  --r-lg: 16px; --r: 10px; --r-sm: 8px;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.5; font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.site-footer { display: flex; flex-wrap: wrap; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line); font-size: .85rem; }
.partner-form { max-width: 760px; }
.partner-message { white-space: pre-wrap; overflow-wrap: anywhere; }
.privacy-link { color: #fff; text-decoration: underline; font-size: .85rem; }
.top-in .nav { min-width: 0; }
@media (max-width: 760px) { .top { position: static; } .top-in .nav { flex-basis: 100%; order: 3; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background:
  radial-gradient(900px 480px at 88% -8%, rgba(190, 140, 235, .22), transparent 70%),
  radial-gradient(700px 420px at -6% 28%, rgba(150, 170, 250, .14), transparent 70%), var(--paper); background-attachment: fixed; }
[hidden] { display: none !important; }
a { color: var(--purple-dark); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 980px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 28px); }

/* Fejléc */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap, .page-wide { max-width: 1180px; }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; min-height: 60px; padding-block: 8px; }
.brand { font-size: 1.3rem; color: var(--purple); text-decoration: none; letter-spacing: -0.02em; font-weight: 500; }
.brand strong { font-weight: 800; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; flex: 1; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 11px; border-radius: 99px; font-size: .92rem; font-weight: 600; transition: background .15s ease, color .15s ease; }
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--purple-dark); background: var(--tint); }
.nav-sep { width: 1px; height: 20px; background: var(--line); margin-inline: 8px; }
.who { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .9rem; }
.role { font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--tint); color: var(--purple-dark); }
.role-admin { background: var(--plum); color: #fff; }

/* Oldal */
.page { padding-block: 32px 80px; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: 1.05rem; margin: 0 0 14px; letter-spacing: -0.01em; font-weight: 800; }
.lead { color: var(--muted); max-width: 68ch; margin: 0 0 22px; }
.hint { color: var(--muted); font-size: .88rem; margin: 10px 0; max-width: 72ch; }
.empty { color: var(--muted); padding: 18px 0; margin: 0; }
.crumb { margin: 0 0 8px; font-size: .9rem; }
.editor-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.editor-head h1, .editor-head .lead { margin-bottom: 0; }
.editor-head .lead { margin-top: 6px; }

.card, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 2.4vw, 24px); margin: 0 0 18px; box-shadow: 0 1px 2px rgba(43, 17, 64, .04), 0 14px 34px -26px rgba(74, 26, 116, .45); }
.login { max-width: 400px; margin: 9vh auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.login .lead { margin-bottom: 20px; }

/* Űrlapelemek */
label { display: block; font-size: .84rem; font-weight: 700; color: var(--muted); }
input, select, textarea {
  display: block; width: 100%; margin-top: 5px; padding: 10px 12px; min-height: 42px;
  font: inherit; font-weight: 500; color: var(--ink); background: var(--surface);
  border: 1px solid #cfc6d9; border-radius: var(--r-sm);
}
textarea { resize: vertical; min-height: 0; }
input, select, textarea { transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(113, 48, 159, .14); outline: none; }
input[readonly] { background: var(--paper); color: var(--muted); }
.stack { display: grid; gap: 14px; }
.grid, .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; align-items: end; }
.row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.grow { flex: 1 1 240px; }
.span-all { grid-column: 1 / -1; }
.span-2 { grid-column: span 2; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; }
.field-error { display: block; margin-top: 4px; color: var(--low); font-weight: 500; }
.filter { margin: 0 0 20px; max-width: 460px; }

button, a.button { font: inherit; font-weight: 700; cursor: pointer; border-radius: var(--r-sm); padding: 10px 18px; min-height: 42px; border: 1px solid transparent; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.primary { background: linear-gradient(135deg, #71309f, #8f45c6); color: #fff; box-shadow: 0 8px 20px -12px rgba(113, 48, 159, .9); }
.primary:hover { background: linear-gradient(135deg, #63288d, #7f3ab4); box-shadow: 0 12px 26px -12px rgba(113, 48, 159, 1); }
button, a.button { transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease; }
button:active:not(:disabled), a.button:active { transform: scale(.97); }
.secondary { background: var(--surface); color: var(--purple-dark); border-color: var(--purple); }
.secondary:hover { background: var(--tint); }
.ghost { background: none; color: var(--muted); border-color: var(--line); }
.ghost:hover { color: var(--ink); border-color: var(--muted); }
.link { background: none; border: 0; padding: 0; min-height: 0; color: var(--purple-dark); text-decoration: underline; font-weight: 600; }
button:disabled { opacity: .6; cursor: progress; }

.flash { padding: 12px 16px; border-radius: var(--r); background: var(--good-bg); color: var(--good); margin: 0 0 18px; font-weight: 600; }
.flash-error { background: var(--low-bg); color: var(--low); }
.flash ul { margin: 6px 0 0; padding-left: 20px; font-weight: 500; }

/* Táblázatok */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.table-wrap.flat { border: 0; border-radius: 0; }
.table-wrap + .panel, .table-wrap + .card, .table-wrap + .empty { margin-top: 18px; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; color: var(--muted); font-weight: 700; white-space: nowrap; }
.flat th:first-child, .flat td:first-child { padding-left: 0; }
.flat th:last-child, .flat td:last-child { padding-right: 0; }
tbody tr:last-child td { border-bottom: 0; }
tr.inactive td, td.muted { color: var(--muted); }
tr.strong td { font-weight: 800; }
td small { color: var(--muted); }
.num { text-align: right; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.actions { white-space: nowrap; text-align: right; }
.actions form { display: inline; margin-left: 14px; }
ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.contact { display: grid; gap: 2px; padding: 12px 14px; border-left: 4px solid var(--purple); background: var(--tint); max-width: 380px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.chip { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.m-good.chip { background: var(--good-bg); color: var(--good); }
.m-mid.chip { background: var(--mid-bg); color: var(--mid); }
.m-low.chip { background: var(--low-bg); color: var(--low); }
.m-unknown.chip { background: var(--paper); color: var(--muted); }
.hide-internal .internal { display: none !important; }

/* Szerkesztő: balra a tartalom, jobbra az összesítő */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.editor-main { min-width: 0; }
.construct { display: grid; grid-template-columns: auto repeat(3, minmax(110px, 180px)); gap: 14px; align-items: end; }
.segment { display: inline-flex; background: var(--tint); border-radius: var(--r); padding: 4px; }
.segment button { background: none; color: var(--muted); border: 0; min-height: 38px; padding: 6px 20px; border-radius: 7px; white-space: nowrap; }
.segment button[aria-pressed="true"] { background: var(--surface); color: var(--purple-dark); box-shadow: 0 1px 3px rgba(43, 17, 64, .18); }

.lines { display: grid; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) 64px 176px 72px 136px; grid-template-areas: "name name name name rm" "info qty unit disc sum"; gap: 8px 10px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; padding-top: 4px; }
.l-name { grid-area: name; } .l-info { grid-area: info; } .l-qty { grid-area: qty; } .l-unit { grid-area: unit; } .l-disc { grid-area: disc; } .l-sum { grid-area: sum; } .remove { grid-area: rm; justify-self: end; }
.line label { font-size: .74rem; }
.line input, .line select { margin-top: 3px; padding: 8px 10px; min-height: 38px; }
.name-in { font-weight: 800; margin-top: 0 !important; font-size: 1rem; }
.num-in { text-align: right; }
.l-meta { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.l-more { margin-top: 4px; font-size: .84rem; }
.l-more summary { cursor: pointer; color: var(--purple-dark); font-weight: 600; width: fit-content; }
.l-more label { margin-top: 8px; }
.l-more .grid-3 { margin-top: 2px; }
.unit-wrap { display: flex; gap: 4px; align-items: center; }
.unit-wrap .cur { flex: none; width: auto; font-size: .8rem; color: var(--muted); font-weight: 700; }
.unit-wrap select.cur { padding-inline: 6px; }
.unit-wrap span.cur { margin-top: 3px; padding-left: 2px; white-space: nowrap; }
.l-sum { text-align: right; padding-top: 4px; display: grid; gap: 4px; justify-items: end; }
.l-total strong { display: block; font-size: .95rem; white-space: nowrap; }
.l-total small { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.remove { width: 36px; min-height: 38px; padding: 0; background: none; color: var(--muted); font-size: 1.3rem; line-height: 1; border-radius: var(--r-sm); }
.remove:hover { background: var(--low-bg); color: var(--low); }
.add-bar { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.add-bar select { width: 100%; min-width: 0; flex: 1 1 200px; margin: 0; font-weight: 700; color: var(--purple-dark); border-color: var(--purple); }

/* Az összesítő: az oldal egyetlen sötét, hangsúlyos eleme */
.deal { position: sticky; top: 84px; color: #fff; border-radius: 20px; padding: 22px; background: radial-gradient(420px 260px at 100% 0%, rgba(160, 90, 220, .45), transparent 70%), linear-gradient(165deg, #2b1140 0%, #3a1658 100%); box-shadow: 0 26px 50px -28px rgba(43, 17, 64, .9); }
.deal label { color: var(--lilac); }
.deal select { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.deal select option { color: var(--ink); }
.deal .hint { color: var(--lilac); margin: 6px 0 18px; font-size: .8rem; }
.deal-label { margin: 0; font-size: .82rem; color: var(--lilac); font-weight: 600; }
.deal-main { margin: 2px 0 0; font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.deal-sub { margin: 2px 0 0; color: var(--lilac); font-size: .9rem; }
.deal-rows { margin: 16px 0 0; display: grid; gap: 0; }
.deal-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }
.deal-rows dt { color: var(--lilac); }
.deal-rows dd { margin: 0; font-weight: 700; white-space: nowrap; }
.deal-margin { margin-top: 16px; padding: 14px; border-radius: var(--r); background: rgba(255, 255, 255, .08); }
.deal-pct { margin: 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.deal-margin.m-good .deal-pct { color: #7fe0a6; }
.deal-margin.m-mid .deal-pct { color: #ffd47a; }
.deal-margin.m-low .deal-pct { color: #ff9d94; }
.deal-note { margin: 10px 0 0; font-size: .8rem; color: var(--lilac); }
.meter { position: relative; height: 8px; margin-top: 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.meter-bar { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: #7fe0a6; transition: width .2s ease; }
.m-mid .meter-bar { background: #ffd47a; }
.m-low .meter-bar { background: #ff9d94; }
.meter-mark { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--plum); }
.deal-errors { margin-top: 14px; padding: 12px 14px; border-radius: var(--r); background: var(--low-bg); color: var(--low); font-size: .88rem; }
.deal-errors ul { margin: 6px 0 0; padding-left: 18px; }
.deal-actions { display: grid; gap: 8px; margin-top: 18px; }
.button.light { background: #fff; color: var(--plum); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.button.light:hover { background: var(--tint); }
.button.outline { background: none; color: #fff; border-color: rgba(255, 255, 255, .4); }
.button.outline:hover { background: rgba(255, 255, 255, .1); }
.deal-toggle { margin-top: 10px; width: 100%; background: none; color: var(--lilac); font-weight: 600; font-size: .84rem; min-height: 34px; text-decoration: underline; }

@media (max-width: 1020px) {
  .editor { grid-template-columns: 1fr; }
  .deal { position: static; }
}
@media (max-width: 760px) {
  .line { grid-template-columns: minmax(0, 1fr) 96px 36px; grid-template-areas: "name name rm" "info info info" "qty disc disc" "unit unit unit" "sum sum sum"; }
  .l-sum { text-align: left; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .construct { grid-template-columns: 1fr; }
  .span-2 { grid-column: 1 / -1; }
  .nav-sep { display: none; }
}

.files { margin-bottom: 14px; }
.upload input { padding: 8px; }
.actions a + a { margin-left: 12px; }

/* Jelölőnégyzetek */
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .9rem; color: var(--ink); }
.check input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--purple); }
.checks { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin: 0; display: grid; gap: 8px; }
.checks legend { font-size: .84rem; font-weight: 700; color: var(--muted); padding: 0 6px; }
.label { margin: 0 0 5px; font-size: .84rem; font-weight: 700; color: var(--muted); }

/* Nyilvános ajánlatkérő */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 24px; padding: clamp(24px, 4.5vw, 52px); margin-bottom: 22px;
  background: linear-gradient(125deg, #23093a 0%, #4a1a74 48%, #8a3fc0 100%); box-shadow: 0 24px 60px -28px rgba(74, 26, 116, .75); animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); }
.hero::before { width: 420px; height: 420px; right: -120px; top: -160px; background: rgba(214, 140, 255, .55); animation: drift 14s ease-in-out infinite alternate; }
.hero::after { width: 340px; height: 340px; left: 22%; bottom: -220px; background: rgba(96, 165, 250, .35); animation: drift 18s ease-in-out infinite alternate-reverse; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); max-width: 18ch; margin-bottom: 12px; }
.hero-lead { margin: 0 0 26px; max-width: 62ch; color: #e9dcf6; font-size: 1.05rem; }
.hero-form { display: flex; flex-wrap: wrap; gap: 18px 22px; align-items: flex-end; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); }
.hero-form label, .hero-form .label { color: #e9dcf6; }
.need-area { flex: 1 1 200px; max-width: 260px; }
.need-area input { font-size: 1.35rem; font-weight: 800; min-height: 52px; border-color: transparent; }
.need-hint { flex-basis: 100%; margin: 0; font-size: .86rem; color: #dcc8ef; }
.hero .segment { background: rgba(20, 5, 34, .35); }
.hero .segment button { color: #e9dcf6; min-height: 44px; }
.hero .segment button:hover { color: #fff; }
.hero .segment button[aria-pressed="true"] { background: #fff; color: var(--plum); }

.advice { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.advice-card { position: relative; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 4px; justify-items: start; align-content: start; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.advice-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(74, 26, 116, .55); }
.advice-best { background: linear-gradient(160deg, #f7f0fd 0%, #fff 70%); border-color: var(--lilac); }
.advice-selected { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(113, 48, 159, .16); }
.advice-card.enter { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.advice-card.enter + .advice-card.enter { animation-delay: .08s; }
.advice-title { margin: 0; font-size: .78rem; font-weight: 800; color: var(--purple-dark); background: var(--tint); padding: 3px 10px; border-radius: 99px; }
.advice-best .advice-title { background: var(--purple); color: #fff; }
.advice-main { margin: 8px 0 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.advice-price { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--purple-dark); }
.advice-facts { margin: 8px 0 14px; padding-left: 18px; color: var(--muted); font-size: .88rem; display: grid; gap: 3px; }

.robot { display: grid; grid-template-columns: 96px minmax(0, 1fr) 150px; gap: 18px; padding: 16px; margin: 0 -16px; border-radius: var(--r-lg); border: 1px solid transparent; align-items: center; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.robot + .robot { margin-top: 4px; }
.robot:hover { background: var(--paper); }
.robot-on { background: #f7f0fd; border-color: var(--lilac); box-shadow: 0 10px 26px -20px rgba(74, 26, 116, .7); }
.robot-on:hover { background: #f7f0fd; }
.robot-off { opacity: .6; }
.robot-img { width: 96px; height: 96px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.robot-img img { width: 84px; height: 84px; object-fit: contain; transition: transform .3s ease; }
.robot:hover .robot-img img { transform: scale(1.06); }
.robot h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 800; }
.robot-tags { margin: 0 0 6px; display: flex; gap: 6px; }
.tag { font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.robot-desc { margin: 0; color: var(--muted); font-size: .88rem; }
.robot-fit { margin: 8px 0 0; font-size: .88rem; font-weight: 700; color: var(--purple-dark); }
.cover { height: 6px; margin-top: 8px; border-radius: 99px; background: #e6d9f2; overflow: hidden; max-width: 320px; }
.cover-bar { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--good); transition: width .45s cubic-bezier(.2, .7, .2, 1), background .2s ease; }
.cover-short .cover-bar { background: var(--mid); }
.robot-warn { margin: 8px 0 0; font-size: .86rem; color: var(--low); font-weight: 600; }
.robot-buy { display: grid; gap: 10px; justify-items: end; text-align: right; }
.robot-price { margin: 0; font-weight: 800; font-size: 1.08rem; white-space: nowrap; }
.robot-note { margin: 0; font-size: .76rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid #cfc6d9; border-radius: 99px; background: var(--surface); overflow: hidden; transition: border-color .2s ease; }
.stepper button { min-height: 40px; width: 42px; padding: 0; background: none; color: var(--purple-dark); font-size: 1.25rem; border-radius: 0; }
.stepper button:hover:not(:disabled) { background: var(--tint); }
.stepper button:disabled { opacity: .35; cursor: default; }
.step-value { min-width: 34px; text-align: center; font-weight: 800; }
.robot-on .stepper { border-color: var(--purple); }
.deal-form { display: grid; gap: 12px; margin-top: 18px; }
.deal-form input:not([type="checkbox"]) { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.deal-form input:not([type="checkbox"]):focus { background: rgba(255, 255, 255, .14); }
.deal .check { color: var(--lilac); font-size: .82rem; }
.deal-done { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.public .editor-main > .card { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .12s; }
.public .editor-main > .card + .card { animation-delay: .2s; }
.public .deal { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.15); } }

/* Beérkezett ajánlatkérések */
.request-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.request-top h2 { margin: 0; font-size: 1.2rem; }
.request-top .hint { margin: 4px 0 0; }
.request-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.request-actions form { margin: 0; }
.request-done { background: var(--paper); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 20px; margin: 16px 0 0; }
.facts dt { font-size: .8rem; color: var(--muted); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .hero { border-radius: 18px; }
  .hero-form { padding: 14px; }
  .need-area { max-width: none; flex-basis: 100%; }
  .need-group { flex-basis: 100%; }
  .hero .segment { display: flex; }
  .hero .segment button { flex: 1; padding-inline: 4px; font-size: .86rem; }
  .robot { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; margin: 0 -8px; padding: 12px 8px; align-items: start; }
  .robot-img { width: 72px; height: 72px; }
  .robot-img img { width: 62px; height: 62px; }
  .robot-buy { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Lenyitható, nem kötelező blokkok */
details.fold > summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: "+"; width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--purple-dark); font-weight: 800; transition: transform .2s ease; }
details.fold[open] > summary::before { content: "–"; }
details.fold > summary h2 { margin: 0; }
details.fold[open] > summary { margin-bottom: 14px; }
.fold-note { font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--paper); border: 1px solid var(--line); padding: 2px 9px; border-radius: 99px; }
.is-off { opacity: .45; }
.roi-out { margin: 12px 0 0; font-size: .9rem; font-weight: 600; color: var(--purple-dark); }
.flash-warn { background: var(--mid-bg); color: var(--mid); }
.card .flash { font-size: .88rem; font-weight: 600; padding: 9px 12px; margin-bottom: 10px; }
tr.info td { color: var(--muted); font-size: .88rem; }
.l-links { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .84rem; font-weight: 600; }
.warranty-add { display: contents; }
.deal-warn { margin-top: 12px; padding: 10px 12px; border-radius: var(--r); background: rgba(255, 212, 122, .16); color: #ffe2a6; font-size: .82rem; }
.deal-warn ul { margin: 0; padding-left: 16px; display: grid; gap: 4px; }
.deal-link { margin-top: 8px; padding: 0; min-height: 0; background: none; color: #fff; font-size: .84rem; font-weight: 700; text-decoration: underline; }
.deal-note a { color: #fff; }
h2.group { margin: 26px 0 10px; }
.reset { margin-top: 28px; border-style: dashed; }

/* Robotadatlap */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3.5vw, 40px); box-shadow: 0 18px 44px -30px rgba(74, 26, 116, .5); animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.sheet h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 18px; }
.sheet h2 { color: var(--purple-dark); margin: 20px 0 8px; }
.sheet p { margin: 0; color: var(--muted); max-width: 68ch; }
.spec-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.spec-list li { position: relative; padding-left: 18px; color: var(--ink); }
.spec-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #71309f, #b06ae0); }
.sheet-images { display: grid; gap: 18px; position: sticky; top: 92px; }
.sheet-images img { width: 100%; max-height: 320px; object-fit: contain; border-radius: 18px; background: linear-gradient(160deg, #f7f0fd, #fff); border: 1px solid var(--line); padding: 18px; }
.sheet .flash { margin-top: 20px; }
.tag-soon { background: var(--mid-bg); border-color: transparent; color: var(--mid); }
.robot-more { display: inline-block; margin-top: 8px; font-size: .84rem; font-weight: 700; }
@media (max-width: 860px) {
  .sheet { grid-template-columns: 1fr; }
  .sheet-images { position: static; grid-template-columns: 1fr 1fr; order: -1; }
  .construct { grid-template-columns: 1fr 1fr; }
  .construct .segment { grid-column: 1 / -1; justify-self: start; }
}
