:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#153c29;background:#f6f9f6;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;line-height:1.58}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}.wrap{width:min(1140px,calc(100% - 40px));margin-inline:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:20px;top:20px;z-index:999;background:white;padding:12px}.top{background:#093824;color:white;box-shadow:0 5px 20px #07341d20}.top-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:14px}.brand img{height:60px;width:60px;object-fit:contain;background:white;border-radius:15px;padding:5px}.brand span{display:flex;flex-direction:column}.brand strong{font-size:17px;line-height:1.18}.brand small{color:#c1e6ce;font-size:12px}.top nav{display:flex;gap:20px;font-size:14px;font-weight:650}.top nav a:hover,.top nav a:focus-visible{color:#b3f6c5}.hero{margin-top:35px;display:grid;grid-template-columns:1.55fr .6fr;gap:28px;align-items:center;background:linear-gradient(130deg,#0b3926,#146744);color:white;padding:clamp(24px,5vw,60px);border-radius:26px;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;right:-70px;bottom:-115px;width:300px;height:300px;border:1px solid #94dea343;border-radius:50%;pointer-events:none}.hero-copy{position:relative;z-index:1}.eyebrow{display:block;color:#b9f6c7;font-size:11px;font-weight:850;letter-spacing:.09em}.eyebrow.green{color:#167344}.hero h1{font-size:clamp(32px,4.4vw,56px);line-height:1.1;letter-spacing:-.04em;margin:14px 0}.hero h1 em{color:#bdf9c7;font-style:normal}.hero p{color:#e2f4e8;max-width:670px;font-size:clamp(14px,1.6vw,17px)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.hero-image{display:flex;justify-content:center;align-self:stretch;align-items:end;min-height:180px}.hero-image img{width:min(100%,260px);max-height:280px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 15px 17px #06281844)}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:11px;padding:11px 17px;font-weight:750;font-size:14px;border:1px solid transparent;text-align:center}.btn.primary{background:#16874c;color:white}.btn.primary:hover{background:#0c6938}.btn.pale{background:#e3fae9;color:#174e30}.btn.secondary{background:white;color:#16613c;border-color:#bedec8}.btn:focus-visible,a:focus-visible{outline:3px solid #84dbad;outline-offset:3px}.notice{display:flex;gap:15px;padding:18px 20px;margin-top:22px;border-radius:17px;background:#eaf4ed;border:1px solid #c8e3d0;color:#27513b}.notice-ico{font-size:24px;color:#087543}.notice strong{font-size:14px}.notice p{font-size:13px;margin:5px 0 0}.flash{padding:15px 18px;border-radius:12px;margin-top:20px}.flash.success{background:#e2f5e6;color:#145e31}.flash.error{background:#fff0ed;color:#922b22}.conversations{padding:54px 0 35px}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:20px}.sectionhead h2,.partcopy h2,.detail h2{font-size:clamp(24px,3vw,35px);line-height:1.17;letter-spacing:-.025em;margin:9px 0}.sectionhead p,.partcopy p{margin:0;color:#5c7365}.count{font-size:12px;color:#287347;background:#e5f1e8;border-radius:100px;padding:7px 14px;white-space:nowrap}.chips{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0}.chip{font-size:13px;font-weight:650;border:1px solid #d1e3d6;border-radius:100px;padding:9px 15px;background:white}.chip.selected{background:#145f3c;color:white;border-color:#145f3c}.topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.topic,.empty,.detail,.form,.login-card,.mod-card{background:white;border:1px solid #e0e9e1;border-radius:18px;box-shadow:0 10px 28px #194f2720}.topic{padding:23px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.topic:hover{transform:translateY(-3px);box-shadow:0 17px 30px #194f2730}.topicmeta{font-size:12px;color:#16834c;font-weight:700}.topic h3{font-size:18px;line-height:1.35;margin:11px 0 8px}.topic p{font-size:13px;color:#587262;flex:1;margin:0 0 19px}.topicfoot{font-size:12px;display:flex;justify-content:space-between;gap:12px;color:#637b69}.topicfoot span{color:#167346}.empty{text-align:center;padding:50px 20px}.empty span{color:#15934d;font-size:42px}.empty h3{margin:8px 0}.empty p{color:#607366;max-width:520px;margin:auto}.participate{display:grid;grid-template-columns:1fr 1.03fr;gap:clamp(24px,4vw,52px);align-items:start;padding:48px 0 75px}.partcopy{padding:25px 10px 0 0}.partcopy li{padding:4px 0;color:#486453}.partform{min-width:0}.form{display:grid;gap:12px;padding:clamp(19px,3vw,30px)}.form h3{margin:0}.form label{font-size:13px;font-weight:700}.form input:not([type=hidden]):not([type=checkbox]),.form textarea,.form select{width:100%;border-radius:10px;border:1px solid #bcd6c3;padding:12px 14px;background:#fcfefc;outline:none;color:#153c29}.form input:focus,.form textarea:focus,.form select:focus{border-color:#138e4c;box-shadow:0 0 0 3px #33b76b22}.form .check{display:flex;align-items:flex-start;gap:10px;font-weight:450;line-height:1.6}.form .check input{margin-top:5px;accent-color:#147440}.login-card{padding:28px;text-align:center;display:flex;flex-direction:column;gap:13px}.login-card img{width:75px;height:75px;object-fit:contain;margin:auto}.login-card p{color:#617765;margin:0}.login-card h3{margin:0}.detail{padding:clamp(20px,4vw,38px);margin:20px 0}.detail>p{white-space:normal;overflow-wrap:anywhere}.detail h3{margin-top:36px}.reply{padding:19px 0;border-top:1px solid #e4eee7}.reply strong{display:block}.reply small{color:#60806c}.reply p{font-size:14px;overflow-wrap:anywhere}.team{background:#e5f6e9;color:#116c37;padding:3px 8px;border-radius:8px;font-size:11px}.detail .form{margin-top:20px}.muted{color:#68806f}.foot{background:#092d1e;color:#e0f0e4;padding:22px 0}.footinner{display:flex;align-items:center;gap:17px}.foot img{width:62px;height:75px;object-fit:contain}.foot p{font-size:12px;flex:1}.foot a{font-size:12px;color:#c0dfc8;text-decoration:underline}.admin{padding:38px 0 70px}.admin .sectionhead{margin-bottom:25px}.admin h1{font-size:clamp(25px,3vw,39px);margin:8px 0}.admin .sectionhead p{color:#577060}.moderation{margin:30px 0}.moderation h2{font-size:22px}.mod-card{padding:20px;margin:13px 0}.mod-card p{white-space:normal;overflow-wrap:anywhere}.mod-card small{color:#547361}.mod-card h3{margin:7px 0}.mod-actions{display:flex;gap:9px}.logout{display:flex;justify-content:end}.mod-actions form{margin:0}code{overflow-wrap:anywhere}@media(max-width:800px){.hero{grid-template-columns:1fr .38fr}.participate{grid-template-columns:1fr}.partcopy{padding:0}.top nav{gap:12px}.topics{grid-template-columns:1fr}}@media(max-width:560px){.wrap{width:min(100% - 26px,1140px)}.top-inner{gap:10px;flex-wrap:wrap;padding:12px 0}.brand img{width:48px;height:48px}.brand strong{font-size:14px}.top nav{width:100%;justify-content:space-between;font-size:12px}.hero{grid-template-columns:1fr;margin-top:15px;border-radius:17px;padding:24px 20px 0}.hero h1{font-size:34px}.hero-image{min-height:115px}.hero-image img{max-height:155px}.hero-actions{margin-bottom:3px}.hero-actions .btn{flex:1}.notice{padding:14px;margin-top:14px}.conversations{padding-top:37px}.sectionhead{align-items:start;flex-direction:column;gap:10px}.topics{gap:10px}.topic{padding:19px}.participate{padding:28px 0 55px}.footinner{flex-wrap:wrap}.foot p{min-width:60%}}

