.uc-work .uc-work-stage-links {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;
 width:min(100%,510px);background:#e7eef4;border:1px solid #d1dee8;
 border-radius:10px;padding:4px;margin:0 0 13px;
}
.uc-work .uc-work-stage-links a {justify-content:center;border:1px solid transparent;background:transparent;text-align:center;line-height:1.25}
.uc-work .uc-work-stage-links a[aria-current] {color:#fff;background:#164c76;border-color:#164c76}
.uc-work .uc-work-stage-links a:not([aria-current]):hover {background:#f6f9fc}
.uc-work .uc-work-stage[hidden],.uc-media-dialog [hidden] {display:none!important}
.uc-work .uc-work-tools {margin-bottom:14px}
.uc-work .uc-work-tools [aria-pressed="false"] {background:transparent}
.uc-work .uc-work-stage-head h2 {font-size:clamp(1.75rem,3.2vw,3rem)}
.uc-work .uc-work-stage-head {margin-bottom:clamp(14px,1.65vw,23px)}
.uc-work .uc-project-grid {align-items:start}
.uc-work .uc-project-card .uc-project-caption p {display:none}
.uc-work .uc-project-card .uc-project-caption h3 {margin-bottom:0}
.uc-work .uc-project-open:not(.uc-video-cover)>span {display:none}
.uc-work .uc-video-cover {cursor:pointer}
.uc-work .uc-video-cover .uc-video-play {
 display:grid;place-items:center;position:absolute;right:auto;bottom:auto;top:50%;left:50%;
 transform:translate(-50%,-50%);width:52px;height:52px;padding:0;background:#102b3fe8;border:1px solid #fff9;border-radius:100%;
}
.uc-work .uc-video-cover:hover .uc-video-play {background:#155c92}
.uc-project-dialog.uc-media-dialog {
 width:min(880px,calc(100% - 24px));max-height:calc(100dvh - 20px);
 box-sizing:border-box;border-radius:12px;padding:17px clamp(12px,2.7vw,28px) 18px;
}
.uc-media-dialog h2 {margin:0 40px 13px 0;color:white;font-size:clamp(1.14rem,2.3vw,1.6rem)}
.uc-media-dialog .uc-video-viewport {display:block;background:#071620;border-radius:6px;overflow:hidden}
.uc-media-dialog .uc-video-viewport video {display:block;width:100%;max-height:68dvh;background:#071620}
.uc-media-dialog>img {height:min(65dvh,680px)}
.uc-media-dialog>p {margin:12px auto;color:#edf5fa;font-size:.95rem}
.uc-media-dialog .uc-media-navigation button {min-height:44px;font-size:.875rem}
.uc-media-dialog .uc-project-close {width:44px;height:44px}
@media(max-width:620px) {
 .uc-work .uc-work-stage-links a {font-size:.88rem;padding-inline:6px}
 .uc-work .uc-project-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}
 .uc-work .uc-project-caption h3 {font-size:.95rem;line-height:1.25}
 .uc-work .uc-video-cover .uc-video-play {width:44px;height:44px}
}
/* Keep the selected stage readable against its dark blue surface. */
body.uc-unified #main-content.uc-work .uc-work-stage-links a[aria-current="location"] {color:#fff!important}
.uc-work .uc-work-stage-links {grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,650px)}
.uc-work .uc-work-stage-links a {min-width:0}
.uc-work .uc-drawing-stage .uc-project-media {background:#fff;border:1px solid #cbd8e3}
.uc-work .uc-drawing-stage .uc-project-media img {object-fit:contain;padding:7px;box-sizing:border-box}
.uc-work .uc-drawing-card .uc-drawing-id {font-size:.88rem;text-transform:none;letter-spacing:0;margin:5px 0 0;color:#49677c}
.uc-media-dialog.is-drawing {width:min(1170px,calc(100% - 20px))}
.uc-media-dialog .uc-drawing-viewport {display:block;background:#fff;overflow:auto;max-height:70dvh;border-radius:6px;text-align:center}
.uc-drawing-viewport img {display:block;width:100%;height:auto;max-height:67dvh;object-fit:contain;margin:auto}
.uc-drawing-viewport.is-zoomed img {width:260%;min-width:1030px;max-width:none;max-height:none}
.uc-media-dialog.is-drawing [data-project-full-caption]:empty {display:none}
.uc-media-dialog.is-drawing [data-image-navigation] {margin-top:11px;gap:8px}
@media(max-width:620px) {
 .uc-work .uc-work-stage-links {grid-template-columns:1.08fr 1.23fr .72fr}
 .uc-work .uc-drawing-stage .uc-project-media img {padding:3px}
 .uc-media-dialog.is-drawing [data-image-navigation] button {padding-inline:9px}
}
.uc-work .uc-work-stage-links {grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,770px)}
.uc-project-dialog.uc-reel-dialog[open] {display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;row-gap:9px;overscroll-behavior:contain}
.uc-reel-dialog.uc-project-dialog>h2 {margin:0 48px 0 0;align-self:center;min-height:36px;display:flex;align-items:center}
.uc-reel-dialog.uc-project-dialog>.uc-reel-frame {
 display:block;background:#071620;border-radius:8px;overflow:hidden;min-height:0;
}
.uc-reel-frame>img {display:block;width:100%;height:min(71dvh,780px);object-fit:contain;margin:0;touch-action:none;user-select:none}
.uc-reel-dialog .uc-video-viewport {position:relative;display:grid;place-items:center;background:#071620}
.uc-reel-dialog .uc-video-viewport video {width:100%;height:min(71dvh,780px);object-fit:contain}
.uc-reel-video-gesture {position:absolute;inset:0 0 53px;touch-action:none;cursor:pointer}
.uc-reel-dialog .uc-drawing-viewport:not(.is-zoomed) {touch-action:none}
.uc-reel-dialog.uc-project-dialog>[data-project-full-caption] {min-height:0;margin:0;text-align:left}
.uc-reel-dialog.uc-project-dialog>[data-project-full-caption]:empty {display:none}
.uc-reel-dialog.uc-project-dialog>.uc-reel-toolbar {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0}
.uc-reel-toolbar span {color:#d7e7f1;font-size:.94rem;font-variant-numeric:tabular-nums}
.uc-reel-dialog .uc-reel-toolbar button {padding-inline:12px;min-height:44px;font-size:.875rem}
.uc-reel-dialog .uc-reel-toolbar button:disabled {opacity:.48;cursor:default}
@media(max-width:650px) {
 .uc-work .uc-work-stage-links {grid-template-columns:repeat(2,minmax(0,1fr))}
 .uc-project-dialog.uc-reel-dialog[open]:not(.is-drawing) {width:100%;height:100dvh;max-height:100dvh;max-width:100vw;margin:0;inset:0;border:0;border-radius:0;padding:max(14px,env(safe-area-inset-top)) 12px max(15px,env(safe-area-inset-bottom))}
 .uc-reel-dialog:not(.is-drawing) .uc-video-viewport,.uc-reel-dialog:not(.is-drawing) .uc-video-viewport video,.uc-reel-dialog .uc-reel-frame>img {height:100%;max-height:none}
 .uc-reel-dialog .uc-drawing-viewport.is-zoomed {max-height:64dvh}
}

/* Keep the full scene in the viewer and give plan details the available width. */
.uc-project-dialog.uc-reel-dialog[open] {
  grid-template-rows:auto minmax(0,1fr) auto auto auto;
  width:min(1180px,calc(100% - 24px));
}
.uc-reel-dialog .uc-drawing-viewport {max-height:75dvh}
.uc-reel-dialog .uc-drawing-viewport img {max-height:72dvh}
.uc-reel-dialog .uc-drawing-viewport.is-zoomed img {
  width:300%;
  min-width:1600px;
  max-height:none;
}
.uc-reel-dialog .uc-reel-frame {touch-action:none}
.uc-reel-dialog.is-drawing .uc-reel-frame,
.uc-reel-dialog.is-video .uc-reel-frame {touch-action:auto}
.uc-reel-dialog.uc-project-dialog>.uc-reel-swipe-hint {display:none}
.uc-work .uc-drawing-stage .uc-project-media {aspect-ratio:1.48}
@media(max-width:650px) {
  .uc-work .uc-drawing-stage .uc-project-grid {grid-template-columns:minmax(0,1fr)}
  .uc-project-dialog.uc-reel-dialog[open].is-drawing {width:calc(100% - 12px);padding-inline:8px}
  .uc-reel-dialog .uc-drawing-viewport.is-zoomed {max-height:58dvh}
}
@media(any-pointer:coarse) {
  .uc-reel-dialog.uc-project-dialog>.uc-reel-swipe-hint:not(:empty) {
    display:block;
    justify-self:center;
    color:#e5f2fb;
    border:1px solid #7395ac;
    border-radius:999px;
    background:#17364e;
    margin:0;
    padding:4px 12px;
    font-size:.875rem;
  }
}
