:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#22352e;background:#f5f7f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.shell{max-width:1140px;margin:auto;min-height:100vh;display:flex;flex-direction:column;padding:0 22px}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 0;border-bottom:1px solid #dee6de}.brand{display:flex;align-items:center;gap:12px}.brandicon{background:#1d4033;color:white;width:46px;height:46px;border-radius:13px;display:grid;place-items:center;font-size:30px}.brand strong{font-size:19px;letter-spacing:-.4px}.brand small{display:block;color:#708078;font-size:12px;margin-top:3px}.topright{display:flex;align-items:center;gap:12px}.private{font-size:12px;color:#3d6c4d;background:#e7efe8;border-radius:30px;padding:8px 12px}.hidden{display:none!important}button{cursor:pointer;font:inherit;border:0;border-radius:10px;background:#1f523b;color:white;padding:12px 17px;font-weight:650}button:hover{background:#2b684b}button:disabled{opacity:.5;cursor:not-allowed}.quiet,.secondary{background:#e6ece7;color:#284635}.danger{background:#a83a38}.danger:hover{background:#842c2c}.outline{background:transparent;border:1px solid #cbd7cc;color:#294c37}input,textarea,select{font:inherit;color:#20362a;width:100%;border:1px solid #ccd8cd;border-radius:10px;padding:12px 13px;background:#fff;outline-color:#377752}textarea{min-height:125px;resize:vertical}label{font-size:13px;font-weight:650;display:block;margin-bottom:6px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,5vw,49px);line-height:1.15;letter-spacing:-1.6px;max-width:730px}h2{font-size:25px;letter-spacing:-.7px}p{line-height:1.65;color:#62736a}.welcome{padding:74px 0 60px;max-width:740px}.eyebrow{letter-spacing:2px;font-size:11px;font-weight:750;color:#47835c;display:block;margin-bottom:20px}.loginCard,.panel,.tile,.article,.metric{background:white;border:1px solid #e1e8e2;border-radius:16px;box-shadow:0 8px 26px #254c2d08}.loginCard{max-width:460px;margin-top:38px;padding:24px;display:grid;gap:12px}.loginCard label{margin:0}.loginCard small{color:#777}.loginCard button{margin-top:3px}.hero{background:#1d4033;color:white;margin:22px 0;border-radius:19px;padding:33px 36px}.hero h1{font-size:clamp(26px,4vw,40px);margin-bottom:10px}.hero p{color:#d5e3d9;margin:0}.hero .eyebrow{color:#add2b7}.tabs{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 24px}.tabs button{background:#e9efe9;color:#3e5a48}.tabs button.active{background:#1e4934;color:#fff}.twoCol{display:grid;grid-template-columns:1fr 1fr;gap:17px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:15px}.panel{padding:22px;margin-bottom:20px}.tile,.article{padding:22px}.article h3{margin-bottom:8px}.article p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.article .meta{font-size:12px;color:#779080;margin:12px 0}.tag{font-size:11px;display:inline-block;padding:5px 9px;background:#edf3ed;border-radius:20px;color:#4c7457;margin-bottom:11px}.sectionHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.sectionHeading h2{margin:0}.muted{color:#7a8b80;font-size:13px}.empty{padding:34px;text-align:center;border:1px dashed #c7d4c8;border-radius:15px;color:#68776d}.gridform{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{margin:0 0 14px}.actions{display:flex;gap:8px;flex-wrap:wrap}.itemrow{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #e7ede7}.itemrow:last-child{border:0}.itemrow strong{display:block}.itemrow small{color:#829087}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.metric{padding:19px}.metric b{font-size:27px;display:block}.metric span{font-size:12px;color:#7b887f}.codeBox{background:#eaf2ea;border:1px dashed #9bb9a0;padding:18px;border-radius:12px;word-break:break-all;text-align:center;font-weight:750;font-size:21px;letter-spacing:1px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:520px}th,td{padding:11px 8px;border-bottom:1px solid #e8eee8;text-align:left;font-size:13px}th{color:#74877a;font-weight:650}.alert{background:#fff3e0;border:1px solid #f3ddb7;border-radius:11px;padding:13px;color:#755a2d}.error{color:#a83a38}.notice{background:#e8f2e9;border-radius:10px;padding:13px}a{color:#226540}footer{margin-top:auto;padding:32px 0;color:#8b988e;font-size:12px}.topright button{padding:9px 12px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:12px 18px;background:#243b2e;color:#fff;border-radius:12px;box-shadow:0 12px 30px #142d1c32;display:none;z-index:20;max-width:90vw}.subtitle{font-size:14px;color:#7e8d81}.filelink{display:inline-flex;margin-top:14px}.note{font-size:13px;color:#728476}.switchlink{font-size:13px;border:none;background:none!important;color:#346546!important;padding:0;cursor:pointer;text-decoration:underline}#app{flex:1}@media(max-width:650px){.shell{padding:0 15px}.top{padding:15px 0}.brand strong{font-size:16px}.private{display:none}.welcome{padding:43px 0}.hero{padding:25px 22px}.gridform,.twoCol,.stats{grid-template-columns:1fr}.panel,.tile,.article{padding:17px}.sectionHeading{align-items:flex-start;flex-direction:column}}

