
    #dwfe-phase-one-proposal { --doc-bg:light-dark(#f4f8fa,#0d1c29);--doc-surface:light-dark(#fff,#162c3c);--doc-ink:light-dark(#13252d,#e4eef3);--doc-muted:light-dark(#526b77,#afc3ce);--doc-line:light-dark(#dce7ed,#34505f);--doc-sky:light-dark(#eef8fc,#163c51);--doc-blue:light-dark(#0877a5,#57c0e9);--doc-green-bg:light-dark(#e6f4ed,#163c33);--doc-green:light-dark(#28634e,#a6dfc3); background:var(--doc-bg);color:var(--doc-ink);font:16px/1.6 "Segoe UI",Arial,sans-serif; }
    #dwfe-phase-one-proposal * { box-sizing:border-box; }
    #dwfe-phase-one-proposal h1,#dwfe-phase-one-proposal h2,#dwfe-phase-one-proposal h3,#dwfe-phase-one-proposal h4,#dwfe-phase-one-proposal p { margin:0; }
    #dwfe-phase-one-proposal .doc-top { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 28px;background:var(--doc-surface);border-bottom:1px solid var(--doc-line); }
    #dwfe-phase-one-proposal .doc-top img { width:150px;height:auto; }
    #dwfe-phase-one-proposal .doc-top span { font-size:12px;color:var(--doc-muted); }
    #dwfe-phase-one-proposal .doc-wrap { padding:30px 28px 36px;max-width:1100px;margin:auto; }
    #dwfe-phase-one-proposal .doc-eyebrow { font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--doc-blue);margin-bottom:10px; }
    #dwfe-phase-one-proposal h1 { font-size:clamp(27px,4.5vw,46px);line-height:1.12;letter-spacing:-.035em;margin-bottom:15px; }
    #dwfe-phase-one-proposal .doc-intro { color:var(--doc-muted);font-size:15px;max-width:720px; }
    #dwfe-phase-one-proposal .doc-tabs { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px 0 22px; }
    #dwfe-phase-one-proposal .doc-tab { font:inherit;text-align:left;color:var(--doc-ink);background:var(--doc-surface);border:1px solid var(--doc-line);border-radius:15px;padding:17px;min-width:0; }
    #dwfe-phase-one-proposal .doc-tab[aria-selected="true"] { border:2px solid var(--doc-blue);padding:16px;background:var(--doc-sky); }
    #dwfe-phase-one-proposal .doc-tab small { display:block;font-size:10px;letter-spacing:.08em;font-weight:700;color:var(--doc-muted); }
    #dwfe-phase-one-proposal .doc-tab strong { display:block;font-size:30px;line-height:1.2;margin-top:8px; }
    #dwfe-phase-one-proposal .doc-tab .doc-unit { display:block;font-size:12px;font-weight:600; }
    #dwfe-phase-one-proposal .doc-status { display:inline-block;border-radius:999px;font-size:11px;padding:4px 9px;background:var(--doc-green-bg);color:var(--doc-green);margin-top:12px; }
    #dwfe-phase-one-proposal .doc-tab:not(:first-child) .doc-status { color:var(--doc-muted);background:var(--doc-bg); }
    #dwfe-phase-one-proposal .doc-panel { background:var(--doc-surface);border:1px solid var(--doc-line);border-radius:19px;padding:28px; }
    #dwfe-phase-one-proposal [hidden] { display:none!important; }
    #dwfe-phase-one-proposal h2 { font-size:clamp(24px,3.6vw,35px);line-height:1.16;letter-spacing:-.025em;margin:15px 0; }
    #dwfe-phase-one-proposal h3 { font-size:23px;line-height:1.25;letter-spacing:-.02em;margin-bottom:12px; }
    #dwfe-phase-one-proposal .doc-lead { color:var(--doc-muted);font-size:15px;max-width:800px; }
    #dwfe-phase-one-proposal .doc-content { display:flex;flex-direction:column;gap:36px;margin-top:30px; }
    #dwfe-phase-one-proposal .doc-gallery-block { order:1; }
    #dwfe-phase-one-proposal .doc-map-block { order:2; }
    #dwfe-phase-one-proposal .doc-comparison-block { order:3; }
    #dwfe-phase-one-proposal .doc-report-block { order:4; }
    #dwfe-phase-one-proposal .doc-small { font-size:12px;color:var(--doc-muted); }
    #dwfe-phase-one-proposal .doc-feature { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:26px;align-items:center;margin-top:19px; }
    #dwfe-phase-one-proposal .doc-feature-photo { display:block;width:100%;height:auto;max-height:var(--doc-photo-height,480px);object-fit:contain;border-radius:12px;background:var(--doc-bg); }
    #dwfe-phase-one-proposal .doc-feature-copy h4 { font-size:25px;line-height:1.2;letter-spacing:-.025em;margin:12px 0 16px; }
    #dwfe-phase-one-proposal .doc-feature-copy p { color:var(--doc-muted);font-size:15px; }
    #dwfe-phase-one-proposal .doc-photo-count { font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--doc-blue); }
    #dwfe-phase-one-proposal .doc-gallery-controls { display:flex;align-items:center;gap:10px;margin-top:22px; }
    #dwfe-phase-one-proposal .doc-arrow { width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--doc-line);border-radius:50%;background:var(--doc-surface);color:var(--doc-ink);font-size:20px; }
    #dwfe-phase-one-proposal .doc-thumbs { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:17px; }
    #dwfe-phase-one-proposal .doc-thumb { min-width:0;font:inherit;display:block;border:2px solid transparent;padding:3px;border-radius:10px;background:var(--doc-bg);color:var(--doc-muted); }
    #dwfe-phase-one-proposal .doc-thumb[aria-pressed="true"] { border-color:var(--doc-blue); }
    #dwfe-phase-one-proposal .doc-thumb img { display:block;width:100%;aspect-ratio:3/4;object-fit:contain;border-radius:5px; }
    #dwfe-phase-one-proposal .doc-thumb span { display:block;font-size:11px;padding:4px 0; }
    #dwfe-phase-one-proposal .doc-context { border-left:3px solid var(--doc-blue);padding-left:17px;color:var(--doc-muted);font-size:14px;margin-top:21px; }
    #dwfe-phase-one-proposal .doc-comparison { display:block;width:100%;height:auto;border-radius:12px;margin-top:16px; }
    #dwfe-phase-one-proposal .doc-map-block { min-width:0; }
    #dwfe-phase-one-proposal .doc-map-title { margin-bottom:8px; }
    #dwfe-phase-one-proposal #dwfe-kyjiw-region { --doc-map-background:var(--doc-surface);--doc-map-foreground:var(--doc-ink);--doc-map-muted:var(--doc-bg);--doc-map-muted-foreground:var(--doc-muted);--doc-map-blue:var(--doc-blue);--doc-map-series:var(--doc-blue);--doc-map-size:14px; }
    #dwfe-phase-one-proposal #dwfe-kyjiw-region .dwfe-map-small { font-size:12px; }
    #dwfe-phase-one-proposal #dwfe-kyjiw-region .dwfe-map-muted { color:var(--doc-muted);font-size:12px; }
    #dwfe-phase-one-proposal #dwfe-kyjiw-region .map { font-family:"Segoe UI",Arial,sans-serif;font-size:14px; }
    #dwfe-phase-one-proposal a { color:var(--doc-blue);text-underline-offset:3px; }
    #dwfe-phase-one-proposal .doc-report-block { padding-top:22px;border-top:1px solid var(--doc-line); }
    #dwfe-phase-one-proposal .doc-report-block summary { font-size:18px;font-weight:650; }
    #dwfe-phase-one-proposal .doc-report-copy { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:23px; }
    #dwfe-phase-one-proposal .doc-report-copy h4 { font-size:16px;margin-bottom:8px; }
    #dwfe-phase-one-proposal .doc-report-copy p { color:var(--doc-muted);font-size:14px; }
    #dwfe-phase-one-proposal .doc-notice { margin-top:28px;font-size:12px;color:var(--doc-muted); }
    #dwfe-phase-one-proposal .doc-plan { color:var(--doc-muted);margin-top:12px; }
    #dwfe-phase-one-proposal button { cursor:inherit; }
    @media(max-width:600px) {
      #dwfe-phase-one-proposal .doc-top { padding:13px 16px; }
      #dwfe-phase-one-proposal .doc-top span { max-width:100px;text-align:right;font-size:11px; }
      #dwfe-phase-one-proposal .doc-top img { width:120px; }
      #dwfe-phase-one-proposal .doc-wrap { padding:25px 14px; }
      #dwfe-phase-one-proposal .doc-tabs { gap:7px; }
      #dwfe-phase-one-proposal .doc-tab { padding:12px 9px; }
      #dwfe-phase-one-proposal .doc-tab[aria-selected="true"] { padding:11px 8px; }
      #dwfe-phase-one-proposal .doc-tab strong { font-size:24px; }
      #dwfe-phase-one-proposal .doc-status { font-size:10px;padding:4px 5px; }
      #dwfe-phase-one-proposal .doc-tab .doc-status { font-size:0; }
      #dwfe-phase-one-proposal .doc-tab .doc-status::after { content:attr(data-short);font-size:10px; }
      #dwfe-phase-one-proposal .doc-panel { padding:20px 14px; }
      #dwfe-phase-one-proposal .doc-feature { grid-template-columns:minmax(0,1fr);gap:18px; }
      #dwfe-phase-one-proposal .doc-feature-photo { max-height:520px; }
      #dwfe-phase-one-proposal .doc-feature-copy h4 { font-size:23px; }
      #dwfe-phase-one-proposal .doc-thumbs { gap:4px; }
      #dwfe-phase-one-proposal .doc-thumb { padding:1px;border-radius:6px; }
      #dwfe-phase-one-proposal .doc-report-copy { grid-template-columns:minmax(0,1fr); }
    }

    #dwfe-phase-one-proposal .doc-carousel { margin-top:20px;min-width:0; }
    #dwfe-phase-one-proposal .doc-photo-track { display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-x:contain; }
    #dwfe-phase-one-proposal .doc-slide { flex:0 0 calc((100% - 16px) / 2);margin:0;min-width:0;scroll-snap-align:start; }
    #dwfe-phase-one-proposal .doc-slide picture { display:block; }
    #dwfe-phase-one-proposal .doc-slide img { display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;border-radius:12px;background:var(--doc-bg); }
    #dwfe-phase-one-proposal .doc-carousel-controls { display:flex;align-items:center;justify-content:center;gap:12px;margin-top:15px; }
    #dwfe-phase-one-proposal .doc-arrow { cursor:pointer; }
    #dwfe-phase-one-proposal .doc-arrow:disabled { opacity:.3;cursor:default; }
    @media(max-width:600px) { #dwfe-phase-one-proposal .doc-slide { flex-basis:100%; } }
    @media(prefers-reduced-motion:reduce) { #dwfe-phase-one-proposal .doc-photo-track { scroll-behavior:auto; } }
  

    #dwfe-kyjiw-region { display: grid; gap: calc(var(--doc-map-size) * .6); color: var(--doc-map-foreground); }
    #dwfe-kyjiw-region .heading { padding-right: 90px; }
    #dwfe-kyjiw-region .map { width: 100%; display: block; overflow: visible; }
    #dwfe-kyjiw-region .land { fill: var(--doc-map-muted); fill-opacity: .42; }
    #dwfe-kyjiw-region .kyiv-area { fill: var(--doc-map-muted-foreground); fill-opacity: .09; stroke: var(--doc-map-muted-foreground); stroke-width: .9; stroke-dasharray: 4 3; }
    #dwfe-kyjiw-region .water { fill: var(--doc-map-blue); fill-opacity: .22; stroke: none; }
    #dwfe-kyjiw-region .river { fill: none; stroke: var(--doc-map-blue); stroke-opacity: .65; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    #dwfe-kyjiw-region .boundary { fill: none; stroke: var(--doc-map-muted-foreground); stroke-opacity: .4; stroke-width: .9; stroke-dasharray: 5 4; }
    #dwfe-kyjiw-region .road { fill: none; stroke: var(--doc-map-muted-foreground); stroke-opacity: .65; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
    #dwfe-kyjiw-region .road.secondary { stroke-opacity: .35; stroke-width: .9; }
    #dwfe-kyjiw-region .place { fill: var(--doc-map-foreground); stroke: var(--doc-map-background); stroke-width: 1.5; }
    #dwfe-kyjiw-region .label { fill: var(--doc-map-foreground); paint-order: stroke; stroke: var(--doc-map-background); stroke-width: 4; stroke-linejoin: round; }
    #dwfe-kyjiw-region .main-label { font-weight: 500; }
    #dwfe-kyjiw-region .water-label { fill: var(--doc-map-blue); paint-order: stroke; stroke: var(--doc-map-background); stroke-width: 3; }
    #dwfe-kyjiw-region .road-label { fill: var(--doc-map-muted-foreground); paint-order: stroke; stroke: var(--doc-map-background); stroke-width: 4; }
    #dwfe-kyjiw-region .pin { fill: #D92D20; stroke: var(--doc-map-background); stroke-width: 2; }
    #dwfe-kyjiw-region .pin-center { fill: var(--doc-map-background); }
    #dwfe-kyjiw-region .scale { fill: none; stroke: var(--doc-map-foreground); stroke-width: 1.5; }
    #dwfe-kyjiw-region .detail { display: grid; gap: calc(var(--doc-map-size) * .25); }
    #dwfe-kyjiw-region .legend { display: flex; align-items: center; gap: calc(var(--doc-map-size) * .5); flex-wrap: wrap; }
    #dwfe-kyjiw-region .legend span { white-space: nowrap; }
  
/* Integration into the existing project panel. */
.dwfe-project-status-page #dwfe-phase-one-proposal { background:#fff;--doc-surface:#fff;--doc-bg:#f4f8fa;--doc-ink:#13252d;--doc-muted:#526b77;--doc-line:#dce7ed;--doc-blue:#0877a5; }
#dwfe-phase-one-proposal .doc-content { margin-top:30px; }
#dwfe-phase-one-proposal .doc-photo-track { cursor:grab; }
#dwfe-phase-one-proposal button { cursor:pointer; }
#dwfe-phase-one-proposal .doc-comparison-figure { position:relative;container-type:inline-size;margin-top:16px;overflow:hidden;border-radius:12px; }
#dwfe-phase-one-proposal .doc-comparison { margin:0;border-radius:0; }
#dwfe-phase-one-proposal .doc-comparison-labels { position:absolute;left:0;top:0;width:100%;height:6.8%;display:grid;grid-template-columns:1fr 1fr;gap:3px;background:#fff;pointer-events:none;font:700 clamp(7px,2.75cqw,30px)/1.1 "Segoe UI",Arial,sans-serif;text-align:center;color:#fff; }
#dwfe-phase-one-proposal .doc-comparison-labels span { display:flex;align-items:center;justify-content:center;background:#08265d; }
#dwfe-phase-one-proposal .doc-comparison-labels span+span { background:#008fc9; }
#dwfe-phase-one-proposal .doc-report-block summary { cursor:pointer; }
#dwfe-phase-one-proposal .report-grid { margin-top:23px; }
#dwfe-phase-one-proposal .report-block h4 { margin-bottom:10px; }
.dwfe-project-status-page .filter-explanation { margin-top:14px; }
.dwfe-project-status-page .filter-standard { font-size:.76rem; }
