:root{--lgp-navy:#0f172a;--lgp-blue:#1e40af;--lgp-green:#10b981;--lgp-bg:#f8fafc;--lgp-text:#0f172a;--lgp-muted:#64748b;--lgp-line:#dbeafe}
.lgp-wrap{max-width:1180px;margin:30px auto;padding:0 18px;font-family:Arial,Helvetica,sans-serif;color:var(--lgp-text)}
.lgp-hero,.lgp-profile-hero{background:linear-gradient(135deg,#123b5d 0%,#1e40af 100%);color:#fff;border-radius:28px;padding:34px;display:flex;justify-content:space-between;gap:20px;align-items:center;box-shadow:0 18px 45px rgba(15,23,42,.16);background-size:cover;background-position:center}
.lgp-hero h1,.lgp-profile-hero h1{color:#fff;margin:8px 0;font-size:36px;line-height:1.1}.lgp-profile-hero h2,.lgp-hero p,.lgp-profile-hero p{color:#e0f2fe}
.lgp-badge{display:inline-block;background:#d1fae5;color:#047857;border-radius:999px;padding:7px 14px;font-weight:700;font-size:13px}.lgp-badge.light{background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.3)}
.lgp-card{background:#fff;border:1px solid var(--lgp-line);border-radius:24px;box-shadow:0 12px 30px rgba(15,23,42,.06);padding:24px;margin:22px 0}
.lgp-card h2,.lgp-card h1{margin-top:0;color:var(--lgp-navy)}.lgp-grid{display:grid;gap:16px}.lgp-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.wide{grid-column:1/-1}
.lgp-form label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#1e293b}.lgp-form input,.lgp-form select,.lgp-form textarea,.lgp-search{border:1px solid #cbd5e1;border-radius:12px;padding:12px;background:#fff;color:#0f172a;width:100%;box-sizing:border-box}
.lgp-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.lgp-row{display:grid;grid-template-columns:32px repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end;border:1px dashed #cbd5e1;border-radius:16px;padding:14px;margin:12px 0;background:#fbfdff}.lgp-project-row{grid-template-columns:32px repeat(2,minmax(0,1fr)) auto}.lgp-drag{cursor:grab;color:#64748b}.lgp-remove{background:#fee2e2!important;color:#991b1b!important;border:0;border-radius:10px;padding:10px 12px}
.lgp-btn,button.lgp-btn,input[type=submit].lgp-btn{display:inline-block;background:#1e40af!important;color:#fff!important;border:0;border-radius:14px;padding:12px 18px;text-decoration:none;font-weight:800;cursor:pointer}.lgp-btn:hover{background:#1d4ed8!important;color:#fff!important}.lgp-btn.green{background:#10b981!important}.lgp-btn.ghost{background:#fff!important;color:#123b5d!important;border:1px solid #dbeafe}.lgp-btn.white{background:#fff!important;color:#123b5d!important}.lgp-btn.small{padding:8px 12px;border-radius:10px;font-size:13px}.lgp-actions{display:flex;gap:10px;flex-wrap:wrap}.lgp-alert{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;border-radius:14px;padding:12px 16px;margin-bottom:16px}
.lgp-savebar{position:sticky;bottom:18px;text-align:right;padding:14px;background:rgba(248,250,252,.82);backdrop-filter:blur(8px);border-radius:18px}
.lgp-tags{display:flex;gap:8px;flex-wrap:wrap}.lgp-tags span{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:700}.lgp-tags.small span{font-size:12px;padding:5px 9px}
.lgp-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.lgp-stats div{background:#fff;border:1px solid var(--lgp-line);border-radius:20px;padding:18px;text-align:center;box-shadow:0 8px 22px rgba(15,23,42,.05)}.lgp-stats strong{display:block;font-size:28px;color:#1e40af}.lgp-stats span{color:var(--lgp-muted)}
.lgp-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.lgp-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.lgp-project-card{background:#fff;border:1px solid var(--lgp-line);border-radius:22px;padding:18px;box-shadow:0 10px 25px rgba(15,23,42,.05)}.lgp-project-card img{width:100%;height:160px;object-fit:cover;border-radius:16px}.muted{color:var(--lgp-muted)}
.lgp-mini-map,.lgp-map,.lgp-gis-viewer{height:260px;border-radius:18px;border:1px solid #dbeafe;overflow:hidden;background:#e5e7eb;margin:14px 0}.lgp-gis-viewer{height:560px}
.lgp-timeline-item{border-left:3px solid #10b981;padding-left:14px;margin:14px 0}
.lgp-cv{background:#fff;padding:28px;border:1px solid #e5e7eb;border-radius:16px}.lgp-cv h1{margin:0;color:#0f172a}.lgp-cv h2{color:#1e40af}.lgp-cv h3{border-bottom:1px solid #d1d5db;padding-bottom:5px}
@media(max-width:900px){.lgp-hero,.lgp-profile-hero{display:block}.lgp-grid.two,.lgp-profile-grid,.lgp-project-grid,.lgp-stats{grid-template-columns:1fr}.lgp-row,.lgp-project-row{grid-template-columns:1fr}.lgp-actions{margin-top:16px}}

.lgp-profile-location-map,.lgp-work-map{height:340px;border-radius:18px;border:1px solid #dbeafe;overflow:hidden;background:#e5e7eb}.lgp-map-note{padding:20px;color:#64748b;font-weight:700}.lgp-profile-hero h1,.lgp-profile-hero h2,.lgp-profile-hero p{color:#fff!important}

.lgp-clean-topbar *{box-sizing:border-box}
.lgp-full-cv-section h3{margin-top:18px;color:#123b5d}
.lgp-cv-public-grid{display:grid;grid-template-columns:1.3fr .9fr;gap:24px}
.lgp-cv-public-item{border-left:3px solid #10b981;padding-left:12px;margin:12px 0}
.lgp-cv-public-item span{display:block;color:#64748b;margin:4px 0}
@media(max-width:900px){.lgp-cv-public-grid{grid-template-columns:1fr}}


/* Localia v5 dashboard repeater polish */
.lgp-dashboard .lgp-card{overflow:visible!important}
.lgp-dashboard .lgp-row{display:grid!important;grid-template-columns:34px repeat(3,minmax(0,1fr))!important;gap:18px 20px!important;align-items:start!important;padding:24px!important;border-radius:22px!important;background:#fbfdff!important;border:1px dashed #c7d7ee!important;position:relative!important}
.lgp-dashboard .lgp-row label{display:flex!important;flex-direction:column!important;gap:9px!important;margin:0!important;color:#0f172a!important;font-size:15.5px!important;font-weight:800!important;line-height:1.35!important;min-width:0!important;white-space:normal!important}
.lgp-dashboard .lgp-row input,.lgp-dashboard .lgp-row select,.lgp-dashboard .lgp-row textarea{width:100%!important;min-height:52px!important;padding:13px 15px!important;border:1px solid #cbd5e1!important;border-radius:14px!important;background:#fff!important;color:#0f172a!important;font-size:15px!important;font-weight:600!important;line-height:1.4!important;box-sizing:border-box!important}
.lgp-dashboard .lgp-row textarea{min-height:120px!important;resize:vertical!important}
.lgp-dashboard .lgp-drag{grid-column:1!important;grid-row:1 / -1!important;align-self:center!important;justify-self:center!important;padding:0!important;color:#1e40af!important;font-size:20px!important}
.lgp-dashboard .lgp-remove{min-width:150px!important;min-height:52px!important;border:0!important;border-radius:14px!important;background:#fee2e2!important;color:#991b1b!important;font-size:14px!important;font-weight:900!important}
.lgp-dashboard .lgp-row .wide{grid-column:2 / -1!important}
.lgp-dashboard section[data-type="experience"] .lgp-row{grid-template-columns:34px repeat(6,minmax(0,1fr))!important;grid-template-areas:"drag title title company company type type" "drag location location period period period period" "drag achievements achievements achievements achievements achievements achievements" "drag remove remove remove remove remove remove"!important}
.lgp-dashboard section[data-type="experience"] .lgp-row > label:nth-of-type(1){grid-area:title!important}
.lgp-dashboard section[data-type="experience"] .lgp-row > label:nth-of-type(2){grid-area:company!important}
.lgp-dashboard section[data-type="experience"] .lgp-row > label:nth-of-type(3){grid-area:type!important}
.lgp-dashboard section[data-type="experience"] .lgp-row > label:nth-of-type(4){grid-area:location!important}
.lgp-dashboard section[data-type="experience"] .lgp-row > label:nth-of-type(5){grid-area:period!important}
.lgp-dashboard section[data-type="experience"] .lgp-row > label.wide{grid-area:achievements!important;grid-column:auto!important}
.lgp-dashboard section[data-type="experience"] .lgp-row .lgp-drag{grid-area:drag!important}
.lgp-dashboard section[data-type="experience"] .lgp-row .lgp-remove{grid-area:remove!important;justify-self:end!important;align-self:center!important}
.lgp-dashboard section[data-type="education"] .lgp-row{grid-template-columns:34px repeat(4,minmax(0,1fr))!important}
.lgp-dashboard section[data-type="education"] .lgp-row > label:nth-of-type(5){grid-column:2 / span 2!important}
.lgp-dashboard section[data-type="education"] .lgp-row .lgp-remove{grid-column:4 / -1!important;justify-self:end!important}
@media(max-width:1100px){.lgp-dashboard section[data-type="experience"] .lgp-row{grid-template-columns:34px repeat(2,minmax(0,1fr))!important;grid-template-areas:"drag title company" "drag type location" "drag period period" "drag achievements achievements" "drag remove remove"!important}.lgp-dashboard .lgp-row{grid-template-columns:34px repeat(2,minmax(0,1fr))!important}.lgp-dashboard .lgp-remove{grid-column:2 / -1!important;justify-self:start!important}}
@media(max-width:700px){.lgp-dashboard section[data-type="experience"] .lgp-row{grid-template-columns:1fr!important;grid-template-areas:"drag" "title" "company" "type" "location" "period" "achievements" "remove"!important}.lgp-dashboard .lgp-row{grid-template-columns:1fr!important}.lgp-dashboard .lgp-drag,.lgp-dashboard .lgp-row .wide,.lgp-dashboard .lgp-remove{grid-column:1 / -1!important}.lgp-dashboard .lgp-drag{justify-self:start!important}}