/* V2 – klidný přírodní vizuální styl; funkce portálu jsou beze změny */
:root{--pine:#173f34;--pine2:#215541;--ink:#1a322b;--muted:#6f7e75;--cream:#f7f7f2;--line:#e2e7de;--accent:#c3d7ac;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--cream)}
body{background:radial-gradient(ellipse at 80% 0%,#e9f0e5 0%,transparent 42%),var(--cream)}
.shell{max-width:1250px;padding:0 36px}.top{padding:23px 0 20px;border-bottom:1px solid #dce4d9}.brand{gap:15px}.brandicon{width:52px;height:52px;background:var(--pine);color:#e4efd6;border-radius:15px}.brand strong{font-size:clamp(16px,2vw,20px);letter-spacing:-.65px;color:var(--ink)}.brand small{font-size:12px;color:#7b8981}.topright{gap:14px}.private{background:#e7eee6;color:#42694e;font-weight:650;padding:9px 14px;display:inline-flex;align-items:center;gap:7px}.statusdot{width:6px;height:6px;border-radius:50%;background:#4c8d60}.topright button{border-radius:9px}
h1{font-size:clamp(39px,5.3vw,65px);font-weight:740;line-height:1.085;letter-spacing:-2.8px}h2{font-weight:740;letter-spacing:-.9px}h3{letter-spacing:-.4px}p{color:#65766b;line-height:1.7}.eyebrow{letter-spacing:2.2px;color:#4c7f5d;font-size:11px;font-weight:800;margin-bottom:25px}
.welcome{display:grid;max-width:none;grid-template-columns:minmax(0,1.1fr) minmax(280px,.85fr);gap:clamp(25px,6vw,100px);align-items:center;padding:76px 0 92px}.welcomeContent{min-width:0}.welcomeContent h1{max-width:690px}.welcomeContent>p{max-width:520px;font-size:17px;margin-bottom:0}.loginCard{box-shadow:0 14px 45px #203e2b0b,0 2px 6px #203e2b06;border:1px solid #dfe7dd;border-radius:19px;padding:28px 28px 25px;margin-top:36px;gap:14px;max-width:490px}.loginCard label{font-size:13px}.loginCard input{padding:15px;border-radius:9px;background:#fcfdfa}.loginCard button:not(.switchlink){padding:15px}.loginCard small{font-size:12px}.switchlink{width:fit-content;justify-self:start;text-underline-offset:3px;font-weight:600;margin-top:5px}
.welcomeAside{min-height:492px;border-radius:26px;background:linear-gradient(160deg,#254e3a 0%,#15392f 65%,#102e27 100%);position:relative;overflow:hidden;padding:48px 42px;color:#e9f0e6;box-shadow:0 25px 55px #163a2e20}.welcomeAside:after{content:"";position:absolute;width:360px;height:360px;border:1px solid #ffffff21;border-radius:50%;right:-125px;top:50px;box-shadow:0 0 0 55px #ffffff07,0 0 0 110px #ffffff04;pointer-events:none}.asideOverline{font-size:11px;letter-spacing:2.1px;font-weight:750;color:#b9d3b9}.asideIcon{font-size:82px;font-family:Georgia,serif;line-height:1;margin:52px 0 20px;color:#d5e4be}.welcomeAside h2{font-size:clamp(34px,3.8vw,52px);line-height:1.1;letter-spacing:-1.4px;margin-bottom:17px;color:white}.welcomeAside p{color:#c6d5c8;max-width:270px}.asideList{display:grid;gap:13px;margin-top:30px;padding-top:22px;border-top:1px solid #ffffff26;font-size:13px;color:#e4eee1}.asideList span{display:block}
button{background:var(--pine2);border-radius:10px;transition:background .15s,transform .15s}button:hover{background:#326c50}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #91bb8e;outline-offset:2px}.quiet,.secondary{background:#edf1eb;color:#345342}.outline{border-color:#cedbcd}input,textarea,select{border-color:#d4dfd2;border-radius:10px}.hero{margin:31px 0 25px;padding:37px 43px;border-radius:22px;background:linear-gradient(110deg,#163d32,#285541);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;right:-70px;bottom:-115px;width:310px;height:310px;border-radius:50%;border:1px solid #ffffff2c;box-shadow:0 0 0 45px #ffffff09,0 0 0 95px #ffffff06}.hero h1{font-size:clamp(30px,4vw,45px);letter-spacing:-1.5px;position:relative;z-index:1}.hero p{max-width:660px;position:relative;z-index:1}.hero .eyebrow{color:#c2d8bc}
.tabs{gap:8px;padding:1px 0;margin:19px 0 28px}.tabs button{background:#e9eee7;color:#4c6655;padding:12px 16px;font-size:14px;border-radius:10px}.tabs button.active{background:var(--pine);color:#fff}.tabs button:hover:not(.active){background:#dce8dc}.panel,.tile,.article,.metric{border:1px solid #e1e8df;border-radius:17px;box-shadow:0 8px 20px #1e412209;background:#fff}.panel{padding:27px}.tile,.article{padding:25px}.article{min-height:190px}.article h3{font-size:19px}.article .meta{font-size:12px;color:#829184}.tag{padding:6px 11px;background:#eaf1e8;color:#376849;font-size:11px;font-weight:700}.cards{gap:17px}.sectionHeading{margin-bottom:19px}.sectionHeading h2{font-size:25px}.stats{gap:16px;margin-bottom:22px}.metric{padding:23px 25px}.metric b{font-size:34px;letter-spacing:-1.5px}.metric span{font-size:13px}.empty{background:#fff9;padding:46px}.itemrow{padding:18px 0}.itemrow strong{font-size:15px}.codeBox{font-size:clamp(16px,2.6vw,23px);letter-spacing:1.5px}.notice{background:#ebf3e8}.filelink{margin-top:18px}footer{border-top:1px solid #e1e7dd;margin-top:45px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:25px 0 29px;color:#78877d}footer a{color:#47745a;text-decoration:none}footer a:hover{text-decoration:underline}
@media(max-width:850px){.welcome{grid-template-columns:1fr;gap:28px;padding:54px 0 65px}.welcomeAside{min-height:280px;padding:30px 32px}.asideIcon{font-size:50px;margin:18px 0 9px}.welcomeAside h2{font-size:35px}.welcomeAside h2 br{display:none}.asideList{margin-top:15px;grid-template-columns:repeat(3,1fr);font-size:11px}.welcomeContent h1{max-width:690px}.shell{padding:0 22px}}
@media(max-width:650px){.shell{padding:0 17px}.top{gap:10px}.brandicon{width:45px;height:45px;border-radius:12px;flex:none}.brand strong{font-size:15px;line-height:1.25;display:block;max-width:210px}.brand small{font-size:11px}.welcome{padding:40px 0 50px}.welcome h1{font-size:clamp(35px,9vw,47px);letter-spacing:-1.65px}.welcomeContent>p{font-size:15px}.loginCard{padding:22px 20px;margin-top:28px}.welcomeAside{min-height:245px;padding:27px}.welcomeAside h2{font-size:29px}.welcomeAside p{font-size:13px;margin-bottom:0}.asideList{grid-template-columns:1fr;gap:7px;margin-top:10px;padding-top:10px}.asideIcon{display:none}.hero{padding:30px 24px}.hero h1{font-size:30px}.tabs{gap:6px}.tabs button{font-size:13px;padding:11px 13px}.panel,.tile,.article{padding:19px}.metric{padding:18px}footer{font-size:11px;gap:8px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* V3: obrázky aktualit a připnuté zprávy */
.newsImageButton{display:block;width:100%;padding:0;overflow:hidden;background:#eef3eb;border-radius:12px;margin:12px 0 6px;border:0;cursor:zoom-in;min-height:125px}
.newsImageButton:hover{background:#e0eadc}
.newsImageButton img{display:block;width:100%;height:200px;object-fit:cover;transition:transform .2s}
.newsImageButton:hover img{transform:scale(1.025)}
.imagePlaceholder{display:grid;place-items:center;min-height:150px;color:#63796a;font-size:13px}
.pinnedTag{background:#f0e7cf;color:#6e5422;margin-right:6px}
.pinOption{display:flex;align-items:center;gap:11px;margin:13px 0 19px;font-weight:650;cursor:pointer}
.pinOption input{width:19px;height:19px;accent-color:#225740}
.gardenLightbox{border:0;padding:55px 18px 22px;border-radius:15px;background:#111b15;box-shadow:0 24px 60px #0007;max-width:min(96vw,1200px);max-height:95vh;overflow:auto}
.gardenLightbox::backdrop{background:#07120ad9}
.gardenLightbox img{display:block;max-width:100%;max-height:calc(90vh - 95px);width:auto;height:auto;object-fit:contain;margin:auto}
.lightboxClose{position:absolute;right:14px;top:10px;background:#f1f5ef;color:#193e2d;padding:9px 14px}
@media(max-width:650px){.newsImageButton img{height:185px}}
