
:root{color-scheme:light;--yellow:#f5c928;--yellow-soft:#fff5c7;--ink:#273126;--muted:#687266;--bg:#f7f8f3;--card:#fff;--line:#e6e9df;--green:#456d3d;--shadow:0 8px 28px #25351a0b}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}.app{min-height:100vh}.topbar{background:var(--yellow);padding:16px max(18px,calc((100% - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:10;box-shadow:0 2px 12px #392e0012}.brand{display:flex;align-items:center;gap:10px;font-weight:850;font-size:23px;letter-spacing:-.7px}.bee{background:#fff;border-radius:13px;width:42px;height:42px;display:grid;place-items:center;font-size:24px}.top-actions{display:flex;gap:8px;align-items:center}.pill{background:#ffffff8c;border:1px solid #6b570028;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:750}.layout{max-width:1180px;margin:auto;padding:24px 18px 100px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:25px}.sidebar{position:sticky;top:92px;align-self:start}.side-label{font-size:11px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:1px;padding:12px}.nav{display:grid;gap:5px}.nav button{border:0;background:transparent;text-align:left;padding:12px;border-radius:12px;color:#566052;font-weight:650;display:flex;gap:11px;align-items:center}.nav button.active,.nav button:hover{background:var(--yellow-soft);color:#332a00}.nav .ico{width:22px;text-align:center;font-size:18px}.side-note{margin-top:22px;padding:14px;background:#eef3e8;border-radius:14px;font-size:12px;line-height:1.5;color:#53634c}.content{min-width:0}.view{display:none}.view.active{display:block}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.4px;color:var(--green);font-weight:850}.heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:5px 0 20px}.heading h1{font-size:clamp(25px,3.5vw,35px);letter-spacing:-1.1px;margin:4px 0 5px}.sub{color:var(--muted);font-size:14px;line-height:1.5}.btn{border:0;background:var(--ink);color:#fff;padding:11px 15px;border-radius:11px;font-weight:750;font-size:13px;white-space:nowrap}.btn.yellow{background:var(--yellow);color:#302700}.btn.outline{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn.small{padding:7px 10px;font-size:12px}.grid{display:grid;gap:14px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.stat,.card{background:var(--card);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.stat{padding:16px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;font-weight:650}.stat-icon{background:var(--yellow-soft);width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:17px}.stat-num{font-size:28px;font-weight:850;letter-spacing:-1px;margin-top:13px}.stat-note{font-size:11px;color:var(--muted);margin-top:3px}.homegrid{grid-template-columns:1.1fr .9fr}.card{padding:18px;margin-bottom:14px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.card h2{font-size:16px;margin:0;letter-spacing:-.3px}.muted{color:var(--muted)}.weather{background:linear-gradient(135deg,#fff8d7,#fffdf2);border:1px solid #f0e6ad}.weather-main{display:flex;align-items:center;justify-content:space-between}.temp{font-size:42px;font-weight:850;letter-spacing:-2px}.weather-icon{font-size:45px}.forecast{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}.day{border-top:1px solid #e9dfb0;padding-top:10px;font-size:11px;color:#6b654c;display:grid;gap:4px}.day b{font-size:15px;color:var(--ink)}.task{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.task:last-child{border-bottom:0}.task input{accent-color:var(--green);margin-top:4px;width:16px;height:16px}.task.done .task-text{text-decoration:line-through;color:#98a092}.task-text{font-size:13px;font-weight:650}.task small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.forum-item{padding:12px 0;border-bottom:1px solid var(--line)}.forum-item:last-child{border-bottom:0}.forum-title{font-size:13px;font-weight:750;margin-bottom:5px}.meta{font-size:11px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}.tag{font-size:10px;font-weight:800;background:var(--yellow-soft);border-radius:6px;padding:4px 7px;color:#665300}.hive-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.hive{padding:16px}.hive-top{display:flex;align-items:center;justify-content:space-between}.hive-mark{width:42px;height:42px;border-radius:13px;background:var(--yellow-soft);display:grid;place-items:center;font-size:22px}.hive h3{margin:12px 0 5px;font-size:16px}.hive p{margin:0;font-size:12px;color:var(--muted)}.hive-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:12px}.badge{background:#e9f4e5;color:#35652e;border-radius:7px;padding:5px 7px;font-size:10px;font-weight:800}.table{width:100%;border-collapse:collapse;font-size:13px}.table th{text-align:left;font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.8px;padding:10px 8px;border-bottom:1px solid var(--line)}.table td{padding:13px 8px;border-bottom:1px solid var(--line)}.table tr:last-child td{border-bottom:0}.field{display:grid;gap:6px;margin-bottom:13px}.field label{font-size:12px;font-weight:750}.field input,.field select,.field textarea,.search{width:100%;border:1px solid #dfe4d8;border-radius:10px;padding:11px 12px;background:#fff;color:var(--ink);outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#c5a51b;box-shadow:0 0 0 3px #f5c92830}.field textarea{min-height:90px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal{position:fixed;inset:0;background:#14201077;display:none;align-items:center;justify-content:center;padding:18px;z-index:20}.modal.open{display:flex}.modal-box{width:min(480px,100%);background:#fff;border-radius:20px;padding:22px;max-height:90vh;overflow:auto}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-head h2{font-size:19px;margin:0}.x{border:0;background:#f0f1eb;border-radius:9px;width:34px;height:34px;font-size:20px}.empty{padding:25px;text-align:center;color:var(--muted);font-size:13px}.shop-banner{background:#f0f4eb;border-radius:15px;padding:18px;display:flex;gap:14px;align-items:center}.shop-banner .shop-icon{font-size:34px}.shop-products{grid-template-columns:repeat(3,minmax(0,1fr))}.product{padding:14px}.product-img{height:100px;background:linear-gradient(145deg,#fff3b7,#f3f0dd);border-radius:12px;display:grid;place-items:center;font-size:35px;margin-bottom:12px}.product h3{font-size:13px;margin:0 0 6px}.price{font-size:16px;font-weight:850;margin:10px 0}.notice{background:#fff8d9;border:1px solid #eee2a1;padding:12px;border-radius:11px;font-size:12px;line-height:1.5;color:#65551a}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#253126;color:#fff;border-radius:12px;padding:12px 16px;font-size:13px;box-shadow:var(--shadow);display:none;z-index:40}.toast.show{display:block}.mobile-nav{display:none}.photo-preview{max-width:100%;max-height:180px;border-radius:12px;display:none;margin-top:8px}.footer-note{font-size:11px;color:var(--muted);line-height:1.5;margin-top:14px}
@media(max-width:850px){.layout{grid-template-columns:1fr;padding:18px 14px 90px}.sidebar{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.homegrid{grid-template-columns:1fr}.topbar{padding:11px 14px}.brand{font-size:21px}.top-actions .pill{display:none}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:8px 5px calc(8px + env(safe-area-inset-bottom));z-index:12}.mobile-nav button{border:0;background:transparent;display:grid;justify-items:center;gap:3px;font-size:10px;color:var(--muted);padding:4px 0}.mobile-nav button span{font-size:19px}.mobile-nav button.active{color:#7b6200;font-weight:800}.hive-list{grid-template-columns:1fr}.shop-products{grid-template-columns:repeat(2,minmax(0,1fr))}.heading{align-items:center}.heading .btn{padding:10px 11px}.form-row{grid-template-columns:1fr}.table-wrap{overflow:auto}.stat{padding:13px}.stat-num{font-size:25px}}
@media(min-width:851px){.mobile-nav{display:none}}

/* PWA / Android */
body{padding-top:env(safe-area-inset-top)}
.mobile-nav{padding-bottom:env(safe-area-inset-bottom)}
@media(display-mode:standalone){.pill{display:none}}

/* Szűrők és üres diagramok */
#logFilters{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#logFilters select,#yearSel{border:1px solid #dfe4d8;border-radius:10px;padding:10px 12px;background:#fff;color:var(--ink);font:inherit;width:100%}
#yearSel{width:auto;font-weight:750}
#chMonth .empty,#chKind .empty{padding:10px 0}
/* Telefonon a táblázatsorok kártyaként jelennek meg, nem lóg le semmi */
@media(max-width:700px){
  .table-wrap .table,.table-wrap .table tbody,.table-wrap .table tr,.table-wrap .table td{display:block;width:100%}
  .table-wrap .table thead{display:none}
  .table-wrap .table tr{border:1px solid var(--line);border-radius:12px;padding:8px 12px;margin-bottom:10px;background:#fff}
  .table-wrap .table tr:last-child td{border-bottom:0}
  .table-wrap .table td{border:0;padding:4px 0;display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:right}
  .table-wrap .table td::before{content:attr(data-label);color:var(--muted);font-size:11px;font-weight:800;text-align:left;flex:none}
  .table-wrap .table td:last-child{justify-content:flex-end;padding-top:8px}
  .table-wrap .table td.empty{display:block;text-align:center}
  .table-wrap .table td.empty::before{content:none}
}

.hive-bottom{flex-wrap:wrap;gap:8px}
.hive{cursor:pointer}.linkbtn{background:none;border:0;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer}.linkbtn:hover{text-decoration:underline}

.mobile-nav.six button{padding-left:0;padding-right:0;font-size:10px}

/* Keskeny telefonon (360 px) se lógjon ki semmi: a rácsoszlopok összehúzódhatnak */
.homegrid>div{min-width:0}.forecast{grid-template-columns:repeat(4,minmax(0,1fr))}.day{min-width:0;overflow-wrap:anywhere}
@media(max-width:850px){.layout{grid-template-columns:minmax(0,1fr)}.homegrid{grid-template-columns:minmax(0,1fr)}}
.homegrid .grid>.btn{white-space:normal;min-width:0}

.checklist{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:0 0 14px;min-width:0}.checklist[hidden]{display:none}
.checklist legend{font-size:12px;font-weight:800;padding:0 6px;color:var(--muted)}
.chk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}.chk-grid label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:500;cursor:pointer;min-height:34px}
.chk-grid input{width:18px;height:18px;flex:none;accent-color:var(--green)}.chk-grid label.bad input{accent-color:#b5482d}
.chk-sub{font-size:11px;font-weight:800;color:var(--muted);margin:10px 0 4px;text-transform:uppercase;letter-spacing:.04em}
.chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.chip{font-size:11px;font-weight:700;background:#eaf3e4;color:#2f5a28;border-radius:999px;padding:3px 9px}.chip.bad{background:#fbe6df;color:#9b3a22}
.hivelink b{border-bottom:1px dotted var(--green);color:var(--green)}.hivelink:hover b{border-bottom-style:solid}
@media(max-width:420px){.chk-grid{grid-template-columns:minmax(0,1fr)}}

.bee img{display:block;width:32px;height:32px}

.top-actions .btn{display:inline-flex;align-items:center;gap:7px}.beeico{flex:none}

.nbadge{font-style:normal;font-size:10px;font-weight:800;line-height:1;background:#d4452b;color:#fff;border-radius:999px;padding:3px 6px;min-width:18px;text-align:center}
.nav button .nbadge{margin-left:auto}
.mobile-nav button{position:relative}.mobile-nav button .nbadge{position:absolute;top:0;left:calc(50% + 6px);box-shadow:0 0 0 2px #fff}
.newtag{font-size:10px;font-weight:800;background:#d4452b;color:#fff;border-radius:6px;padding:3px 7px}
.forum-item.has-new{border-left:3px solid #d4452b;padding-left:10px}

.hiveico{display:block;flex:none}.hive-mark .hiveico{width:25px;height:25px;color:#273126}.stat-icon .hiveico{width:19px;height:19px}.ico .hiveico{margin:auto;width:20px;height:20px}.mobile-nav button span .hiveico,.mobile-nav button .hiveico{width:21px;height:21px}

.homeico{display:block;flex:none}.ico .homeico{margin:auto;width:21px;height:21px}.mobile-nav button .homeico{width:22px;height:22px}

/* egységes menüikonok */
.ico svg,.ico .mi{display:block;margin:auto;width:21px;height:21px}
.mobile-nav button svg{display:block;width:22px;height:22px}
.stat-icon svg{width:19px;height:19px}

#printReport{display:none}
@media print{
  body>*:not(#printReport){display:none!important}
  #printReport{display:block!important;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#111;font-size:12px;padding:0}
  #printReport h1{font-size:20px;margin:0 0 4px}#printReport h2{font-size:14px;margin:18px 0 6px;border-bottom:2px solid #f5c928;padding-bottom:3px}
  #printReport .meta{color:#555;margin:0}
  #printReport table{width:100%;border-collapse:collapse;margin:0}#printReport th,#printReport td{border:1px solid #ccc;padding:5px 8px;text-align:left}
  #printReport th{background:#f6f1d6}#printReport tr{break-inside:avoid}
}

.bloom{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.bloom-t{font-weight:800;font-size:13px;margin-bottom:6px}.bloom-t span{font-weight:600;color:var(--muted)}
.bloom-r{font-size:12.5px;margin:5px 0;display:flex;flex-wrap:wrap;gap:5px;align-items:center}.bloom-r b{margin-right:2px}
.bloom .chip{background:#fff5c7;color:#5f4d00}
/* AI-segítő */
.aichip{font:inherit;font-size:12.5px;font-weight:600;text-align:left;line-height:1.35;color:var(--ink,#2b2b22);background:#fff;border:1px solid #e3e0cf;border-radius:999px;padding:7px 12px;cursor:pointer}
.aichip:hover{background:#fff7d6;border-color:#f3c623}
#aiMsgs{max-height:55vh;overflow-y:auto}

.aitop{display:none!important;gap:6px;font-weight:800}
@media(max-width:850px){.aitop{display:inline-flex!important}}
@media(max-width:400px){.topbar .top-actions{gap:6px}.topbar .top-actions .btn{padding-left:10px;padding-right:10px;font-size:13px}.topbar .brand{gap:8px;font-size:18px}}
@media(max-width:400px){.aimore{display:none}}
/* Kezelések */
.tstat{display:inline-block;font-size:11.5px;font-weight:800;padding:3px 9px;border-radius:999px;background:#eef1e8;color:#455}
.tstat.active{background:#fff1b8;color:#7a5b00}.tstat.wait{background:#fde4e1;color:#a3261a}.tstat.plan{background:#e8eefb;color:#2c4a8a}.tstat.done{background:#e6f1e1;color:#3a6a30}
.tr-wait{border-left:4px solid #d9534f}.tr-active{border-left:4px solid #f5c928}
.treatflag{font-size:12.5px;font-weight:750;margin:4px 0 0;color:#7a5b00}.treatflag.wait{color:#a3261a}
#tHives input[type=checkbox],#tTaskW input[type=checkbox]{width:auto;min-width:0;margin:0;padding:0}
#tHives label{width:auto;align-items:center}
#tHives label:first-child{width:100%}
#tYear,#tHiveF{font:inherit;font-size:13px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;max-width:100%}

.qdot{display:inline-block;width:12px;height:12px;border-radius:50%;border:1px solid #0003;margin-right:6px;vertical-align:-1px}
.grpsw{display:flex;gap:8px;align-items:center;font-weight:600;font-size:13px;margin:2px 0 12px;cursor:pointer}
#logGroupBox{margin:-4px 0 14px;padding:10px;border:1px solid var(--line);border-radius:12px}#logGroupBox[hidden]{display:none}
.grpbar{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}#grpLocs{display:contents}
.grplist{display:flex;flex-wrap:wrap;gap:8px;max-height:210px;overflow:auto}.grpitem{display:inline-flex;gap:6px;align-items:center}
.field[hidden]{display:none}
.lockline{margin-top:6px;font-size:12.5px;font-weight:600;color:#9b553f}.card.hive.locked{opacity:.82}
#upgradeBody{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;align-items:stretch}
#upgradeBody .card{display:flex;flex-direction:column;align-items:flex-start}
#upgradeBody .card[style*="grid-column"]{display:block}
#upgradeBody a.btn{text-decoration:none;margin-top:auto}

.hdtype{display:flex;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}.hdtype .hive-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--yellow-soft)}.hdtype .hiveico{width:21px;height:21px;color:#273126}.hdtype label{font-weight:650;font-size:13px;color:var(--muted)}.hdtype select{padding:8px 10px;border:1px solid var(--line);border-radius:10px;font:inherit;background:#fff;max-width:100%}

@media print{
  @page{size:A4;margin:12mm}
  #printReport.rec{font-size:10.5px}
  #printReport.rec h2{break-after:avoid}
  #printReport.rec th,#printReport.rec td{padding:3px 6px;vertical-align:top}
  #printReport .sign{margin-top:34px;display:flex;justify-content:space-between;gap:30px;align-items:flex-end;break-inside:avoid}
  #printReport .sign .line{border-top:1px solid #111;min-width:220px;text-align:center;padding-top:4px}
}
@media print{body{background:#fff!important}}

/* QR-címkék */
.lsheet{display:grid;box-sizing:border-box;background:#fff;color:#111;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.lcell{display:flex;align-items:center;gap:2mm;padding:2mm;box-sizing:border-box;overflow:hidden;height:100%}
.lqr{flex:none}.lqr svg{display:block;width:100%;height:100%}
.ltxt{min-width:0;display:flex;flex-direction:column;gap:.6mm;justify-content:center}
.lname{font-weight:800;line-height:1.1;overflow-wrap:anywhere}.lloc{color:#333;line-height:1.15}.lbrand{color:#777;margin-top:.8mm}
.lcut .lcell{outline:.2mm dotted #999;outline-offset:-.1mm}
.lprevwrap{max-width:100%;overflow:auto;padding:2px}.lprev{border:1px dashed #cfcfc0;border-radius:2px}
@media print{
  #printReport.lbl{padding:0;font-size:inherit}
  #printReport.lbl .lsheet{break-after:page;margin:0}#printReport.lbl .lsheet:last-child{break-after:auto}
}

/* ===== Élénkebb színek: színréteg az eredeti dizájn fölött (az elrendezés változatlan; ennek a blokknak a törlésével visszaáll az eredeti) ===== */
:root{--yellow:#ffc41f;--yellow-soft:#fff0b0;--bg:#fcf9ec;--line:#ede6cc;--green:#2c8f3c;--shadow:0 8px 26px #9a640016;
  --sky:#2f80dc;--sky-soft:#e0eeff;--leaf:#2f9e4a;--leaf-soft:#dcf6e1;--coral:#ee5a3c;--coral-soft:#ffe2d8;--grape:#7b59dc;--grape-soft:#ece5ff;--amber-soft:#ffe9b8}
.topbar{background:linear-gradient(120deg,#ffd940 0%,#ffc41f 55%,#ffb21a 100%)}
.nav button.active,.nav button:hover{background:linear-gradient(90deg,#fff0b0,#fff7d2);box-shadow:inset 3px 0 0 #ffb21a}
.nav [data-view=home] .ico{color:#e08a00}.nav [data-view=hives] .ico{color:#c77a00}.nav [data-view=journal] .ico{color:#2f80dc}.nav [data-view=treat] .ico{color:#ee5a3c}
.nav [data-view=tasks] .ico{color:#2f9e4a}.nav [data-view=stats] .ico{color:#7b59dc}.nav [data-view=ai] .ico{color:#a24fd6}.nav [data-view=forum] .ico{color:#0f9fb8}.nav [data-view=upgrade] .ico{color:#f08c00}.nav [data-view=shop] .ico{color:#e0527a}
.side-note{background:#e2f6de;color:#3c6a35}
.mobile-nav button.active{color:#c26a00}
.mobile-nav [data-view=home].active svg{color:#e08a00}.mobile-nav [data-view=journal].active svg{color:#2f80dc}.mobile-nav [data-view=tasks].active svg{color:#2f9e4a}.mobile-nav [data-view=stats].active svg{color:#7b59dc}.mobile-nav [data-view=forum].active svg{color:#0f9fb8}
.eyebrow{color:var(--green)}
.btn.yellow{background:linear-gradient(180deg,#ffd740,#ffbf1c);box-shadow:0 3px 10px #ffb21a55}
.btn.yellow:hover{background:linear-gradient(180deg,#ffdf5e,#ffc62e)}
.btn.outline:hover{border-color:#ffc41f;background:#fffaea}
.stats .stat{border-top:3px solid var(--yellow)}
.stats .stat:nth-child(1){border-top-color:#ffb21a}.stats .stat:nth-child(2){border-top-color:#2f9e4a}.stats .stat:nth-child(3){border-top-color:#f08c00}.stats .stat:nth-child(4){border-top-color:#2f80dc}
.stats .stat:nth-child(1) .stat-icon{background:var(--amber-soft)}.stats .stat:nth-child(2) .stat-icon{background:var(--leaf-soft)}.stats .stat:nth-child(3) .stat-icon{background:#ffe3b8}.stats .stat:nth-child(4) .stat-icon{background:var(--sky-soft)}
.stats .stat:nth-child(2) .stat-num{color:#1f7a37}.stats .stat:nth-child(4) .stat-num{color:#1f64b8}
.badge{background:var(--leaf-soft);color:#17692f}
.badge.st-e{background:var(--leaf-soft);color:#17692f}.badge.st-k{background:var(--amber-soft);color:#8a5a00}.badge.st-g{background:var(--coral-soft);color:#b0371b}.badge.st-u{background:var(--sky-soft);color:#1d5db0}
.card.hive .hive-mark{background:var(--amber-soft)}.card.hive .hive-mark .hiveico{color:#a86500}
.card.hive .hive-mark[title^="Álló"]{background:var(--amber-soft)}.card.hive .hive-mark[title^="Fekvő"]{background:var(--leaf-soft)}.card.hive .hive-mark[title^="Fekvő"] .hiveico{color:#1f7a37}
.card.hive .hive-mark[title^="Kas"]{background:var(--coral-soft)}.card.hive .hive-mark[title^="Kas"] .hiveico{color:#b8431f}
.card.hive .hive-mark[title^="Típus"]{background:var(--sky-soft)}.card.hive .hive-mark[title^="Típus"] .hiveico{color:#2a64b0}
.tag{background:#fff0b0;color:#6b5000}
input[type=checkbox],input[type=radio]{accent-color:#2f9e4a}
:focus-visible{outline:2px solid #ffb21a;outline-offset:2px}
.card{border-color:var(--line)}

/* Fórum: színes kategóriák */
.tag[data-cat^="Kapt"]{background:#ffe7ad;color:#7a4e00}.tag[data-cat^="Méhlegel"]{background:#d9f5df;color:#17692f}.tag[data-cat^="Egészség"]{background:#ffe0d6;color:#a8341a}
.tag[data-cat^="Eszközök"]{background:#dcebff;color:#1b5aa8}.tag[data-cat^="Mézért"]{background:#ffe0bd;color:#8a4a00}.tag[data-cat^="Egyéb"]{background:#ebe4ff;color:#5b3fb8}
.forum-item{border-left:3px solid transparent;padding-left:10px;margin-left:-10px;border-radius:2px}
.forum-item:has(.tag[data-cat^="Kapt"]){border-left-color:#ffb21a}.forum-item:has(.tag[data-cat^="Méhlegel"]){border-left-color:#2f9e4a}.forum-item:has(.tag[data-cat^="Egészség"]){border-left-color:#ee5a3c}
.forum-item:has(.tag[data-cat^="Eszközök"]){border-left-color:#2f80dc}.forum-item:has(.tag[data-cat^="Mézért"]){border-left-color:#f08c00}.forum-item:has(.tag[data-cat^="Egyéb"]){border-left-color:#7b59dc}
.forum-title:hover{color:#b36b00}
.footer-note a,.footer-note .linkbtn{color:#2f6fc0;font-weight:650}
/* Fórum: nagyobb, jobban olvasható betűk */
#view-forum .forum-title{font-size:17px!important;line-height:1.3}
#view-forum .forum-item{padding-top:14px;padding-bottom:14px}
#view-forum .forum-item .sub{font-size:14.5px!important;line-height:1.5}
#view-forum .meta{font-size:13px;gap:10px}
#view-forum .tag{font-size:12px;padding:5px 9px}
#view-forum .newtag{font-size:12px;padding:4px 8px}
#view-forum .footer-note{font-size:13.5px}
#view-forum div[style*="font-size:14px"]{font-size:16px!important;line-height:1.55}
#view-forum div[style*="font-size:13px"]{font-size:15px!important;line-height:1.55}
#view-forum h2[style*="font-size:19px"]{font-size:23px!important;line-height:1.25}
#view-forum .card-head h2{font-size:19px}
#view-forum select,#view-forum .search,#view-forum input,#view-forum textarea{font-size:15px}
#view-forum .btn.small{font-size:13.5px;padding:8px 12px}
/* Oldalsáv: alacsony ablakban is látszódjon az alsó "Jó méhészkedést!" doboz */
@media(min-width:851px){.sidebar{top:80px;max-height:calc(100vh - 92px);overflow-y:auto;scrollbar-width:thin}
.sidebar .nav button{padding:10px 12px}.sidebar .side-note{margin-top:14px}}
@media(min-width:851px) and (max-height:760px){.sidebar .nav button{padding:7px 12px}.sidebar .side-label{padding:6px 12px}.sidebar .side-note{margin-top:8px;padding:10px;font-size:11.5px}}
/* Jó méhészkedést! doboz: keskeny (mobil/web app) nézetben a szezonális tipp után a főoldalon */
.home-note{display:none}
@media(max-width:850px){.home-note{display:block;margin-top:14px;font-size:13.5px;padding:14px 16px}}
.weather-icon.night{filter:grayscale(1) contrast(1.05);opacity:.85}
/* Lábléc */
.site-foot{max-width:1180px;margin:0 auto;padding:6px 18px 28px;text-align:center;font-size:12.5px;line-height:1.7;color:var(--muted)}
.site-foot a{color:#2f6fc0;text-decoration:none;font-weight:600}.site-foot a:hover{text-decoration:underline}
@media(max-width:850px){.site-foot{padding-bottom:96px}}
/* Anyanyilvántartás és családfa (visszaállítás: ez a blokk + js/queen.js) */
#qCard .qtiles{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
#qCard .qtiles div{background:#fff3c4;border-radius:12px;padding:9px 11px;min-width:0}
#qCard .qtiles span{display:block;font-size:12px;color:var(--muted)}
#qCard .qtiles b{display:block;font-size:15px;margin-top:2px;overflow-wrap:anywhere}
#qCard .qdot,.qdot{display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:-1px}
#qCard .qyear{margin:12px 0 2px;font-size:14px}#qCard .qyear small{color:var(--muted);font-size:12px}
#qCard .qrate{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:14.5px}
#qCard .qrate small{display:block;color:var(--muted);font-size:11.5px}
.qpick{display:inline-flex;gap:2px;flex:none}
.qpick button{border:0;background:transparent;font-size:26px;line-height:1;padding:2px 3px;color:#d9d6c7;cursor:pointer;min-width:34px;min-height:36px}
.qpick button.on{color:#f0a500}.qpick button:disabled{cursor:default}
.qstars i{font-style:normal;color:#d9d6c7}.qstars i.on{color:#f0a500}
.qwarn{background:#ffe9d6;color:#9a4a00;border-radius:10px;padding:9px 11px;font-size:13px;margin-top:10px;line-height:1.45}
#qCard .qfam{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}
.qtree{margin-top:8px;font-size:14.5px;line-height:2}
.qtree .qn b{display:inline-block;background:#fff3c4;border-radius:10px;padding:1px 10px;font-weight:700}
.qtree .qn b[data-qopen]{cursor:pointer;text-decoration:underline dotted}
.qtree .qn b.me{background:#ffd966}.qtree em{font-style:normal;color:#9aa395;font-family:monospace;margin-right:6px}
.qtree small{color:var(--muted)}.qtree .qgone{color:var(--muted);font-size:13px}
.qtw{overflow-x:auto;-webkit-overflow-scrolling:touch}
.qtable{width:100%;border-collapse:collapse;font-size:14px;min-width:0}
.qtable th{font-size:11.5px;font-weight:700;color:var(--muted);text-align:left;padding:8px 4px;border-bottom:2px solid var(--line);cursor:pointer;white-space:normal;line-height:1.2;vertical-align:bottom}
.qtable th.cur{color:#b36b00}.qtable td{padding:10px 4px;border-bottom:1px solid var(--line);white-space:nowrap}
.qtable td small{color:var(--muted)}.qbest{background:#e2f6de;color:#2f6a2a;border-radius:6px;padding:2px 7px;font-weight:700}
/* Vándorlás (visszaállítás: ez a blokk + js/migrate.js) */
#moveModal .mvrow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:14.5px}
#moveModal .mvrow small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
#moveModal .modal-box{max-width:560px}
/* Fiókom ablak (visszaállítás: ez a blokk) */
#profileModal .modal-head h2{font-size:22px}
#profileModal .acct-id{display:flex;flex-wrap:wrap;align-items:center;column-gap:14px;padding:14px;border-radius:16px;background:linear-gradient(135deg,#fff3c4,#ffe08a);margin-bottom:14px;position:relative;min-height:74px}
#profileModal .acct-id::before{content:attr(data-ini);width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,#ffcf3a,#ffa81c);color:#2b2200;font-weight:800;font-size:23px;display:flex;align-items:center;justify-content:center;flex:none;box-shadow:0 3px 10px #b36b0033}
#profileModal .acct-id label{position:absolute;top:10px;left:78px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#8a6200}
#profileModal .acct-id .acct-name{font-weight:800;font-size:19px;margin-top:14px;flex:1;min-width:0;overflow-wrap:anywhere}
#profileModal .acct-id .sub{flex-basis:100%;margin:8px 0 0;font-size:12px;color:#7a6320}
#profileModal .acct-tools{display:flex;flex-direction:column;gap:10px}
#profileModal .acct-tools>.sub{margin:0}
#profileModal #planBox{margin:0;padding:14px;border-radius:16px;border:1px solid #f0d77a;background:linear-gradient(135deg,#fffdf2,#fff6d4)}
#profileModal .plan-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
#profileModal .plan-lbl{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#8a6200}
#profileModal .plan-name{background:#2f3a2c;color:#ffd24a;border-radius:999px;padding:4px 14px;font-weight:800;font-size:14px}
#profileModal #planBox .sub{margin-top:8px;font-size:13.5px;color:#4b5645}
#profileModal .planbar{height:9px;border-radius:99px;background:#efe6bd;overflow:hidden;margin-top:8px}
#profileModal .planbar i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#7cc15a,#f5c928);transition:width .4s}
#profileModal #planUp{width:100%;background:linear-gradient(180deg,#ffd24a,#ffb21a);border-color:#f0a500;font-weight:800;margin-top:12px!important}
#profileModal #syncState{align-self:flex-start;border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:650;background:#e6f2e1;color:#2f6a2a}
#profileModal #syncState[data-st=pending]{background:#fff3c4;color:#7a5a00}
#profileModal #syncState[data-st=fail]{background:#fde4e0;color:#a33}
#profileModal #aPw,#profileModal #aOut{width:100%;justify-content:flex-start;text-align:left;padding:13px 14px;font-weight:700}
#profileModal #aPw::before{content:"🔑  "}#profileModal #aOut::before{content:"🚪  "}
#profileModal #aDel{background:transparent;border:0;box-shadow:none;font-size:13px;font-weight:650;margin-top:4px;padding:8px;text-decoration:underline}
#profileModal #aDel::before{content:"🗑  ";text-decoration:none}
/* Vizsgálat: keretszám */
#logChk .chk-frames{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 10px}
#logChk .chk-frames label{font-weight:700;font-size:14px}
#logChk .chk-frames input{width:84px;padding:8px 10px;font-size:15px}
/* Új naplóbejegyzés ablak: 20%-kal szélesebb */
#logModal .modal-box{width:min(576px,100%);max-width:576px}
/* Áttekintés: kattintható összesítő csempék */
#view-home .stat.stat-link{cursor:pointer;transition:transform .15s,box-shadow .15s}
#view-home .stat.stat-link:hover{transform:translateY(-2px);box-shadow:0 10px 26px #25351a1f}
#view-home .stat.stat-link:active{transform:translateY(0)}
#view-home .stat.stat-link:focus-visible{outline:3px solid #f0a500;outline-offset:2px}
/* Kaptárkártya (visszaállítás: ez a blokk + js/hivecard.js) */
#hiveList .card.hc{padding:0;overflow:visible;border-left:6px solid #3f9d4a;position:relative}
#hiveList .card.hc.hc-k{border-left-color:#f0a500}#hiveList .card.hc.hc-g{border-left-color:#d94b3d}#hiveList .card.hc.hc-u{border-left-color:#2f6fd0}
.hc-in{padding:14px 14px 12px}
.hc-hd{display:flex;align-items:center;gap:12px}
.hc-hd .hive-mark{flex:none;width:46px;height:46px;border-radius:14px;margin:0}
.hc-ttl{flex:1;min-width:0}.hc-ttl h3{margin:0;font-size:20px;line-height:1.15}.hc-ttl span{display:block;font-size:13px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}
.hc-q{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0 4px;font-size:13.5px}
.hc-pill{font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;background:#fde4e0;color:#a33}
.hc-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0}
.hc-tiles div{background:#faf6e6;border-radius:12px;padding:8px 9px;min-width:0}
.hc-tiles span{display:block;font-size:11px;color:#8a8a70;line-height:1.25}.hc-tiles b{display:block;font-size:15px;margin-top:2px;overflow-wrap:anywhere}
.hc-note{font-size:13px;color:var(--muted);font-style:italic;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.hc-warn{background:#fff3e0;color:#9a4a00;border-radius:10px;padding:6px 9px;font-size:12.5px;margin-top:8px}
.hc-act{display:flex;gap:8px;margin-top:12px;align-items:center}
.hc-act .btn{padding:10px 14px;font-size:14px}
.hc-wrap{margin-left:auto;position:relative}
.hc-more{width:46px;height:44px;padding:0!important;font-size:20px!important;line-height:1;text-align:center;display:inline-flex;align-items:center;justify-content:center}
.hc-menu{position:absolute;right:0;bottom:calc(100% + 6px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 28px #0003;padding:8px;display:flex;flex-direction:column;gap:6px;z-index:20;min-width:140px}
.hc-menu[hidden]{display:none}.hc-menu .btn{width:100%;justify-content:center}
#hiveList .hc.locked .hc-in{opacity:.9}
/* Kaptárlista: szűrő és lapozó (visszaállítás: ez a blokk + js/hivecard.js) */
.hc-filters{display:flex;gap:8px;margin:2px 0 12px}
.hc-filters .search{flex:.8;min-width:0;width:auto}
.hc-filters select{flex:1.2;min-width:0;font-size:14.5px;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}
.hc-filters select[hidden]{display:none}
.hc-count{font-size:12.5px;color:var(--muted);margin:0 0 10px}.hc-count:empty{display:none}
.hc-pager:empty{display:none}
.hc-pg{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}
.hc-pg .btn{padding:10px 14px;font-size:14px}.hc-pg .btn[disabled]{opacity:.4;cursor:default}
.hc-mid{text-align:center;font-size:13px;color:#555}.hc-mid b{font-size:15px;color:var(--ink)}
.hc-nums{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin-top:10px}
.hc-num{width:34px;height:34px;border-radius:10px;background:#fff;border:1.5px solid var(--line);font-weight:700;font-size:13.5px;cursor:pointer}
.hc-num.on{background:#ffd24a;border-color:#f0a500}.hc-dots{align-self:center;color:var(--muted)}
/* PRO jelzés a gombokon (visszaállítás: ez a blokk) */
.btn[data-pro]{position:relative;padding-right:22px}
.btn[data-pro]::after{content:"PRO";position:absolute;top:4px;right:6px;color:inherit;font-size:8px;font-weight:800;letter-spacing:.08em;line-height:1;pointer-events:none}
