/*
 * Fix Pallini — isolated public problem detail page
 * Dedicated namespace: lpm-pr5-*
 * This stylesheet intentionally does not target any other Fix Pallini page.
 */

body.lpm-pr5-page{
  --pr5-bg:#07111f;
  --pr5-panel:#101d31;
  --pr5-panel-2:#14253d;
  --pr5-panel-3:#0b1728;
  --pr5-line:rgba(148,163,184,.23);
  --pr5-line-soft:rgba(255,255,255,.09);
  --pr5-text:#f8fafc;
  --pr5-muted:#a9b8cc;
  --pr5-blue:#3b82f6;
  --pr5-green:#22c55e;
  --pr5-amber:#f59e0b;
  --pr5-red:#ef4444;
  margin:0!important;
  min-height:100vh;
  background:
    radial-gradient(circle at 8% 0%,rgba(59,130,246,.18),transparent 30%),
    radial-gradient(circle at 92% 10%,rgba(14,165,233,.10),transparent 28%),
    linear-gradient(180deg,#07111f 0%,#0a1422 48%,#06101d 100%)!important;
  color:var(--pr5-text)!important;
  font-family:Inter,Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body.lpm-pr5-page *{box-sizing:border-box}
body.lpm-pr5-page a{color:inherit}

.lpm-pr5-shell{width:min(1240px,calc(100% - 28px));margin:0 auto;padding:18px 0 42px}

.lpm-pr5-topbar{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  margin:0 0 18px;padding:13px 14px;border:1px solid var(--pr5-line);
  border-radius:22px;background:rgba(11,23,40,.94);box-shadow:0 18px 44px rgba(0,0,0,.24)
}
.lpm-pr5-brand{display:flex;align-items:center;gap:11px;min-width:0}
.lpm-pr5-logo{width:48px;height:48px;display:grid;place-items:center;overflow:hidden;border-radius:15px;background:#13243a;color:#fff;font-weight:900;border:1px solid var(--pr5-line-soft)}
.lpm-pr5-logo img{width:100%;height:100%;object-fit:contain;padding:5px;filter:none!important;opacity:1!important}
.lpm-pr5-brand strong{display:block;color:#fff;font-size:17px;line-height:1.15}
.lpm-pr5-brand span{display:block;margin-top:3px;color:var(--pr5-muted);font-size:12px;font-weight:700}
.lpm-pr5-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.lpm-pr5-pill{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--pr5-line);background:#13243a;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:800;line-height:1}
.lpm-pr5-pill:hover{background:#1a2d48}
.lpm-pr5-pill.primary{border-color:transparent;background:linear-gradient(135deg,#38bdf8,#2563eb)}

.lpm-pr5-hero{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:16px}
.lpm-pr5-hero-card,.lpm-pr5-status-card,.lpm-pr5-card,.lpm-pr5-info-card{border:1px solid var(--pr5-line);background:linear-gradient(180deg,var(--pr5-panel-2),var(--pr5-panel));box-shadow:0 18px 46px rgba(0,0,0,.24)}
.lpm-pr5-hero-card,.lpm-pr5-status-card{border-radius:24px}
.lpm-pr5-hero-card{min-height:286px;padding:26px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.lpm-pr5-kicker{color:#7dd3fc;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.lpm-pr5-title-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:20px;align-items:center;margin-top:18px}
.lpm-pr5-category-image{width:112px;height:112px;display:grid;place-items:center;overflow:hidden;border-radius:26px;background:#f8fafc;border:1px solid rgba(255,255,255,.18);box-shadow:0 14px 34px rgba(0,0,0,.24)}
.lpm-pr5-category-image img{width:100%;height:100%;display:block;object-fit:contain;padding:7px;filter:none!important;opacity:1!important}
.lpm-pr5-category-fallback{color:#0f172a;font-size:24px;font-weight:900}
.lpm-pr5-title{margin:0!important;color:#fff!important;font-size:clamp(35px,4.8vw,64px)!important;line-height:1!important;letter-spacing:-.05em!important;font-weight:750!important}
.lpm-pr5-address{margin-top:18px;color:#eef6ff;font-size:18px;font-weight:800}
.lpm-pr5-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.lpm-pr5-badge{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid var(--pr5-line-soft);color:#f8fafc;font-size:12px;font-weight:850}
.lpm-pr5-badge.blue{background:rgba(59,130,246,.15)}
.lpm-pr5-badge.green{background:rgba(34,197,94,.14)}

.lpm-pr5-status-card{padding:22px;display:flex;flex-direction:column;justify-content:space-between}
.lpm-pr5-status-label{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;color:#fff;font-size:13px;font-weight:900;background:#475569}
.lpm-pr5-status-label.open,.lpm-pr5-status-label.is-open{background:linear-gradient(135deg,#38bdf8,#2563eb)}
.lpm-pr5-status-label.progress,.lpm-pr5-status-label.is-progress{background:linear-gradient(135deg,#8b5cf6,#2563eb)}
.lpm-pr5-status-label.resolved,.lpm-pr5-status-label.is-resolved{background:linear-gradient(135deg,#22c55e,#15803d)}
.lpm-pr5-status-label.pending,.lpm-pr5-status-label.info,.lpm-pr5-status-label.is-pending,.lpm-pr5-status-label.is-info{background:linear-gradient(135deg,#f59e0b,#d97706)}
.lpm-pr5-status-label.rejected,.lpm-pr5-status-label.is-rejected{background:linear-gradient(135deg,#ef4444,#b91c1c)}
.lpm-pr5-status-card h2{margin:16px 0 8px!important;color:#fff!important;font-size:28px!important;line-height:1.15!important}
.lpm-pr5-status-card p{margin:0!important;color:#d2deee!important;font-size:15px!important;line-height:1.55!important;font-weight:700!important}
.lpm-pr5-timer{margin-top:20px;padding:15px;border-radius:18px;background:rgba(255,255,255,.055);border:1px solid var(--pr5-line-soft)}
.lpm-pr5-timer small{display:block;color:#93a5bd;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.lpm-pr5-timer strong{display:block;margin-top:7px;color:#fff;font-size:24px;line-height:1.1}

.lpm-pr5-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:16px;margin-top:16px}
.lpm-pr5-card{border-radius:22px;padding:18px;color:var(--pr5-text)!important}
.lpm-pr5-card-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}
.lpm-pr5-card-title{display:flex;align-items:center;gap:12px;min-width:0}
.lpm-pr5-section-image{width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;overflow:hidden;border-radius:15px;background:#f8fafc;border:1px solid rgba(255,255,255,.15)}
.lpm-pr5-section-image img{width:100%;height:100%;object-fit:contain;padding:4px;filter:none!important;opacity:1!important}
.lpm-pr5-card h2{margin:0!important;color:#fff!important;font-size:24px!important;line-height:1.2!important;font-weight:750!important}
.lpm-pr5-card h3{margin:18px 0 8px!important;color:#fff!important;font-size:18px!important}
.lpm-pr5-card-head p{margin:5px 0 0!important;color:#9fb0c8!important;font-size:13px!important;line-height:1.4!important;font-weight:700!important}

.lpm-pr5-map{position:relative;min-height:420px;border-radius:19px;overflow:hidden;border:1px solid var(--pr5-line-soft);background:#dce5ef}
.lpm-pr5-map #lpm-case-map,#lpm-case-map{width:100%;height:420px;min-height:420px}
.lpm-pr5-map-label{position:absolute;left:16px;right:16px;bottom:16px;z-index:401;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-radius:16px;background:rgba(8,18,32,.86);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1)}
.lpm-pr5-map-label strong{display:block;color:#fff;font-size:16px}
.lpm-pr5-map-label span{display:block;margin-top:3px;color:#b7c5d8;font-size:12px;font-weight:700}
.lpm-pr5-map-empty{min-height:320px;display:grid;place-items:center;padding:24px;color:#d7e3f2;text-align:center;font-weight:800;background:var(--pr5-panel-3)}

.lpm-pr5-facts{display:grid;gap:9px}
.lpm-pr5-fact{padding:12px 13px!important;min-height:0!important;border-radius:14px!important;background:#0d192b!important;border:1px solid rgba(148,163,184,.17)!important}
.lpm-pr5-fact small{display:block!important;margin:0 0 4px!important;color:#8ea2bc!important;font-size:11px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important}
.lpm-pr5-fact strong{display:block!important;margin:0!important;color:#f8fafc!important;font-size:15px!important;font-weight:800!important;line-height:1.35!important}
.lpm-pr5-description,.lpm-pr5-description p{color:#dbe6f4!important;font-size:16px!important;line-height:1.65!important}
.lpm-pr5-description p{margin:0!important}
.lpm-pr5-photo{display:block;width:100%;height:auto;border-radius:18px;border:1px solid var(--pr5-line-soft)}
.lpm-pr5-empty-photo{min-height:210px;display:grid;place-items:center;padding:24px;border-radius:18px;background:#0d192b;border:1px dashed rgba(148,163,184,.28);color:#aebed2;text-align:center;font-weight:850}
.lpm-pr5-wide{margin-top:16px}

.lpm-pr5-timeline{display:grid;gap:9px}
.lpm-pr5-step{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 13px;border-radius:15px;background:#0d192b;border:1px solid rgba(148,163,184,.17)}
.lpm-pr5-step-dot{width:38px;height:38px;display:grid;place-items:center;border-radius:999px;background:#1e293b;border:1px solid rgba(255,255,255,.08);color:#cbd5e1;font-weight:900}
.lpm-pr5-step.done .lpm-pr5-step-dot{background:rgba(34,197,94,.16);color:#86efac;border-color:rgba(34,197,94,.23)}
.lpm-pr5-step h3{margin:0!important;color:#fff!important;font-size:15px!important}
.lpm-pr5-step p{margin:3px 0 0!important;color:#9fb0c8!important;font-size:13px!important;line-height:1.35!important}
.lpm-pr5-step-time{color:#8fa1ba;font-size:12px;font-weight:800;white-space:nowrap}

.lpm-pr5-info-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}
.lpm-pr5-info-card{border-radius:20px;padding:17px}
.lpm-pr5-info-card strong{display:block;color:#fff;font-size:15px}
.lpm-pr5-info-card p{margin:7px 0 0!important;color:#a9b8cc!important;font-size:13px!important;line-height:1.55!important;font-weight:700!important}
.lpm-pr5-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.lpm-pr5-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 17px;border-radius:15px;background:linear-gradient(135deg,#38bdf8,#2563eb);color:#fff!important;text-decoration:none!important;font-weight:900}
.lpm-pr5-button.ghost{background:#13243a;border:1px solid var(--pr5-line)}
.lpm-pr5-button.green{background:linear-gradient(135deg,#22c55e,#15803d)}
.lpm-pr5-privacy{margin-top:16px;padding:15px 17px;border-radius:19px;background:#10243a;border:1px solid rgba(56,189,248,.18);color:#cfe0f2;font-size:13px;line-height:1.55;font-weight:700}

.lpm-pr5-token-panel{border-color:rgba(56,189,248,.28)}
.lpm-pr5-token-alert,.lpm-pr5-token-admin-message,.lpm-pr5-token-access-note{margin:0 0 14px;padding:14px 15px;border-radius:16px;color:#eef8ff;font-weight:800;line-height:1.5}
.lpm-pr5-token-alert{background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.24)}
.lpm-pr5-token-admin-message{background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.24)}
.lpm-pr5-token-access-note{background:rgba(59,130,246,.12);border:1px solid rgba(59,130,246,.24)}
.lpm-pr5-token-note,.lpm-pr5-token-meta{color:#a9b8cc!important;font-size:13px!important;font-weight:700!important}
.lpm-pr5-token-form{display:grid;gap:13px}
.lpm-pr5-token-form label{display:grid;gap:7px;color:#eef6ff;font-weight:850}
.lpm-pr5-token-form textarea,.lpm-pr5-token-form input[type=file]{width:100%;padding:13px;border-radius:15px;border:1px solid var(--pr5-line);background:#081321;color:#fff;font:inherit}
.lpm-pr5-token-form textarea{min-height:140px;resize:vertical}
.lpm-pr5-token-submit{border:0;border-radius:16px;padding:14px 17px;background:linear-gradient(135deg,#22c55e,#15803d);color:#fff;font-weight:900;font-size:15px;cursor:pointer}
.lpm-pr5-resolution-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lpm-pr5-resolution-choice{position:relative;display:block;border-radius:17px;overflow:hidden;border:1px solid var(--pr5-line);background:#0d192b;cursor:pointer}
.lpm-pr5-resolution-choice input{position:absolute;opacity:0;pointer-events:none}
.lpm-pr5-resolution-choice span{display:flex;align-items:center;justify-content:center;min-height:54px;padding:14px;color:#fff;font-weight:900;text-align:center}
.lpm-pr5-resolution-choice input:checked+span{outline:3px solid rgba(56,189,248,.5);outline-offset:-3px;background:rgba(59,130,246,.18)}

@media(max-width:960px){
  .lpm-pr5-hero,.lpm-pr5-grid,.lpm-pr5-info-strip{grid-template-columns:1fr}
  .lpm-pr5-status-card{min-height:210px}
}
@media(max-width:760px){
  .lpm-pr5-shell{width:min(100% - 18px,1240px);padding-top:10px}
  .lpm-pr5-topbar{align-items:flex-start;flex-direction:column;border-radius:18px}
  .lpm-pr5-nav{width:100%;justify-content:flex-start}
  .lpm-pr5-pill{flex:1 1 calc(50% - 8px)}
  .lpm-pr5-hero-card,.lpm-pr5-status-card,.lpm-pr5-card{border-radius:18px}
  .lpm-pr5-hero-card{padding:20px;min-height:0}
  .lpm-pr5-title-row{grid-template-columns:84px minmax(0,1fr);gap:14px}
  .lpm-pr5-category-image{width:84px;height:84px;border-radius:20px}
  .lpm-pr5-title{font-size:38px!important}
  .lpm-pr5-map,#lpm-case-map{height:330px!important;min-height:330px!important}
  .lpm-pr5-step{grid-template-columns:36px minmax(0,1fr)}
  .lpm-pr5-step-time{grid-column:2;white-space:normal}
  .lpm-pr5-actions{display:grid;grid-template-columns:1fr}
  .lpm-pr5-button{width:100%}
  .lpm-pr5-resolution-actions{grid-template-columns:1fr}
}
@media(max-width:480px){
  .lpm-pr5-brand span{font-size:11px}
  .lpm-pr5-nav{display:grid;grid-template-columns:1fr 1fr}
  .lpm-pr5-pill{width:100%;padding:0 10px;font-size:12px}
  .lpm-pr5-title-row{grid-template-columns:1fr}
  .lpm-pr5-title{font-size:34px!important}
  .lpm-pr5-category-image{width:78px;height:78px}
  .lpm-pr5-map-label{left:10px;right:10px;bottom:10px;align-items:flex-start;flex-direction:column}
}

.lpm-pr5-token-resolution{border-color:rgba(34,197,94,.24)}
