/* EIVA 51.10.41 — builder portfolio, mobile first, scoped; global sidebar unchanged. */
.eiva41{--e41:#173f35;--e41-border:#dce6e1;--e41-gold:#b99348;max-width:1240px;margin:0 auto;padding:16px 12px 36px;color:#243b35;font-family:IRANSans,IRANSansX,system-ui,sans-serif;box-sizing:border-box}
.eiva41 *, .eiva41 *::before,.eiva41 *::after{box-sizing:border-box}
.eiva41-hero{border-radius:22px;background:linear-gradient(115deg,#123a30,#225749 72%,#376d5b);padding:23px 24px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;box-shadow:0 14px 30px #103c301a}
.eiva41-hero h1{margin:7px 0 10px;color:#fff;font-size:clamp(1.35rem,2.5vw,2rem);line-height:1.65}
.eiva41-hero p{color:#e4f1eb;margin:0;line-height:2;max-width:800px;font-size:.93rem}
.eiva41-kicker{font-size:.84rem;color:#ecd3a1;font-weight:700}
.eiva41-hero a,.eiva41-hero-actions a{display:inline-block;text-decoration:none;background:#ebd2a0;color:#173f35;padding:9px 16px;border-radius:12px;font-size:.88rem;font-weight:700}
.eiva41-hero-actions{display:flex;flex-wrap:wrap;gap:8px}.eiva41-hero-actions a.light{background:#ffffff22;border:1px solid #ffffff55;color:#fff}
.eiva41-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0}
.eiva41-stats>div{border:1px solid var(--e41-border);background:#fff;padding:16px;border-radius:17px;display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.eiva41-stats span{color:#53665f;font-size:.83rem}.eiva41-stats strong{color:var(--e41);font-size:1rem}
.eiva41-notice,.eiva41-approved,.eiva41-preview-warning{background:#f5f8f6;border:1px solid #ccdfd5;border-right:4px solid var(--e41-gold);border-radius:14px;padding:13px 16px;line-height:2;margin:13px 0;font-size:.88rem}
.eiva41-approved{background:#f3f9f5;border-right-color:#276b53}.eiva41-approved p{margin:5px 0}
.eiva41-panel{background:#fff;border:1px solid var(--e41-border);border-radius:20px;padding:20px;margin-top:18px;box-shadow:0 10px 30px #163c3210;min-width:0}
.eiva41-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px;border-bottom:1px solid var(--e41-border);padding-bottom:13px}
.eiva41-section-heading span{color:#8c753d;font-size:.83rem}.eiva41-section-heading h2{font-size:1.15rem;margin:6px 0;color:var(--e41)}
.eiva41-tag{border-radius:20px;background:#edf5ef;color:#225b42;padding:6px 11px;font-weight:700;font-size:.78rem}
.eiva41-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.eiva41-fields label,.eiva41-review label{display:flex;flex-direction:column;gap:6px;color:#31463c;font-size:.87rem;min-width:0;font-weight:600}
.eiva41-fields label.wide{grid-column:1/-1}
.eiva41-fields input:not([type=checkbox]),.eiva41-fields select,.eiva41-fields textarea,.eiva41-review textarea{width:100%;max-width:100%;min-width:0;border:1px solid #cdded4;border-radius:11px;padding:10px 12px;background:#fbfdfb;color:#213a31;font:inherit;font-weight:400}
.eiva41-fields input[type=checkbox]{width:19px;height:19px;accent-color:var(--e41)}
.eiva41-fields input:focus,.eiva41-fields textarea:focus,.eiva41-fields select:focus,.eiva41-review textarea:focus{outline:2px solid #71a691;outline-offset:1px}
.eiva41-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0 3px}
.eiva41 button,.eiva41-link{background:var(--e41);border:1px solid var(--e41);color:white;text-decoration:none;border-radius:11px;padding:10px 17px;cursor:pointer;font:inherit;font-size:.88rem;font-weight:700;line-height:1.6}
.eiva41 button:hover,.eiva41-link:hover{filter:brightness(1.08)}.eiva41 button.secondary,.eiva41-link{background:#eff5f1;color:var(--e41)}
.eiva41 button.danger,.eiva41-revoke button{background:#fff5f2;color:#993f36;border-color:#e8bdb3}
.eiva41-revoke{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:15px}
.eiva41-project-grid,.eiva41-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.eiva41-project,.eiva41-review{border:1px solid var(--e41-border);border-radius:16px;padding:16px;min-width:0;background:#fcfefd}
.eiva41-project-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center}
.eiva41-project h3,.eiva41-review h3{font-size:1.06rem;color:var(--e41);margin:2px 0 11px}
.eiva41-project p,.eiva41-review p{font-size:.89rem;line-height:1.95;overflow-wrap:anywhere}
.eiva41-image-form{padding-top:13px;border-top:1px solid var(--e41-border);margin-top:15px}.eiva41-image-form button{margin-top:10px}
.eiva41-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin-top:12px}
.eiva41-gallery figure{padding:6px;border:1px solid #e1e8e4;border-radius:12px;margin:0;min-width:0;background:#fff}
.eiva41-gallery img{display:block;width:100%;height:112px;object-fit:cover;border-radius:9px}.eiva41-gallery figcaption{font-size:.78rem;color:#59685e;padding-top:7px;overflow-wrap:anywhere}
.eiva41-gallery .eiva41-small{margin-top:5px;font-size:.72rem;padding:5px 9px;background:#fff5f2;color:#993f36;border-color:#f0d5cf}
.eiva41-hint,.eiva41-empty,.eiva41-disclaimer{font-size:.88rem;color:#617167;line-height:2}.eiva41-error{color:#b3261e;font-size:.77rem}
.eiva41-history{display:grid;gap:8px}.eiva41-history>div{display:flex;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--e41-border);padding:9px 0;font-size:.85rem}.eiva41-history span{color:#6a796f}
.eiva41-public{max-width:1180px}.eiva41-public .eiva41-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eiva41-profile-public p{line-height:2.1}
@media(max-width:740px){.eiva41{padding:10px 8px 24px}.eiva41-hero{padding:17px 16px;border-radius:17px}.eiva41-panel{padding:14px;border-radius:16px}.eiva41-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.eiva41-stats>div:last-child{grid-column:1/-1}.eiva41-fields,.eiva41-project-grid,.eiva41-review-grid,.eiva41-public .eiva41-project-grid{grid-template-columns:1fr}.eiva41-actions{align-items:stretch}.eiva41-actions button,.eiva41-actions a{flex:1}.eiva41-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.eiva41-stats{grid-template-columns:1fr}.eiva41-stats>div:last-child{grid-column:auto}.eiva41-hero-actions{width:100%}.eiva41-hero-actions a{flex:1;text-align:center}.eiva41-actions button{flex:1 1 100%}.eiva41-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
