.mrt-problem-page{display:grid;gap:24px;min-width:0}
.mrt-problem-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:26px 28px;border:1px solid #d6e5df;border-radius:24px;background:linear-gradient(135deg,#edf7f3,#fff8e9)}
.mrt-problem-heading h1{margin:5px 0 8px;font-size:clamp(30px,4vw,48px);line-height:1.05}.mrt-problem-heading p{margin:0;color:#587068}
.mrt-map-legend{display:flex;gap:14px;flex-wrap:wrap;color:#365d51;font-size:13px}.mrt-map-legend span{display:inline-flex;align-items:center;gap:7px}.mrt-map-legend i{width:10px;height:10px;border-radius:50%;background:#e9ad16}.mrt-map-legend i.is-verified{background:#16885f}
.mrt-problem-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.72fr);gap:20px;align-items:start;min-width:0}
.mrt-problem-map-wrap,.mrt-problem-form-card{min-width:0;border:1px solid #d6e5df;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(12,67,53,.07)}
.mrt-problem-map-wrap{overflow:hidden}.mrt-problem-map{width:100%;height:620px;background:#e9f0ec}.mrt-problem-form-card{position:sticky;top:96px;padding:24px}.mrt-problem-form-card h2{margin:0 0 8px;font-size:27px}.mrt-problem-form-card>p{margin:0 0 20px;color:#587068}
.mrt-problem-map-stage{position:relative;min-width:0}.mrt-problem-mobile-toolbar,.mrt-problem-sheet-heading,.mrt-problem-filter-toggle,.mrt-problem-add-mobile,.mrt-problem-form-close,.mrt-problem-sheet-backdrop{display:none}
.mrt-problem-map-card{position:absolute;z-index:8;right:18px;bottom:18px;width:min(360px,calc(100% - 36px));box-sizing:border-box;padding:19px;border:1px solid #c9ddd5;border-left:5px solid #e9ad16;border-radius:18px;background:rgba(255,255,255,.97);box-shadow:0 18px 46px rgba(10,58,46,.2);opacity:0;transform:translateY(10px);transition:opacity .18s ease,transform .18s ease}.mrt-problem-map-card.is-visible{opacity:1;transform:none}.mrt-problem-map-card.is-verified{border-left-color:#16885f}.mrt-problem-map-card[hidden]{display:none}.mrt-problem-map-card-close{position:absolute;top:10px;right:10px;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#eef5f2;color:#075c46;font:700 24px/1 inherit;cursor:pointer}.mrt-problem-map-card-status{display:inline-flex;margin:0 36px 8px 0;padding:5px 9px;border-radius:999px;background:#fff5d7;color:#77530d;font-size:12px;font-weight:800}.mrt-problem-map-card.is-verified .mrt-problem-map-card-status{background:#e7f5ef;color:#075c46}.mrt-problem-map-card h3{margin:0 34px 8px 0;font-size:21px;line-height:1.15}.mrt-problem-map-card>p{margin:0 0 12px;color:#587068;font-size:14px;line-height:1.45}.mrt-problem-map-card dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}.mrt-problem-map-card dl div{min-width:0;padding:9px;border-radius:11px;background:#f4f8f6}.mrt-problem-map-card dt{color:#6a817a;font-size:11px}.mrt-problem-map-card dd{margin:2px 0 0;color:#16362d;font-size:13px;font-weight:800}.mrt-problem-map-card .mrt-problem-map-card-address{font-size:12px}.mrt-problem-map-card-link{display:flex!important;justify-content:center;width:100%;box-sizing:border-box}
.mrt-problem-map-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;border-bottom:1px solid #d6e5df;background:#fff}
.mrt-problem-filter-group{display:flex;min-width:0;gap:7px;flex:1;overflow-x:auto;scrollbar-width:none}.mrt-problem-filter-group::-webkit-scrollbar{display:none}
.mrt-problem-filter-group button,.mrt-problem-near-button{appearance:none;flex:0 0 auto;min-height:42px;padding:9px 13px;border:1px solid #c9ddd5;border-radius:12px;background:#f7faf8;color:#075c46;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.mrt-problem-filter-group button.is-active{border-color:#075c46;background:#075c46;color:#fff}.mrt-problem-near-button{background:#fff8e8}.mrt-problem-filter-status{padding:8px 11px;border-radius:999px;background:#eaf4f0;color:#42645a;font-size:12px;font-weight:800;white-space:nowrap}
.mrt-map-help{margin:0;padding:12px 16px;background:#f4f8f6;color:#587068;font-size:13px}.mrt-map-summary{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:14px 17px;border-top:1px solid #d6e5df}.mrt-map-summary strong{color:#075c46;font-size:21px}.mrt-map-summary span{margin-right:14px;color:#587068;font-size:12px}
.mrt-problem-form-card .mrt-account-form{display:grid;gap:15px}.mrt-problem-form-card label{display:grid;gap:7px;color:#365d51;font-size:13px;font-weight:800}.mrt-problem-form-card input,.mrt-problem-form-card select,.mrt-problem-form-card textarea{box-sizing:border-box;width:100%;min-height:48px;padding:11px 13px;border:1px solid #cbded7;border-radius:13px;background:#fff;color:#10251f;font:inherit}.mrt-problem-form-card textarea{min-height:130px;resize:vertical}.mrt-problem-form-card input[type=file]{padding:9px;background:#f7faf8}
.mrt-coordinate-status{display:flex;align-items:center;gap:8px;padding:12px 14px;border:1px dashed #d4b66c;border-radius:12px;background:#fff9e9;color:#755317;font-size:13px;font-weight:750}.mrt-coordinate-status:before{content:'⌖';font-size:18px}.mrt-coordinate-status.is-selected{border-style:solid;border-color:#9fd2bd;background:#eaf7f1;color:#086049}.mrt-coordinate-status.is-selected:before{content:'✓'}.mrt-coordinate-status.is-error{border-color:#e3aaa3;background:#fff1ef;color:#9a342c}
.mrt-problem-list{display:grid;gap:15px}.mrt-problem-list>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mrt-problem-list a{display:grid;align-content:start;gap:9px;min-width:0;padding:18px;border:1px solid #d6e5df;border-radius:17px;background:#fff;color:inherit;text-decoration:none}.mrt-problem-list h3,.mrt-problem-list p{margin:0}.mrt-problem-list p{color:#587068;font-size:13px}.mrt-problem-list [hidden]{display:none!important}
.mrt-map-load-error{display:grid;place-items:center;height:100%;padding:30px;color:#7b3d35;text-align:center}
@media(max-width:960px){.mrt-problem-layout{grid-template-columns:1fr}.mrt-problem-form-card{position:static}.mrt-problem-list>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .mrt-problem-heading{align-items:flex-start;flex-direction:column;padding:21px 18px}.mrt-map-legend{font-size:12px}
  .mrt-problem-map-tools{display:block;padding:9px 10px}.mrt-problem-mobile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.mrt-problem-mobile-toolbar span{color:#42645a;font-size:13px}.mrt-problem-mobile-toolbar strong{color:#075c46;font-size:17px}.mrt-problem-filter-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 15px;border:1px solid #bcd7cc;border-radius:12px;background:#fff;color:#075c46;font:800 14px/1 inherit}
  .mrt-problem-filter-group{position:fixed;z-index:100003;left:0;right:0;bottom:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;width:auto;max-height:min(72vh,560px);box-sizing:border-box;padding:18px 18px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -18px 60px rgba(4,44,34,.25);overflow:auto;transform:translateY(110%);visibility:hidden;transition:transform .22s ease,visibility .22s}.mrt-problem-filter-group.is-open{transform:none;visibility:visible}.mrt-problem-sheet-heading{position:relative;display:block;grid-column:1/-1;min-width:0;min-height:42px;margin-bottom:3px;padding:7px 52px 7px 2px;box-sizing:border-box;font-size:19px;line-height:1.3}.mrt-problem-sheet-heading strong{display:block;min-width:0;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:break-word}.mrt-problem-sheet-heading button{position:absolute;top:50%;right:0;display:grid;place-items:center;flex:none;width:38px!important;min-width:38px!important;height:38px;min-height:38px!important;padding:0!important;border:0;border-radius:50%;background:#edf5f2;color:#075c46;font:700 25px/1 inherit;transform:translateY(-50%)}.mrt-problem-filter-group>button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:50px;padding:10px;line-height:1.2;text-align:center;white-space:normal}.mrt-problem-near-button,.mrt-problem-filter-status{display:none}
  .mrt-problem-map{height:470px}.mrt-map-help{display:none}.mrt-map-summary{justify-content:center}
  .mrt-problem-map-card{position:absolute;right:10px;bottom:74px;width:calc(100% - 20px);max-height:55%;padding:16px;overflow:auto;border-radius:16px}.mrt-problem-map-card h3{font-size:19px}.mrt-problem-map-card dl{grid-template-columns:1fr 1fr}.mrt-problem-map-card-link{min-height:44px}
  .mrt-problem-add-mobile{position:absolute;z-index:7;left:50%;bottom:14px;display:inline-flex;align-items:center;justify-content:center;width:calc(100% - 28px);min-height:48px;padding:10px 18px;border:0;border-radius:14px;background:#ffb648;color:#17251f;box-shadow:0 10px 26px rgba(92,59,9,.22);font:850 15px/1.2 inherit;transform:translateX(-50%)}
  .mrt-problem-form-card{position:fixed;z-index:100004;left:0;right:0;bottom:0;top:auto;display:block;max-height:88vh;padding:20px 17px calc(24px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;overflow:auto;visibility:hidden;transform:translateY(110%);transition:transform .23s ease,visibility .23s}.mrt-problem-form-card.is-open{visibility:visible;transform:none}.mrt-problem-form-close{position:sticky;z-index:2;top:0;float:right;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#edf5f2;color:#075c46;font:700 25px/1 inherit}.mrt-problem-sheet-backdrop{position:fixed;z-index:100002;inset:0;display:block;width:100%;height:100%;border:0;background:rgba(7,35,28,.48)}.mrt-problem-sheet-backdrop[hidden]{display:none}.mrt-problem-sheet-active{overflow:hidden}
  .mrt-problem-list>div{grid-template-columns:1fr}
}
@media(max-width:390px){.mrt-problem-filter-group{grid-template-columns:1fr}.mrt-problem-map-card dl{grid-template-columns:1fr}.mrt-problem-map{height:440px}}

/* Mobile filters are moved to body by problem-map.js. This prevents a narrow
   transformed map wrapper from collapsing headings into one letter per line. */
@media(max-width:640px){
  body>.mrt-problem-filter-group{box-sizing:border-box!important;position:fixed!important;z-index:100004!important;inset:auto 0 0 0!important;width:100%!important;max-width:none!important;min-width:0!important;max-height:min(78dvh,680px)!important;padding:22px 18px calc(22px + env(safe-area-inset-bottom))!important;overflow:auto!important;grid-template-columns:1fr!important;writing-mode:horizontal-tb!important;word-break:normal!important;overflow-wrap:break-word!important;border-radius:24px 24px 0 0!important}
  body>.mrt-problem-filter-group>*{box-sizing:border-box;min-width:0!important;width:100%!important;writing-mode:horizontal-tb!important;word-break:normal!important}
  body>.mrt-problem-filter-group .mrt-problem-sheet-heading{display:block!important;font-size:22px!important;line-height:1.25!important;white-space:normal!important}
}
.mrt-problem-map-card-source,.mrt-problem-source-proof{padding:12px 14px;border-radius:13px;background:#edf7f3;color:#315f52;font-size:13px}.mrt-problem-source-proof{display:grid;gap:7px;margin:18px 0}.mrt-problem-source-proof span{color:#587269}.mrt-problem-source-proof ul{display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0;list-style:none}.mrt-problem-source-proof a{font-weight:800}
