/* Hamm demo · Admin */
:root { --red:#CD2928; --red-dark:#930A0A; --orange:#F7A02F; --orange-dark:#A76C20; --green:#2E9E5B; --bg:#F5F1EB; --surface:#fff; --surface-2:#F3ECE2; --text:#221A16; --muted:#7A6E66; --line:#E8DFD3; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: 'Ubuntu', system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; display: flex; flex-direction: column; }
a { color: inherit; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: 12px; }
.muted { color: var(--muted); font-size: 12px; line-height: 1.45; }

/* fejléc, mentés-sáv */
.top { background: linear-gradient(115deg,#CD2928,#E0592B 58%,#F7A02F); color: #fff; padding: 12px 20px; display: flex; align-items: center; gap: 14px; flex: none; }
.top img { width: 36px; }
.top h1 { margin: 0; font-size: 19px; }
.top h1 small { font-weight: 400; opacity: .85; font-size: 13px; margin-left: 6px; }
.top .src { margin-left: auto; display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 12.5px; color: #fff; text-decoration: none; }
.pill.live i { width: 8px; height: 8px; border-radius: 50%; background: #7CFFA8; box-shadow: 0 0 0 3px rgba(124,255,168,.3); }
.savebar { display: none; align-items: center; gap: 10px; padding: 10px 20px; background: #FFF4DD; border-bottom: 1px solid #F3D9A6; flex: none; }
.savebar.show { display: flex; }
.savebar span { flex: 1; }

/* elrendezés */
.layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 230px 1fr; }
.side { border-right: 1px solid var(--line); background: var(--surface); padding: 14px 10px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
#nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--text); }
#nav a span { width: 22px; text-align: center; }
#nav a:hover { background: var(--surface-2); }
#nav a.on { background: #FDECEB; color: var(--red); }
.navsep { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 14px 12px 4px; }
.catbox { margin-top: auto; background: var(--surface-2); border-radius: 12px; padding: 12px; display: grid; gap: 6px; }
.catbox small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.catbox p { margin: 0; }
.srcnote { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin: 0; }
.main { overflow: auto; padding: 18px 22px 60px; }
.vhead { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.vhead h1 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.vhead p { margin: 4px 0 0; color: var(--muted); max-width: 760px; line-height: 1.45; }
.vhead .tools { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.back { display: inline-block; margin-bottom: 8px; font-weight: 700; color: var(--red); text-decoration: none; }

/* gombok, mezők */
.btn { font: inherit; font-weight: 700; font-size: 13px; border: 0; border-radius: 10px; padding: 8px 13px; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 2px 8px rgba(60,30,10,.06); cursor: pointer; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn:hover { background: #FFF8EE; }
.btn.primary { background: var(--red); color: #fff; box-shadow: none; }
.btn.primary:hover { background: var(--red-dark); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.red { color: var(--red); }
.btn.sm { padding: 5px 10px; font-size: 12px; }
.ib { width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--surface-2); cursor: pointer; font: inherit; font-weight: 700; }
.ib:disabled { opacity: .35; cursor: default; }
.ib.red { color: var(--red); }
input, select, textarea { font: inherit; color: var(--text); }
.search, select#newFor { border: 0; border-radius: 10px; padding: 8px 12px; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 2px 8px rgba(60,30,10,.06); outline: none; min-width: 220px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pills .pill { background: var(--surface); color: var(--text); border: 1px solid var(--line); cursor: pointer; font: inherit; font-weight: 700; font-size: 12.5px; }
.pills .pill.on { background: var(--red); color: #fff; border-color: var(--red); }
.pills .pill small { opacity: .7; font-weight: 400; }

/* kártyák, táblák */
.card { background: var(--surface); border-radius: 16px; box-shadow: 0 4px 14px rgba(60,30,10,.06); overflow: hidden; margin-bottom: 14px; }
.card.form, .card.info, .card.mcat, section.card { padding: 14px 16px; }
.card h3 { margin: 0 0 10px; font-size: 15px; }
.card.empty, td.empty, .empty { padding: 26px; text-align: center; color: var(--muted); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
tbody tr[data-p], tbody tr[data-u], tbody tr[data-d], tbody tr[data-i] { cursor: pointer; }
tbody tr[data-p]:hover, tbody tr[data-u]:hover, tbody tr[data-d]:hover, tbody tr[data-i]:hover { background: #FFF7EA; }
tbody tr.sel { background: #FDECEB; box-shadow: inset 4px 0 0 var(--red); }
td small { display: block; color: var(--surface); font-size: 11.5px; margin-top: 2px; }
td small.ind { margin-left: 38px; }
td.num, th.num { text-align: right; white-space: nowrap; }
td.acts { text-align: right; white-space: nowrap; }
td.acts > * { margin-left: 4px; }
td.clip { max-width: 360px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.items td { border-bottom: 1px solid var(--line); }
.items tr:last-child td { border-bottom: 0; }
.items td:first-child { width: 58px; }
.items td:nth-child(2) { width: 100%; }
.th { display: block; width: 46px; height: 46px; border-radius: 10px; background: var(--surface-2) center / cover; }
.lg { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: inline-grid; place-items: center; overflow: hidden; vertical-align: middle; flex: none; }
.lg img { width: 32px; height: 32px; object-fit: contain; }
.lg.sm { width: 26px; height: 26px; border-radius: 7px; margin-right: 8px; }
.lg.sm img { width: 22px; height: 22px; }
.lg.big { width: 48px; height: 48px; border-radius: 12px; }
.lg.big img { width: 42px; height: 42px; }
.mono { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg,#CD2928,#930A0A); font-size: 12px; }
.lg.big .mono { font-size: 16px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(135deg,#CD2928,#930A0A); color: #fff; font-weight: 700; margin-right: 8px; vertical-align: middle; }
.tag { display: inline-block; background: var(--surface-2); border-radius: 999px; padding: 3px 9px; font-size: 11.5px; font-weight: 700; margin: 1px 2px 1px 0; white-space: nowrap; }
.tag.red { background: #FDECEB; color: var(--red); }
.tag.orange { background: #FFF1DC; color: var(--orange-dark); }
.tag.green { background: #E5F4EB; color: var(--green); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat { background: var(--surface); border-radius: 14px; padding: 12px 14px; box-shadow: 0 4px 14px rgba(60,30,10,.06); }
.stat b { display: block; font-size: 22px; }
.stat span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.detail { padding: 16px; position: sticky; top: 0; }
.detail h3 { font-size: 19px; }
.detail h4 { margin: 16px 0 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 4px 10px; font-size: 13px; margin-top: 10px; }
.kv span { color: var(--muted); }
.openas { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 8px 10px; background: #FFF7EA; border-radius: 10px; font-size: 12.5px; }
.openas span { font-weight: 700; margin-right: 4px; }
.vb { border: 0; border-radius: 8px; padding: 4px 9px; background: var(--surface); font: inherit; font-weight: 700; font-size: 12px; cursor: pointer; box-shadow: 0 1px 0 var(--line); }
.vb:hover { background: var(--red); color: #fff; }
.addr { background: var(--surface-2); border-radius: 10px; padding: 7px 10px; font-size: 12.5px; margin-bottom: 6px; }
.addr b { display: block; }
.order { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; margin-bottom: 8px; font-size: 12.5px; }
.order .top { display: flex; justify-content: space-between; font-weight: 700; font-size: 13.5px; background: none; color: inherit; padding: 0; }
.order ul { margin: 6px 0; padding-left: 18px; color: var(--muted); }
.order small { color: var(--muted); }
.hist { font-size: 12.5px; }
.hist div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.plus { color: var(--green); font-weight: 700; } .minus { color: var(--red); font-weight: 700; }
.code { font-family: ui-monospace, Consolas, monospace; letter-spacing: .1em; font-size: 14px; }
.st { font-weight: 700; font-size: 12px; } .st.open { color: var(--green); } .st.closed { color: var(--muted); } .st.cancelled { color: var(--red); }
.danger-zone { margin-top: 16px; display: flex; gap: 10px; align-items: center; }
.danger-zone small { color: var(--muted); }

/* űrlapok */
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 14px; }
.grid2 .card { margin-bottom: 0; }
.grid2 + .card, .grid2 + section { margin-top: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.f { display: grid; gap: 4px; align-content: start; min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f > span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.f > span small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.f input, .f select, .f textarea, .vtable input, .vtable select, .mcat-head input, .mcat-head select { border: 1.5px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 10px; outline: none; width: 100%; min-width: 0; }
.f input:focus, .f select:focus, .f textarea:focus, .vtable input:focus, .mcat-head input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,160,47,.18); }
.f textarea { resize: vertical; line-height: 1.45; }
.f.sw { grid-template-columns: auto 1fr; align-items: center; gap: 10px; cursor: pointer; background: var(--surface-2); border-radius: 10px; padding: 9px 10px; }
.f.sw input { display: none; }
.f.sw i { width: 40px; height: 23px; border-radius: 999px; background: #D9CFC2; position: relative; transition: background .2s; }
.f.sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.f.sw input:checked + i { background: var(--red); }
.f.sw input:checked + i::after { transform: translateX(17px); }
.f.sw span b { display: block; font-size: 13px; }
.f.sw span small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--muted); }
.chip.on { background: #FDECEB; border-color: var(--red); color: var(--red); }
.picbtn { display: flex; align-items: center; gap: 10px; border: 1.5px dashed var(--line); background: #fff; border-radius: 10px; padding: 6px 10px 6px 6px; cursor: pointer; font: inherit; text-align: left; min-height: 48px; }
.picbtn img { width: 52px; height: 36px; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.picbtn i { width: 52px; height: 36px; display: grid; place-items: center; font-size: 11px; color: var(--muted); background: var(--surface-2); border-radius: 6px; }
.picbtn b { font-size: 12.5px; }
.picbtn.cat { padding: 4px; min-height: 0; border-style: solid; }
.picbtn.cat img { width: 40px; height: 40px; object-fit: contain; background: transparent; }
.picbtn.cat .em { width: 40px; height: 40px; display: grid; place-items: center; font-size: 22px; }
.pcard { width: 240px; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(60,30,10,.12); background: #fff; }
.pc-cover { height: 120px; background: var(--surface-2) center / cover; position: relative; }
.pc-cover .lg { position: absolute; left: 8px; bottom: 8px; }
.pc-body { padding: 10px 12px; display: grid; gap: 2px; }
.pc-body small { color: var(--muted); font-size: 12px; }
.pc-ship { padding: 6px 12px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--muted); }
.pc-ship.hamm { background: linear-gradient(115deg,#CD2928,#E0592B 58%,#F7A02F); color: #fff; }

/* étlap-szerkesztő */
.mlayout { display: grid; grid-template-columns: 260px 1fr; gap: 14px; align-items: start; }
.plist { padding: 10px; position: sticky; top: 0; max-height: calc(100vh - 140px); overflow: auto; }
.plist .search { width: 100%; min-width: 0; margin-bottom: 8px; box-shadow: inset 0 0 0 1.5px var(--line); }
.plist a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; text-decoration: none; }
.plist a:hover { background: var(--surface-2); }
.plist a.on { background: #FDECEB; }
.plist a b { display: block; font-size: 13px; }
.plist a small.tag { font-size: 10.5px; padding: 1px 7px; margin-top: 2px; }
.mhead2 { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.mhead2 h2 { margin: 0 0 3px; font-size: 18px; }
.mhead2 .tools { margin-left: auto; display: flex; gap: 8px; }
.mcat-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.mcat-head h3 { margin: 0; flex: 1; }
.mcat-head h3 small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.mcat-head input.cl { flex: 1; min-width: 160px; font-weight: 700; font-size: 15px; }
.mcat-head input.ci { width: 54px; text-align: center; }
.mcat-head select { width: auto; }
.mcat-head .cnt { color: var(--muted); font-size: 12px; font-weight: 700; margin-left: auto; }
.row-btns { display: flex; gap: 10px; align-items: center; }
.info p { margin: 0 0 10px; line-height: 1.5; }
.info small { display: block; margin-top: 8px; }
.vtable { margin: 4px 0 10px; }
.vtable th, .vtable td { padding: 6px 6px; }
.vtable input.sm, input.sm { width: 90px; }
input.xs { width: 54px; text-align: center; }
.course { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; margin-left: auto; }
.seg button { border: 0; background: none; font: inherit; font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 8px; cursor: pointer; color: var(--muted); }
.seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* modal, képválasztó, toast */
.modal { position: fixed; inset: 0; background: rgba(34,26,22,.45); display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow: auto; z-index: 50; }
.modal.show { display: flex; }
#picker { z-index: 60; }
.mbox { background: var(--surface); border-radius: 18px; width: min(560px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,.3); display: flex; flex-direction: column; }
.mbox.wide { width: min(860px, 100%); }
.mhead { display: flex; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mhead h3 { margin: 0; font-size: 17px; flex: 1; }
.x { border: 0; background: var(--surface-2); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px; }
.mbody { padding: 16px 18px; }
.mfoot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.mdel { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; }
.errs { margin: 0; padding-left: 18px; line-height: 1.6; color: var(--red-dark); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.pgrid.cat, .pgrid.logo { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.pi { border: 2px solid transparent; background: var(--surface-2); border-radius: 12px; padding: 6px; cursor: pointer; display: grid; gap: 4px; font: inherit; text-align: center; }
.pi img { width: 100%; height: 80px; object-fit: cover; border-radius: 8px; background: #fff; }
.pgrid.cat .pi img, .pgrid.logo .pi img { object-fit: contain; }
.pi .none { height: 80px; display: grid; place-items: center; background: linear-gradient(135deg,#CD2928,#930A0A); color: #fff; border-radius: 8px; font-weight: 700; }
.pi b { font-size: 11px; font-weight: 500; color: var(--muted); word-break: break-all; }
.pi.on { border-color: var(--red); }
.pi:hover { border-color: var(--orange); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--text); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; z-index: 70; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--red-dark); }

@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); }
  #nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .navsep, .catbox p, .srcnote { display: none; }
  .split, .mlayout { grid-template-columns: 1fr; }
  .plist { position: static; max-height: 260px; }
  .fields { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
}

/* hírsáv-bannerek előnézete (az app kártyájának kicsinyített mása) */
.nb-order { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.nbp { width: 300px; height: 84px; border-radius: 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; color: #fff; overflow: hidden; position: relative; }
.nbp.red { background: linear-gradient(135deg, #CD2928, #930A0A); }
.nbp.orange { background: linear-gradient(135deg, #F7A02F, #E8832A); color: #3a1d05; }
.nbp.dark { background: linear-gradient(135deg, #3a2a22, #1a1412); }
.nbp > div { display: grid; gap: 2px; min-width: 0; justify-items: start; }
.nbp b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nbp small { font-size: 11px; font-style: italic; font-weight: 700; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nbp span { margin-top: 3px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: #221A16; font-weight: 700; font-size: 11px; }
.nbp.orange span { background: #3a1d05; color: #fff; }
.nbp .e { font-style: normal; font-size: 38px; line-height: 1; }
.nbp em { width: 60px; height: 60px; border-radius: 12px; background: center / cover; }
.nbp.art { display: block; padding: 0; background: var(--surface-2); color: var(--muted); }
.nbp.art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nbp.art i { display: grid; place-items: center; height: 100%; font-size: 12px; }
.nbp-big { display: flex; justify-content: center; margin-bottom: 14px; }
.nbp-big .nbp { width: 360px; height: 96px; }

/* hírsáv: cikk-kártya előnézet, banner-szerkesztő */
.nwp { width: 300px; height: 84px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: grid; grid-template-columns: 84px 1fr; overflow: hidden; }
.nwp em { background: var(--surface-2) center / cover; }
.nwp > div { padding: 8px 10px; display: grid; align-content: center; gap: 2px; min-width: 0; }
.nwp small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.nwp b { font-size: 12.5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nwp span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nbp .ic { width: auto; height: 52px; max-width: 104px; object-fit: contain; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 12px; background: var(--surface-2); }
.seg button { font: inherit; font-weight: 700; font-size: 13px; border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(60,30,10,.14); }
.seg.sm { margin: 0; justify-self: start; }
.seg.sm button { padding: 6px 11px; font-size: 12.5px; }
.tones { display: flex; gap: 8px; flex-wrap: wrap; }
.tone { font: inherit; font-weight: 700; font-size: 12.5px; border: 0; border-radius: 10px; padding: 10px 16px; cursor: pointer; color: #fff; outline: 3px solid transparent; outline-offset: 2px; }
.tone.red { background: linear-gradient(135deg, #CD2928, #930A0A); }
.tone.orange { background: linear-gradient(135deg, #F7A02F, #E8832A); color: #3a1d05; }
.tone.dark { background: linear-gradient(135deg, #3a2a22, #1a1412); }
.tone.on { outline-color: var(--orange); }
.emojis { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.emojis button { width: 38px; height: 38px; border: 0; border-radius: 9px; background: var(--surface-2); font-size: 20px; cursor: pointer; }
.emojis button.on { background: #FFF1DC; box-shadow: inset 0 0 0 2px var(--orange); }
.emojis input { width: 96px; border: 1.5px solid var(--line); border-radius: 9px; padding: 7px 10px; font-size: 16px; outline: none; }
.upl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.upl small { flex: 1; min-width: 220px; }

/* blog: CTA előnézet, bekezdések */
.ctaprev { padding: 12px; border-radius: 14px; background: var(--bg); }
.bunp { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 700; color: #fff; background: linear-gradient(180deg, #E8443E, #CD2928 52%, #B51F1F); box-shadow: 0 4px 0 #930A0A; white-space: nowrap; }
.bunp.orange { background: linear-gradient(180deg, #FFB449, #F7A02F 52%, #E08B22); color: #3a1d05; box-shadow: 0 4px 0 #A76C20; }
.bunp.ghost { background: #fff; color: var(--text); box-shadow: 0 4px 0 var(--line); }
.bunp.block { display: flex; width: 100%; }
.bunp.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.ctap { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface); }
.ctap b { display: block; }
.ctap small { display: block; color: var(--muted); font-size: 11.5px; }
.para { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 8px; }
.para textarea { border: 1.5px solid var(--line); border-radius: 9px; padding: 8px 10px; width: 100%; resize: vertical; line-height: 1.45; outline: none; }
.para textarea:focus { border-color: var(--orange); }
.para .acts { display: grid; gap: 4px; align-content: start; }
/* rendezhető táblafejléc */
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--text); }
th.sortable i { font-style: normal; margin-left: 3px; opacity: .35; font-size: 11px; white-space: nowrap; }
th.sortable.on { color: var(--red); }
th.sortable.on i { opacity: 1; }