/* Identificacion visible del cliente autenticado (sin exponer correo ni celular) */
.pv-user-welcome{margin-top:22px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:15px 18px;border:1px solid #c8dfcf;background:#f0f8f2;border-radius:18px;box-shadow:0 8px 24px #123b2210;color:#123e2a}
.pv-user-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:#136b42;color:#fff;display:grid;place-items:center;font-weight:850;font-size:19px}
.pv-user-greeting{flex:1;min-width:175px;display:flex;flex-direction:column;line-height:1.4;gap:2px;overflow-wrap:anywhere}
.pv-user-greeting small{font-size:10px;letter-spacing:.08em;color:#187044;font-weight:800}
.pv-user-greeting strong{font-size:clamp(15px,2vw,18px);color:#0a3924}
.pv-user-greeting span{font-size:12px;color:#486954}
.pv-user-publish,.pv-user-admin{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border-radius:11px;font-weight:750;font-size:13px;text-align:center}
.pv-user-publish{color:#fff;background:#137d48}.pv-user-publish:hover{background:#0b6639}.pv-user-admin{color:#145c36;border:1px solid #b5d9c1;background:#fff}
@media(max-width:600px){.pv-user-welcome{padding:13px;gap:11px}.pv-user-publish,.pv-user-admin{width:100%}}

/* Menú de sesión accesible: nombre del cliente, registro y salir */
.pv-foro-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.pv-navbar-nombre{display:inline-flex;max-width:250px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e7fff0;font-size:13px;font-weight:750;background:#205b3c;border:1px solid #508267;border-radius:999px;padding:9px 12px}
.pv-navbar-publicar{display:inline-flex;align-items:center;background:#d8f7e0;color:#0e4a2b!important;border-radius:10px;min-height:40px;padding:8px 12px}
.pv-navbar-salir{display:inline-flex;margin:0}
.pv-navbar-salir button{appearance:none;background:transparent;border:1px solid #95bdaa;color:#fff;font-weight:750;border-radius:10px;padding:9px 13px;min-height:40px;cursor:pointer}
.pv-navbar-salir button:hover,.pv-navbar-salir button:focus-visible{background:#2b6549;outline:2px solid #a2f4be;outline-offset:2px}
@media(max-width:820px){.top-inner{flex-wrap:wrap;padding:12px 0}.pv-foro-nav{width:100%;justify-content:flex-start;gap:9px}.pv-navbar-nombre{max-width:min(100%,310px)}}
@media(max-width:540px){.pv-foro-nav{gap:8px}.pv-foro-nav>a,.pv-navbar-salir button{font-size:12px;padding:9px 11px}.pv-navbar-nombre{width:100%;max-width:100%;white-space:normal}.pv-navbar-salir{margin-left:auto}}

/* EDITOR DE ARTÍCULOS · COMUNIDAD PUNTOS VERDES */
.pv-article-participate{grid-template-columns:minmax(260px,.78fr) minmax(0,1.35fr);align-items:start;gap:clamp(24px,3vw,46px)}
.pv-article-editor{padding:clamp(20px,3vw,32px);gap:13px}
.pv-article-heading{display:flex;align-items:center;gap:13px;padding-bottom:12px;border-bottom:1px solid #e1ede5}
.pv-article-heading img{width:68px;height:54px;object-fit:contain;flex:none}
.pv-article-heading h3{font-size:clamp(19px,2.4vw,24px);margin:4px 0 0}
.pv-article-editor .muted{font-size:14px;line-height:1.6;margin:0 0 5px}
.pv-article-editor label{font-size:14px;color:#17452e}
.pv-editor-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#pv-count-article{color:#527762;font-size:12px;font-variant-numeric:tabular-nums}#pv-count-article.near-limit{color:#af4e16;font-weight:700}
.pv-article-editor textarea{resize:vertical;min-height:320px;line-height:1.75;font-size:15px;padding:17px!important}
.pv-editor-help{display:block;color:#5a7463;font-size:12px;line-height:1.6;margin:-4px 0 2px}
.pv-editor-actions{display:flex;justify-content:flex-start}
.pv-article-preview{border:1px solid #b9d8c1;border-radius:16px;padding:clamp(16px,2vw,25px);background:#f9fdf9;overflow-wrap:anywhere}
.pv-article-preview[hidden]{display:none}
.pv-preview-header{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#177744;font-size:13px;border-bottom:1px solid #d8eadf;padding-bottom:12px}
.pv-preview-header button{background:none;border:0;font-size:27px;line-height:1;color:#286142}
.pv-article-preview>h3{font-size:clamp(20px,2.5vw,26px);margin:16px 0}
.pv-article-body{overflow-wrap:anywhere;font-size:15px;line-height:1.85;color:#365943}
.pv-article-body p{margin:8px 0}.pv-article-body h3{font-size:20px;color:#104a2d;margin:17px 0 7px;line-height:1.4}.pv-article-body h4{font-size:17px;color:#104a2d;margin:12px 0 6px}
.pv-article-body strong{color:#103c27}.pv-art-space{height:9px}.pv-art-point{padding-left:12px}
.pv-editor-submit{width:100%;min-height:50px;font-size:15px}
.pv-editor-note{display:flex;flex-direction:column;gap:6px;padding:16px;border-left:3px solid #19844a;background:#eaf5ee;border-radius:12px;font-size:13px;color:#315941;margin-top:18px}
@media(max-width:900px){.pv-article-participate{grid-template-columns:1fr}.pv-article-participate .partcopy{padding:0}}
@media(max-width:600px){.pv-article-editor textarea{min-height:370px}.pv-article-heading img{width:54px;height:46px}.pv-article-editor{padding:18px}.pv-article-editor .btn{width:100%}}

/* Acciones administrativas: no modifican los estilos de las secciones existentes. */
.pv-manage{margin-top:26px}.pv-manage-intro{display:flex;justify-content:space-between;align-items:center;gap:16px}.pv-manage-intro img{width:82px;max-height:80px;object-fit:contain}.pv-manage-list{display:grid;gap:16px;margin-top:18px}.pv-manage-card{background:#fff;border:1px solid #d8e7dd;border-radius:18px;padding:18px;box-shadow:0 5px 20px #0a39220a}.pv-manage-line{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}.pv-manage-line small{display:block;color:#52685a;margin-top:7px}.pv-manage-line h3{margin:9px 0 0}.pv-manage-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:14px}.pv-manage-actions form{margin:0}.pv-danger{background:#fff3f2!important;border:1px solid #f2b8b5!important;color:#a92318!important}.pv-status{display:inline-block;border-radius:99px;padding:4px 10px;background:#edf3f0;font-size:12px;font-weight:700;color:#345}.pv-status-aprobado{background:#e2f7e9;color:#176b3b}.pv-status-oculto{background:#fff2d1;color:#895f04}.pv-status-pendiente{background:#e7efff;color:#23518e}.pv-status-rechazado{background:#ffe9e9;color:#9c2424}.pv-edit-form{margin-top:20px;padding-top:16px;border-top:1px solid #e4ede6}.pv-edit-form label{display:block}.pv-edit-form input[type=file]{display:block;margin-top:8px;max-width:100%;font-size:14px}.pv-edit-form[hidden]{display:none!important}.pv-edit-image img{display:block;max-height:180px;max-width:100%;border-radius:12px;object-fit:contain}.pv-edit-image{margin:12px 0}.pv-check{display:flex!important;gap:7px;align-items:center;margin-top:8px}.pv-topic-image{display:block;width:100%;max-height:450px;object-fit:contain;border-radius:16px;margin:24px auto;background:#f4f8f5}.pv-topic-recommendations{background:#f3fbf5;border:1px solid #d8e8da;border-radius:16px;padding:18px;margin:24px 0}.pv-topic-recommendations h3{margin:0 0 12px}.pv-topic-tags{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.pv-topic-tags span{border-radius:99px;background:#e4f5e8;color:#136037;font-size:13px;padding:5px 10px}@media(max-width:600px){.pv-manage-card{padding:13px}.pv-manage-intro img{width:54px}.pv-manage-actions .btn{font-size:13px;padding:9px 13px}}
