/* Keep the original V4.21 shell palette and navigation. */
.site-shell.expedition-theme, .expedition-theme .workspace {background:#faf7f0}
.expedition-theme .sidebar{background:linear-gradient(170deg,#f7f2e6 0%,#e9eddf 69%,#d4e3d6 100%);border-right-color:#dddaca;transition:background .7s,border .7s}
.expedition-theme .sidebar:after{content:'✧   ✦   ✧';font-size:22px;color:#b7a16c;letter-spacing:1.1em;text-align:center;pointer-events:none}
.expedition-theme .sidebar .brand strong{color:#184737}.expedition-theme .sidebar .brand small{color:#5f7b69}.expedition-theme .sidebar .brand:before,.expedition-theme .sidebar .brand:after{color:#d3aa51}
.expedition-theme .sidebar .logo-mark{border:4px solid #f6f0dd;background:#fff5da;box-shadow:0 10px 24px #133d321c}
.expedition-theme .side-link{color:#3c6051}.expedition-theme .side-link svg{color:#3e6754}
.expedition-theme .side-link:hover{background:#e0eadd;color:#184737}
.expedition-theme .side-link.active{background:linear-gradient(120deg,#1b4d3b,#0e382c);color:#fff;box-shadow:0 8px 19px #214b3835}
.expedition-theme .side-link.active svg{color:#e8c37b}
.expedition-theme .sidebar-quote{background:linear-gradient(160deg,#f5edd8,#e3e8d6);box-shadow:inset 0 0 0 1px #e1dbc4;}
.expedition-theme .sidebar-quote strong{color:#295744}
.expedition-theme .sidebar-quote .quote-landscape{opacity:.8;filter:sepia(.4) saturate(.6)}
.expedition-theme .sidebar-bottom{background:#fffcf4;border-color:#e5dfcc}.expedition-theme .sidebar-bottom b{color:#2b5645}
.expedition-theme .topbar{background:#fffcf6;border-bottom-color:#eee7db;transition:background .55s}
.expedition-theme .search-trigger{background:#f3efe5;border-color:#e8dfcf;color:#547062}
@media(max-width:700px){.mobile-bottom.expedition-mobile{background:#f5f0e4;border-color:#e0d6bf;overflow-x:auto;display:flex;justify-content:flex-start;scrollbar-width:none;gap:2px}.mobile-bottom.expedition-mobile .side-link{flex:0 0 69px;min-width:69px;padding:8px 2px;font-size:9px}.mobile-bottom.expedition-mobile .side-link.active{background:#1a4937;color:#fff}.mobile-bottom.expedition-mobile .side-link.active svg{color:#f5d488}}

/* Expedition content, dialogs and transition. */
#main:has(> .expedition-page) {
  width:100%; max-width:none; min-width:0; padding:0 0 35px;
  background:#f7f2ea url('/static/assets/expedition-paper.webp');
}
.expedition-page, .ex-modal {
  --ex-ink:#101e24;
  --ex-green:#184b38;
  --ex-gold:#936216;
  --ex-paper:#faf5ed;
  --ex-serif:Georgia,'Times New Roman',serif;
  font: 400 16px/1.25 'Segoe UI',Arial,sans-serif;
  color:var(--ex-ink);
}
.expedition-page {min-height:calc(100dvh - 79px); overflow:clip;}
.expedition-page h1, .expedition-page h2, .expedition-page h3,
.ex-modal h2, .ex-modal h3, .expedition-page p, .ex-modal p {margin:0;}
.expedition-page h2, .ex-modal h2, .ex-modal h3 {font-family:var(--ex-serif); color:#071e23;}
.expedition-page h2 {font-size:24px; line-height:1.12;}
.expedition-page button, .ex-modal button {font:inherit;}
.expedition-page button:focus-visible, .ex-modal :is(button,input,select,textarea,summary):focus-visible,
.ex-map-scroll:focus-visible {outline:3px solid #a06c16; outline-offset:3px;}
.expedition-page button, .ex-modal button {touch-action:manipulation;}
.expedition-page svg, .ex-modal svg {width:24px;height:24px;flex:none;}
.ex-loading {padding:32px;}

.ex-hero {
  position:relative; isolation:isolate; height:177px; overflow:hidden;
  background:radial-gradient(ellipse at 43% 21%,#f2d7ae 0,transparent 60%),linear-gradient(92deg,#fbefd9,#f4e5cb 53%,#879d88);
}
.ex-hero::before {
  content:''; position:absolute; z-index:-2; inset:0 0 0 32%;
  background:url('/static/assets/expedition-hero-forest.webp') right top/100% 100% no-repeat;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 32%);
  mask-image:linear-gradient(to right,transparent,#000 32%);
}
.ex-hero::after {
  content:''; position:absolute; z-index:-1; inset:0; opacity:.52;
  background:url('/static/assets/expedition-paper.webp');
  mask-image:linear-gradient(to right,#000 40%,transparent 79%);
}
.expedition-page .ex-hero-trail {position:absolute;left:0;top:0;width:130px;height:174px;}
.ex-hero-copy {padding:15px 20px 0 clamp(56px,6.1vw,89px); position:relative;}
.ex-hero-label {
  display:inline-flex; gap:9px; align-items:center; margin-left:35px; padding:3px 23px 5px 28px;
  background:#efc894 url('/static/assets/expedition-paper.webp'); color:#21190e; font-size:19px;
  border-radius:47% 19px 19px 38% / 28% 80% 80% 35%;
  clip-path:polygon(2% 9%,21% 0,100% 0,100% 100%,4% 99%,2% 84%,5% 67%,0 60%,4% 47%,1% 30%,6% 24%);
}
.ex-hero-label b {font:700 23px/1 var(--ex-serif);}
.ex-hero h1 {font:700 clamp(35px,3.25vw,54px)/.99 var(--ex-serif);letter-spacing:-.02em;color:#0a2a22;margin-top:0;}
.ex-hero p {font-size:20px; margin:5px 0 0 20px;}
.ex-hero-postmark {
  position:absolute; right:clamp(28px,6vw,97px); top:88px; border:2px solid #f3d991;
  padding:6px 25px 7px; border-radius:35px; background:linear-gradient(#315947e8,#062a21f5);
  color:#fff8e4; font-size:20px; box-shadow:0 3px 8px #0e30265e,inset 0 0 0 2px #ffffff21;
}

.ex-dashboard {
  position:relative; display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,.95fr) minmax(0,.99fr);
  grid-template-rows:300px 120px 19px 13px minmax(195px,auto); gap:10px 16px;
  grid-template-areas:'passport map map' 'stats road road' '. road road' 'near road road' 'near events group';
  margin:-24px clamp(12px,1.1vw,18px) 0 clamp(13px,1.5vw,25px);
  animation:ex-content-enter .44s ease-out both;
}
@keyframes ex-content-enter {from{opacity:.55;translate:0 6px}to{opacity:1;translate:0 0}}
.ex-paper {
  border:1px solid #cfc6b8a0; border-radius:17px;
  background:linear-gradient(158deg,#f3ece1a8,#f8f5ee67 67%,#faf7f0e0),url('/static/assets/expedition-paper.webp'),#f8f3ec;
  box-shadow:0 2px 5px #59442a15;
}
.ex-passport {
  grid-area:passport; align-self:start; height:296px; width:100%; min-width:0; border-radius:19px;
  border:1px solid #0d3327; padding:7px 8px 10px; position:relative; isolation:isolate; text-align:left;
  background:radial-gradient(ellipse at 47% 15%,#315743ab 2%,transparent 72%),url('/static/assets/expedition-paper.webp'),#123c30;
  color:#fff8e8; box-shadow:0 3px 5px #12342836,inset 0 0 0 3px #0b2e2559;
  cursor:pointer; transition:box-shadow .24s;
}
.ex-passport:hover {box-shadow:0 4px 13px #12342845,inset 0 0 0 3px #d9b66548;}
.ex-passport-frame {display:block; position:relative; height:100%; padding:9px 18px; border:2px dashed #cb9d46; border-radius:13px;}
.expedition-page .ex-passport-contours {position:absolute;inset:0;width:100%;height:100%;z-index:-1;}
.ex-passport-head {display:flex; align-items:flex-start; gap:clamp(12px,1.5vw,25px);}
.ex-compass-seal {display:grid; place-items:center; flex:0 0 58px; color:#f5b742; margin-top:-1px;}
.ex-compass-seal svg {width:58px;height:58px; --compass-center:#123c30;}
.ex-passport-head strong {font:700 clamp(20px,1.67vw,28px)/1.05 var(--ex-serif); padding-top:3px;}
.ex-passport-body {display:grid; grid-template-columns:35% minmax(0,1fr); gap:15px; align-items:start; margin-top:-8px;}
.ex-passport-illustration {height:150px; display:flex; align-items:center;}
.ex-passport-illustration img {width:100%; height:100%; object-fit:contain; filter:drop-shadow(1px 3px 3px #04140c99);}
.ex-passport-identity {display:grid; gap:4px; min-width:0;}
.ex-passport-identity>strong {font:700 clamp(17px,1.42vw,24px)/1.12 var(--ex-serif); overflow-wrap:anywhere;}
.ex-passport-identity>span:not(.ex-rank-line) {font-size:16px;}
.ex-rank-line {display:flex; gap:14px; align-items:center; border-top:1px solid #d3b66a7d; padding-top:9px; margin-top:6px;}
.ex-rank-icon {
  display:grid; place-items:center; flex:0 0 57px; height:58px; color:#ffc755;
  background:#f4bf4c;
  clip-path:polygon(50% 0,98% 16%,97% 63%,85% 79%,50% 100%,15% 79%,3% 63%,2% 16%);
  position:relative; isolation:isolate;
}
.ex-rank-icon:before {
  content:''; position:absolute; inset:4px; z-index:-1; background:#235541;
  clip-path:inherit;
}
.ex-rank-icon svg {width:38px;height:38px;}
.ex-rank-line small {display:block; font-size:15px;}
.ex-rank-line strong {display:block; font:700 clamp(19px,1.65vw,28px)/1.02 var(--ex-serif); margin-top:3px; overflow-wrap:anywhere;}
.ex-passport-progress {display:block; width:calc(100% - 18%); margin-left:18%; margin-top:-2px; padding-right:9px;}
.ex-passport-progress>span:first-child {display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:5px;}
.ex-passport-progress b {color:#ffce55; font-size:22px; font-weight:800;}
.ex-passport-progress small {font-size:16px;}
.ex-gauge,.ex-group-meter {display:block; width:100%; height:17px; background:#60836a; border-radius:99px; overflow:hidden;}
.ex-gauge i,.ex-group-meter i {display:block;height:100%;background:linear-gradient(95deg,#edab36,#ffd979);border-radius:inherit;box-shadow:inset 0 1px 2px #fff5c376;transition:width .44s ease-out;}

.ex-map {grid-area:map; min-width:0; margin-top:-4px;}
.ex-map-scroll {position:relative; overflow:clip; height:100%; border:1px solid #d9c9a8; border-radius:17px; box-shadow:0 3px 5px #745c4027;}
.ex-map-sheet {position:relative; height:100%; isolation:isolate; background:#f4e8c9;}
.ex-map-landscape {position:absolute;z-index:-1;inset:0;background:url('/static/assets/expedition-route-landscape.webp') center/100% 100% no-repeat;}
.ex-map h2.ex-map-ribbon {
  position:absolute; z-index:2; top:16px; left:21px; margin:0; padding:6px 25px 8px 30px;
  font-size:28px; color:#fffae9; transform:rotate(-3.6deg);
  background:linear-gradient(90deg,#6a512c,#907447 50%,#775a32),url('/static/assets/expedition-paper.webp');
  background-blend-mode:multiply; border-radius:3px 5px 4px 5px; border:1px solid #65481e;
  box-shadow:2px 4px 6px #27190c5c,inset 8px 0 0 #321d1352,inset 10px 0 0 #c6a96d66;
}
.ex-map-ribbon::before,.ex-map-ribbon::after {
  content:'';position:absolute;left:7px;width:4px;height:4px;border-radius:50%;background:#49371e;
}
.ex-map-ribbon::before {top:6px;}.ex-map-ribbon::after {bottom:6px;}
.ex-map-compass {position:absolute; top:8px;right:24px;color:#113b31;}
.ex-map-compass svg {width:80px;height:80px;}
.expedition-page .ex-map-trail {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
.ex-map-stops {position:absolute;inset:0;pointer-events:none;}
.ex-map-stop {
  --x:14%; --y:38%;
  position:absolute;left:var(--x);top:var(--y);width:clamp(115px,9vw,146px);translate:-50% 0;
  pointer-events:auto; display:grid; justify-items:center; gap:3px; padding:0; border:0;background:none;
  color:#101d22; cursor:pointer; text-align:center;
}
.ex-map-stop:nth-child(2){--x:31%;--y:37%}
.ex-map-stop:nth-child(3){--x:49.3%;--y:35.5%}
.ex-map-stop:nth-child(4){--x:67%;--y:38.3%}
.ex-map-stop:nth-child(5){--x:83.6%;--y:34.5%}
.ex-map-stop b {font-size:16px; line-height:1.07; text-shadow:0 1px 5px #fff9e3,0 0 7px #fff9e3;}
.ex-map-stop small {font-size:16px;font-weight:650;text-shadow:0 1px 5px #fff9e3;}
.ex-map-marker {
  position:relative; display:grid;place-items:center;width:60px;height:60px;margin-bottom:4px;border:2px solid #8e7531;
  border-radius:50%;background:#fbf0d1 url('/static/assets/expedition-paper.webp');color:#8c7030;
  outline:4px solid #fff5df;box-shadow:0 4px 8px #3e3e2a55,inset 0 0 0 3px #fff5df;
  transition:transform .22s,box-shadow .22s;
}
.ex-map-stop:first-child .ex-map-marker {width:64px;height:64px;}
.ex-map-marker svg {width:34px;height:34px;}
.ex-map-stop.is-marked .ex-map-marker {background:linear-gradient(145deg,#72a969,#39804a);border-color:#529457;color:#fff5d5;box-shadow:0 3px 8px #344d2e50;}
.ex-map-marker i {position:absolute;right:-7px;top:-13px;display:grid;place-items:center;width:29px;height:29px;border:2px solid #fff;border-radius:50%;background:#51935c;color:#fff;}
.ex-map-marker i svg {width:18px;height:18px;}
.ex-map-stop:hover .ex-map-marker,.ex-map-stop:focus-visible .ex-map-marker {transform:translateY(-4px);box-shadow:0 6px 12px #153e30a0;}
.ex-map-bottom {
  display:flex;align-items:center;gap:10px;position:absolute;z-index:3;bottom:0;right:2px;
  padding:6px 19px;min-height:63px;transform:rotate(-5.5deg);border:0;color:#745624;cursor:pointer;
  background:linear-gradient(162deg,#fbe9c5,#f4e0b9),url('/static/assets/expedition-paper.webp');
  background-blend-mode:multiply;clip-path:polygon(0 5%,15% 0,27% 3%,48% 0,69% 3%,98% 0,100% 24%,98% 43%,100% 70%,98% 99%,85% 97%,70% 100%,45% 96%,25% 100%,2% 99%);
  filter:drop-shadow(0 2px 4px #6045254d);
}
.ex-map-bottom span {text-align:center; font:700 16px/1 var(--ex-serif);}
.ex-map-bottom b {display:block; font:700 16px/1.35 'Segoe UI',Arial,sans-serif;}
.ex-map-bottom svg {width:53px;height:44px;}
.ex-map-bottom:hover {color:#243e2c;background-color:#ffeecb;}
.ex-map-bottom:focus-visible {outline-offset:-5px;}

.ex-stats {grid-area:stats;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;}
.ex-stat {display:grid;justify-items:center;align-content:start;gap:1px;text-align:center;padding:8px 3px;color:inherit;cursor:pointer;transition:background-color .2s;}
.ex-stat:hover {background-color:#fff8dc;}
.ex-stat>span {color:#86601c; height:37px;}
.ex-stat svg {width:36px;height:36px;}
.ex-stat strong {font-size:32px;line-height:1.08;letter-spacing:-.035em;color:#071e23;}
.ex-stat small {font-size:16px;}
.ex-stat:nth-child(2) small {color:#674604;}
.ex-stat:nth-child(3) small {font-size:14px;}

.ex-road {
  grid-area:road;position:relative;isolation:isolate;overflow:hidden;padding:6px 25px 0;
  background:linear-gradient(180deg,#e9e5dbb8,#f6f2e8 52%,#f5ede0),url('/static/assets/expedition-paper.webp');
}
.ex-road::after {
  content:'';position:absolute;z-index:-1;inset:auto 0 0;height:66px;
  background:url('/static/assets/expedition-rank-forest.webp') center bottom/100% 100% no-repeat;
}
.ex-title-button {border:0;background:none;padding:0;cursor:pointer;color:inherit;text-align:left;}
.expedition-page .ex-title-button {font-family:inherit;font-weight:inherit;}
.ex-rank-rail {
  list-style:none;position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  padding:0; margin:6px -4px 0;text-align:center;
}
.ex-rank-rail::before {
  content:''; position:absolute; top:23px; left:10%; right:10%; height:4px; border-radius:4px;
  background:linear-gradient(90deg,#3a8550,#d6971d) 0/var(--rank-progress) 100% no-repeat,#a4a19a;
}
.ex-rank-rail li {display:grid;position:relative;justify-items:center;align-content:start;line-height:1.02;min-width:0;}
.ex-road-orb {
  width:49px;height:49px;border:2px solid #a39f99;border-radius:50%;display:grid;place-items:center;margin-bottom:3px;
  color:#8f918f;background:#f7f3e9;box-shadow:inset 0 0 0 2px #fff9;
}
.ex-road-orb svg {width:30px;height:30px;}
.ex-rank-rail .is-earned .ex-road-orb {background:#528b56;color:#fff9e3;border-color:#57955e;box-shadow:inset 0 1px 4px #4579469e;}
.ex-rank-rail .is-current .ex-road-orb {background:#d79b23;color:#fff9df;border-color:#e1a124;box-shadow:0 0 16px #efc258b3,inset 0 0 0 2px #ffe2a25c;}
.ex-rank-rail b {font-size:15px;max-width:147px;}
.ex-rank-rail li:nth-child(n+4) b {max-width:95px;}
.ex-rank-rail small {font-size:15px; margin-top:4px;}

.ex-upcoming {grid-area:near; margin-top:-1px; display:grid; grid-template-rows:auto 1fr; min-width:0;padding:7px 11px 12px;}
.ex-panel-head {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 7px 10px;}
.ex-text-button {display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:inherit;padding:2px;cursor:pointer;text-align:left;}
.ex-text-button:hover,.ex-title-button:hover {text-decoration:underline;text-underline-offset:3px;}
.ex-panel-head .ex-text-button {font-size:14px;white-space:nowrap;}
.ex-panel-head svg {width:16px;height:16px;}
.ex-upcoming-card {
  position:relative;min-width:0;display:grid;grid-template-columns:70px minmax(0,1fr);gap:17px;align-items:start;
  padding:13px 15px 11px;border:1px solid #d2c9bdad;border-radius:15px;background:#fffdfa80;box-shadow:0 1px 3px #53462b19;
}
.ex-flag-stamp {display:grid;place-items:center;width:70px;height:76px;border-radius:11px;background:#f8eacf;color:#82651f;margin-top:2px;}
.ex-flag-stamp svg {width:43px;height:43px;}
.ex-upcoming-copy {min-width:0;display:grid;align-content:start;gap:4px;}
.ex-mission-code {color:#162735;font-size:14px;font-weight:650;}
.ex-upcoming-copy .ex-mission-code {padding-right:68px; min-height:18px;}
.ex-upcoming-copy h3 {font-size:20px;line-height:1.1;color:#111c24;}
.ex-upcoming-copy p {font-size:16px;line-height:1.17;color:#27343b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ex-points {display:inline-block;justify-self:end;align-self:start;padding:4px 13px;border-radius:25px;background:#f8e3b6;color:#67470a;font-weight:750;white-space:nowrap;}
.ex-upcoming-card>.ex-points {position:absolute;right:12px;top:10px;}
.ex-button {
  border:1px solid #194b39;border-radius:8px;padding:7px 15px;display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,#215940,#184b38);color:#fffaf0;cursor:pointer;line-height:1.3;transition:filter .2s;
}
button.ex-button {font-weight:650;}
.ex-button:hover {filter:brightness(1.12);}
.ex-button:disabled {opacity:.55;cursor:wait;}
.ex-upcoming-copy .ex-upcoming-button {width:100%; margin-top:9px;}

.ex-recent,.ex-collective {padding:8px 22px 15px;}
.ex-recent {grid-area:events;}
.ex-collective {grid-area:group;position:relative;isolation:isolate;}
.ex-collective::after {
  content:'';position:absolute;z-index:-1;bottom:0;right:0;width:190px;height:86px;
  background:url('/static/assets/expedition-group-peaks.webp') center/100% 100% no-repeat;
}
.ex-collective h2 {display:flex;align-items:center;gap:13px;}
.ex-collective h2 svg {width:36px;height:28px;}
.ex-empty {color:#405058; margin:14px 0 0!important;line-height:1.4;}
.ex-events {list-style:none;padding:0;margin:6px 0 0;}
.ex-events li {display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:13px;padding:9px 0;border-top:1px solid #d8d2c7;line-height:1.12;}
.ex-events li:first-child {border-top:0;}
.ex-events li small {display:block; font-size:14px;margin-top:4px;}
.ex-events li strong {color:#28703b;white-space:nowrap;}
.ex-event-icon {display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fae4b5;color:#a7650a;}
.ex-event-icon.is-credit {background:#488e54;color:#fff;}
.ex-event-icon svg {width:24px;height:24px;}
.ex-group-score {display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:18px 0 10px;font-size:20px;}
.ex-group-score strong {white-space:nowrap;}
.ex-group-meter {width:78%;height:15px;background:#e9e0ce;margin:0 0 12px;}
.ex-group-meter i {background:#d19923;}
.ex-collective p {color:#384653;}
.ex-admin-entry {display:flex;justify-content:flex-end;padding:18px 24px 0;}
.ex-status:empty {display:none;}

.ex-modal {
  box-sizing:border-box; width:min(720px,calc(100% - 26px)); max-height:calc(100dvh - 35px);
  padding:0; border:1px solid #b6a68b; border-radius:16px; background:#fcf8ef;
  box-shadow:0 20px 90px #041f2096; overscroll-behavior:contain;
}
.ex-modal[open] {animation:ex-dialog-in .22s ease-out both;}
.ex-modal::backdrop {background:#0c241db0;}
body.ex-modal-open {overflow:hidden;}
@keyframes ex-dialog-in {from{opacity:0;transform:translateY(12px) scale(.987)}to{opacity:1;transform:none}}
.ex-dialog-body {position:relative;}
.ex-dialog-content {display:grid; gap:12px; padding:25px clamp(16px,4vw,36px);line-height:1.46;}
.ex-dialog-content h2 {padding-right:42px;font-size:clamp(24px,4vw,34px);line-height:1.12;}
.ex-dialog-content h2:focus {outline:none;}
.ex-dialog-content h3 {margin-top:5px;font-size:22px;}
.ex-dialog-x {position:sticky;top:10px;margin:10px 10px -52px auto;z-index:3;display:grid;place-items:center;width:42px;height:42px;border:1px solid #d2c8b6;border-radius:50%;background:#fffaf0;color:var(--ex-green);cursor:pointer;}
.ex-dialog-content label {display:grid;gap:4px;font-weight:650;font-size:15px;}
.ex-dialog-content :is(input,select,textarea) {
  display:block; min-width:0; width:100%; border:1px solid #b5ad9a; border-radius:8px; padding:8px 10px;
  background:#fffdf7;color:#142722; font:inherit;
}
.ex-dialog-content textarea {resize:vertical;}
.ex-dialog-content form {display:grid;gap:11px;padding:10px 0;}
.ex-dialog-content form .ex-button {justify-self:start;}
.ex-form-status:not(:empty) {padding:9px 12px;border-radius:8px;background:#ede6cf;}
.ex-form-status:empty {display:none;}
.ex-catalog-tools {display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.ex-found {color:#4b5b4e;margin-bottom:8px!important;font-size:14px;}
.ex-catalog-grid {display:grid;grid-template-columns:1fr 1fr;gap:9px;}
.ex-catalog-card {
  display:grid; grid-template-columns:32px 1fr auto; gap:7px; align-items:start; min-width:0;
  border:1px solid #ded2bf; border-radius:10px; padding:9px;text-align:left;
  background:#fffaf0;color:var(--ex-ink);cursor:pointer;transition:background-color .2s,border-color .2s;
}
.ex-catalog-card:hover {background:#f6edd9;border-color:#a89e82;}
.ex-catalog-card>span:nth-child(2) {display:grid;gap:2px;}
.ex-catalog-card small {font-size:12px;color:#4c5d55;}
.ex-catalog-card b {line-height:1.18;}
.ex-catalog-card .ex-points {font-size:12px;padding:3px 7px;}
.ex-catalog-icon {display:grid;place-items:center;width:32px;height:35px;background:#f6e9cd;color:#7e5a19;border-radius:6px;}
.ex-catalog-icon svg {width:19px;height:19px;}
.ex-details {display:grid;grid-template-columns:minmax(115px,1fr) minmax(0,1.3fr);gap:0 10px;margin:0;}
.ex-details>* {margin:0;padding:6px 0;border-bottom:1px solid #e9dfce;overflow-wrap:anywhere;}
.ex-details dt {font-weight:650;}
.ex-message {padding:10px 12px;border-radius:8px;background:#f0e8d5;white-space:pre-line;}
.ex-history,.ex-achievements {margin:0;padding:0;list-style:none;}
.ex-history li {padding:7px 0;border-bottom:1px solid #e9dfce;}
.ex-history li p,.ex-report {white-space:pre-wrap;overflow-wrap:anywhere;}
.ex-history li small {color:#4c5d55;}
.ex-achievements {display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.ex-achievements li {display:flex;align-items:center;gap:10px;padding:7px;border:1px solid #dfd6c5;border-radius:8px;color:#526159;}
.ex-achievements .is-earned {background:#eef0db;color:#214b34;}
.ex-achievements .is-earned svg {color:#a7771c;}
.ex-achievements small {display:block;}
.ex-actions {display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.ex-back {justify-self:start;}
.ex-staff-card {padding:9px 11px;border:1px solid #ded3bd;border-radius:8px;}
.ex-staff-card summary {cursor:pointer;font-weight:650;}
.ex-staff-card p {padding-top:8px;}

.ex-world-transition {
  position:fixed;inset:0;z-index:9998;pointer-events:none;display:grid;place-items:center;overflow:hidden;
  background:#174536;animation:ex-iris .98s cubic-bezier(.3,.02,.2,1) both;
}
.ex-world-transition.ex-exit {background:#fcf8eb;}
.ex-world-transition::before {content:'';position:absolute;inset:0;background:repeating-radial-gradient(circle,transparent 0 38px,#d7bd7730 39px 40px);}
.ex-transition-rings {display:grid;justify-items:center;gap:10px;z-index:1;color:#e8c47c;animation:ex-compass-appear .95s both;}
.ex-transition-rings span {width:92px;height:92px;animation:ex-spin .9s ease-out both;}
.ex-transition-rings b {font-size:12px;letter-spacing:.28em;font-weight:800;}
.ex-exit .ex-transition-rings {color:#336650;}
.ex-transition-stars {position:absolute;bottom:11%;font-size:23px;color:#d7b768;}
@keyframes ex-iris {
  0%{clip-path:circle(0 at var(--origin-x) var(--origin-y));opacity:1}
  40%,65%{clip-path:circle(155vmax at var(--origin-x) var(--origin-y));opacity:1}
  100%{clip-path:circle(155vmax at var(--origin-x) var(--origin-y));opacity:0}
}
@keyframes ex-compass-appear {0%,20%{opacity:0;scale:.8}50%,77%{opacity:1;scale:1}100%{opacity:0;scale:1.08}}
@keyframes ex-spin {from{transform:rotate(-60deg)}to{transform:rotate(90deg)}}

@media(max-width:1420px) {
  .ex-hero-postmark {right:30px;top:auto;bottom:37px;font-size:17px;}
  .ex-passport-frame {padding-inline:12px;}
  .ex-passport-head {gap:10px;}
  .ex-passport-body {gap:10px;}
  .ex-passport-identity>span:not(.ex-rank-line),.ex-rank-line small,.ex-passport-progress small {font-size:14px;}
  .ex-rank-icon {flex-basis:46px;height:49px;}
  .ex-rank-line {gap:8px;}
  .ex-map-stop b,.ex-map-stop small {font-size:14px;}
  .ex-map-stop {width:106px;}
  .ex-map-bottom {padding-inline:13px;}
  .ex-panel-head h2,.ex-collective h2,.ex-recent h2 {font-size:21px;}
  .ex-recent,.ex-collective {padding-inline:13px;}
  .ex-upcoming-card {gap:11px; grid-template-columns:50px minmax(0,1fr);}
  .ex-flag-stamp {width:50px;height:60px;}
  .ex-flag-stamp svg {width:35px;height:35px;}
  .ex-upcoming-copy .ex-mission-code {font-size:12px;}
  .ex-upcoming-copy p {font-size:14px;}
}
@media (max-width:1120px) {
  .ex-dashboard {
    grid-template-columns:1fr 1fr;grid-template-rows:auto;
    grid-template-areas:'passport stats' 'map map' 'road road' 'near near' 'events group'; gap:13px;
  }
  .ex-passport {height:282px;}
  .ex-stats {align-self:center;}
  .ex-stat {min-height:105px;}
  .ex-map {margin-top:0; height:300px;}
  .ex-road {min-height:165px;}
  .ex-upcoming {min-height:190px;}
  .ex-recent,.ex-collective {min-height:155px;}
}
@media (max-width:700px) {
  #main:has(> .expedition-page) {padding-bottom:92px;}
  .expedition-page h2 {font-size:21px;}
  .ex-hero {height:176px;}
  .ex-hero-copy {padding:14px 12px 0 18px;}
  .ex-hero-label {margin-left:0;padding:3px 14px 4px 18px;font-size:14px;gap:5px;}
  .ex-hero-label b {font-size:16px;}
  .ex-hero-trail {opacity:.35;}
  .ex-hero h1 {font-size:clamp(30px,7.9vw,42px);margin-top:7px;}
  .ex-hero p {font-size:14px;margin-left:0;}
  .ex-hero::before {inset:0 0 0 15%;opacity:.58;background-size:auto 100%;background-position:84% top;mask-image:linear-gradient(to right,transparent,#000 69%);}
  .ex-hero-postmark {right:13px;bottom:10px;padding:3px 11px;font-size:13px;}
  .ex-dashboard {margin:-5px 11px 0;grid-template-columns:minmax(0,1fr);gap:11px;
    grid-template-areas:'passport' 'stats' 'map' 'road' 'near' 'events' 'group';}
  .ex-passport {height:266px;}
  .ex-passport-head strong {font-size:clamp(17px,5.5vw,24px);}
  .ex-compass-seal {flex-basis:47px;}
  .ex-compass-seal svg {width:47px;height:47px;}
  .ex-passport-body {margin-top:0;}
  .ex-passport-illustration {height:136px;}
  .ex-passport-identity>strong {font-size:19px;}
  .ex-passport-progress {margin-top:0;}
  .ex-passport-progress b {font-size:19px;}
  .ex-gauge {height:14px;}
  .ex-stat {min-height:93px;}
  .ex-stat strong {font-size:25px;}
  .ex-stat small,.ex-stat:nth-child(3) small {font-size:12px;}
  .ex-stat svg {width:30px;height:30px;}
  .ex-stat>span {height:31px;}
  .ex-map {height:285px;}
  .ex-map-scroll {overflow:auto hidden;overscroll-behavior-inline:contain;scrollbar-color:#a4874f #f7e9cd;}
  .ex-map-sheet {min-width:645px;}
  .ex-map h2.ex-map-ribbon {left:12px;font-size:24px;}
  .ex-map-stop {width:102px;}
  .ex-map-marker,.ex-map-stop:first-child .ex-map-marker {width:52px;height:52px;}
  .ex-map-stop b,.ex-map-stop small {font-size:13px;}
  .ex-map-bottom {bottom:3px;}
  .ex-road {padding:9px 9px 22px;min-height:157px;}
  .ex-rank-rail {gap:3px;}
  .ex-road-orb {width:38px;height:38px;}
  .ex-road-orb svg {width:23px;height:23px;}
  .ex-rank-rail::before {top:17px;height:3px;}
  .ex-rank-rail b,.ex-rank-rail small {font-size:clamp(9px,2.7vw,12px);overflow-wrap:anywhere;}
  .ex-upcoming,.ex-recent,.ex-collective {min-height:0;}
  .ex-recent,.ex-collective {padding:10px 13px 14px;}
  .ex-events li {font-size:14px;gap:8px;}
  .ex-group-score {font-size:17px;}
  .ex-modal .ex-catalog-grid {grid-template-columns:1fr;}
}
@media (max-width:365px) {
  .ex-passport-frame {padding-inline:8px;}
  .ex-passport-body {gap:6px;}
  .ex-rank-line {gap:5px;}
  .ex-rank-icon {flex-basis:38px;height:43px;}
  .ex-rank-line strong {font-size:17px;}
  .ex-panel-head h2 {font-size:17px;}
  .ex-panel-head .ex-text-button {font-size:12px;}
  .ex-upcoming-card {gap:8px;padding-inline:8px;}
  .ex-upcoming-copy h3 {font-size:17px;}
  .ex-catalog-tools,.ex-achievements {grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce) {
  .ex-world-transition {display:none;}
  .expedition-page *, .ex-modal, .ex-modal * {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}
.ex-hero h1 {font-size:clamp(33px,2.83vw,48px);letter-spacing:-.027em;}
.ex-hero p {color:#15282a;font-weight:450;}
.ex-hero::before {inset-inline-start:34%;}
.ex-passport-head strong {font-size:clamp(20px,1.56vw,27px);}
.ex-passport-identity>strong {font-weight:600;}
.ex-rank-line strong {font-weight:600;}
.ex-map h2.ex-map-ribbon {width:245px;padding-left:36px;}
.ex-road {padding-top:5px;}
.ex-rank-rail {margin-top:8px;}
.ex-group-score strong {transform:translateY(5px);}
@media (max-width:700px) {
  .ex-hero h1 {font-size:clamp(30px,7.9vw,42px);}
  .ex-hero::before {inset-inline-start:15%;}
  .ex-passport-head strong {font-size:clamp(17px,5.5vw,24px);}
  .ex-map h2.ex-map-ribbon {width:auto;padding-left:20px;}
}
@media (min-width:1121px) {
  #main:has(> .expedition-page) {padding-bottom:0;}
  .ex-dashboard {margin-bottom:18px; grid-template-rows:300px 120px 20px 13px minmax(194px,auto);}
  .ex-road {margin-top:1px;margin-bottom:5px;}
  .ex-hero h1 {font-size:clamp(33px,2.75vw,46px);margin-top:4px;}
}
.ex-map h2.ex-map-ribbon {white-space:nowrap;padding-inline:33px 9px;font-size:27px;top:17px;}
.ex-recent .ex-events {margin-top:9px;}
.ex-group-score {margin-top:19px;margin-bottom:14px;}
.ex-map-stop:active .ex-map-marker {transform:translateY(-2px) scale(.94);}
.ex-hero-label {padding-right:22px;font-size:18px;}
.ex-hero-label b {font-size:22px;}
.ex-map-bottom {right:4px;bottom:1px;}
.ex-event-updated .ex-events li:first-child {animation:ex-event-in .38s ease-out both;}
.ex-form-status {position:sticky;bottom:0;box-shadow:0 -4px 12px #fcf8ef;}
@keyframes ex-event-in {from{opacity:.35;translate:0 4px}to{opacity:1;translate:0 0}}
@media(max-width:700px) {
  .ex-hero-label {font-size:14px;}
  .ex-hero-label b {font-size:16px;}
  .ex-map h2.ex-map-ribbon {font-size:24px;padding-inline:20px 15px;}
}
.ex-status:not(:empty) {
  position:fixed;z-index:41;right:18px;bottom:19px;max-width:min(360px,calc(100vw - 36px));
  padding:11px 15px;border:1px solid #d9af61;border-radius:10px;background:#154837;color:#fff4d9;
  box-shadow:0 4px 22px #0d3d3555;animation:ex-event-in .3s ease-out both;
}
@media(max-width:700px) {.ex-status:not(:empty){bottom:83px;}}
.ex-map-scroll-hint {display:none;}
@media(max-width:700px) {
  .ex-map {height:auto;}
  .ex-map-scroll {height:278px;}
  .expedition-page .ex-map-scroll-hint {display:flex;align-items:center;gap:6px;margin:6px 0 0 3px;font-size:12px;color:#52604f;}
  .ex-map-scroll-hint svg {width:15px;height:15px;}
}
/* Expedition sheets and coordinator workspace. */
.ex-modal {
  width:min(780px,calc(100% - 28px));
  border-radius:21px;
  border-color:#ceba94;
  background:#faf3e6 url('/static/assets/expedition-paper.webp');
}
.ex-modal-wide {width:min(1080px,calc(100% - 32px));}
.ex-modal::backdrop {background:#0b201ccc;backdrop-filter:blur(3px);}
.ex-modal .ex-dialog-content {padding:22px clamp(16px,3vw,32px) 24px;gap:15px;}
.ex-modal .ex-dialog-x {
  top:11px;margin:11px 11px -53px auto;background:#153b31;border-color:#efd48c8c;
  color:#fff3d1;box-shadow:0 2px 8px #0a241842;
}
.ex-modal .ex-dialog-x:hover {background:#2b5245;}
.ex-sheet-head {
  background:radial-gradient(ellipse at 86% 15%,#6a786456,transparent 64%),url('/static/assets/expedition-paper.webp'),#173f33;
  color:#fff7e4;border-bottom:3px solid #c89e4e;padding:19px clamp(16px,3vw,32px) 21px;
  position:relative;isolation:isolate;overflow:hidden;
}
.ex-sheet-head::after {
  content:'';position:absolute;inset:7px;border:1px dashed #ebc8786c;border-radius:13px;
  z-index:-1;pointer-events:none;
}
.ex-sheet-title {display:flex;align-items:center;gap:13px;padding-right:43px;}
.ex-sheet-title>span {
  display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:50%;
  background:#2b5847;color:#f8d47c;border:1px solid #dfbd66;box-shadow:inset 0 0 0 3px #173f33;
}
.ex-sheet-title>span svg {width:28px;height:28px;}
.ex-sheet-title p {color:#e7cf95;font-size:13px;line-height:1.25;margin-bottom:4px;}
.ex-modal .ex-sheet-title h2 {font-size:clamp(22px,3.8vw,34px);line-height:1.08;color:#fff7e4;overflow-wrap:anywhere;}
.ex-sheet-title h2:focus {outline:0;}
.ex-sheet-back {
  color:#fff0cc;background:#16362b55;border:1px solid #f1d3885f;border-radius:6px;cursor:pointer;
  margin:0 0 11px;padding:3px 8px;
}
.ex-sheet-back:hover {background:#375d48;}
.ex-modal :is(input,select,textarea) {min-height:40px;border-color:#c8bb9f;}
.ex-modal textarea {line-height:1.42;}
.ex-modal label>small {font-weight:400;color:#566457;}
.ex-modal h4 {font-size:15px;margin:0;color:#18382d;}
.ex-route-summary {
  display:flex;flex-wrap:wrap;gap:8px 20px;padding:11px 14px;border:1px solid #dfd2b3;border-radius:11px;
  background:#f1e8d0;color:#3c5844;font-size:14px;
}
.ex-route-summary b {color:#163e2e;font-weight:750;}
.ex-modal .ex-catalog-tools.is-scoped {grid-template-columns:1fr;}
.ex-modal .ex-found {font-size:13px;color:#506355;}
.ex-modal .ex-catalog-card {
  gap:9px;align-items:start;min-height:87px;padding:11px;border-color:#dcd0b6;background:#fffaf0;
  box-shadow:0 1px 4px #543c2510;
}
.ex-modal .ex-catalog-card:hover {background:#f4eddb;border-color:#a88c55;}
.ex-card-copy>small:first-child {color:#735629;font-weight:700;}
.ex-status-chip {
  display:inline-flex;align-items:center;justify-self:start;padding:3px 7px;border-radius:20px;
  font-size:11px;line-height:1.24;font-weight:700;background:#e8e5d9;color:#394b40;
  width:fit-content;text-wrap:pretty;
}
.ex-modal .ex-status-chip.ready {background:#e4eedc;color:#285437;}
.ex-modal .ex-status-chip.wait {background:#f7e8c3;color:#68490f;}
.ex-modal .ex-status-chip.working {background:#dfebe7;color:#245041;}
.ex-modal .ex-status-chip.muted {background:#e9e7df;color:#46554b;}
.ex-catalog-card .ex-points {font-size:11px;}
.ex-mission-meta {
  display:flex;gap:8px 16px;align-items:center;flex-wrap:wrap;
  color:#435849;font-size:13px;
}
.ex-mission-meta .ex-status-chip {font-size:13px;}
.ex-mission-layout {display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:12px;align-items:start;}
.ex-mission-main {display:grid;gap:10px;}
.ex-dialog-paper,.ex-admin-block {
  border:1px solid #ddd0b5;border-radius:13px;background:#fffaf1;padding:12px 14px;display:grid;gap:8px;
}
.ex-dialog-paper h3,.ex-admin-block h3 {font-size:20px;margin:0;}
.ex-mission-copy-text,.ex-feedback p {white-space:pre-line;overflow-wrap:anywhere;color:#354b40;}
.ex-modal form.ex-dialog-paper {padding:12px 14px;}
.ex-mission-access {background:#f2ecdb;}
.ex-criteria,.ex-link-checklist {
  display:grid;gap:6px;list-style:none;padding:0;margin:0;
}
.ex-criteria li,.ex-link-checklist li {display:flex;gap:8px;align-items:flex-start;min-width:0;}
.ex-criteria li>svg,.ex-link-checklist li>svg {width:17px;height:17px;margin-top:3px;color:#3a7049;}
.ex-criteria li span,.ex-link-checklist li span {min-width:0;overflow-wrap:anywhere;}
.ex-link-checklist li {padding:7px 0;border-bottom:1px solid #dfd4bd;}
.ex-link-checklist li:last-child {border-bottom:0;}
.ex-link-checklist li small,.ex-link-checklist li a {display:block;font-size:13px;}
.ex-link-checklist li small {color:#506053;}
.ex-link-checklist li a {text-decoration:underline;color:#215b44;text-underline-offset:2px;}
.ex-link-checklist li .ex-text-button {margin-left:auto;flex-shrink:0;font-size:13px;color:#215b44;}
.ex-mission-actions .ex-button {min-height:42px;}
.ex-feedback {background:#f5ecd1;}

.ex-segment {display:flex;align-items:center;flex-wrap:wrap;gap:4px;}
.ex-segment button {
  border:1px solid #dbcdb0;border-radius:8px;padding:6px 10px;background:#fbf6e8;color:#294936;
  font-size:14px;font-weight:650;cursor:pointer;
}
.ex-segment button[aria-pressed=true] {background:#214d3b;border-color:#214d3b;color:#fff7e4;}
.ex-segment button:hover:not([aria-pressed=true]) {background:#f0e5ca;}
.ex-segment button span {
  background:#e2c477;color:#273624;font-size:11px;padding:2px 5px;border-radius:10px;
}
.ex-admin-nav {border-bottom:1px solid #dfd1b3;padding-bottom:12px;}
.ex-admin-overview {display:grid;gap:14px;margin:12px 0;}
.ex-admin-overview-head {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;}
.ex-admin-overview-head p {margin:0;color:#695332;font-size:13px;font-weight:700;}
.ex-launch-plan {background:#fffbef;}
.ex-launch-plan>p {margin:0 0 12px;}
.ex-launch-points {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;}
.ex-launch-points button {display:grid;align-content:center;gap:3px;min-height:55px;text-align:left;padding:8px 10px;border:1px solid #d9cbaa;border-radius:9px;background:#f6efdc;color:#294936;cursor:pointer;}
.ex-launch-points button[aria-pressed=true] {background:#214d3b;border-color:#214d3b;color:#fff7e4;}
.ex-launch-points button small {color:inherit;}
.ex-launch-detail {display:grid;gap:9px;margin-top:12px;padding:12px;border:1px solid #e2d3b4;border-radius:10px;background:#fffaf1;}
.ex-launch-detail :is(h4,p) {margin:0;}
.ex-modal .ex-launch-warning {color:#644613;background:#f7ebcc;padding:8px 10px;border-radius:8px;}
.ex-launch-warning .ex-text-button {margin-inline:3px;}
.ex-launch-detail .ex-actions {align-items:flex-start;flex-wrap:wrap;}
.ex-modal form.ex-launch-control {padding:0;margin:0;min-width:0;}
.ex-launch-control .ex-button {white-space:normal;min-height:36px;text-align:left;}
.ex-admin-workspace a.ex-secondary {display:inline-flex;align-items:center;}
@media(max-width:900px) {.ex-launch-points {grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:560px) {.ex-launch-points {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:380px) {.ex-launch-points {grid-template-columns:1fr;}}
.ex-launch-points button b {overflow-wrap:anywhere;}
.ex-admin-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.ex-admin-shortcuts button {display:grid;justify-items:start;gap:5px;text-align:left;padding:14px;border:1px solid #d9cbaa;border-radius:14px;background:#fbf4e3;color:#244c3c;}
.ex-admin-shortcuts button:hover {border-color:#789176;background:#eef0dd;}
.ex-admin-shortcuts b {font-family:Georgia,serif;font-size:28px;line-height:1;}
.ex-admin-shortcuts span {font-weight:800;font-size:14px;line-height:1.3;}
.ex-admin-shortcuts small {font-size:12px;color:#695332;}
.ex-remove-window {margin-top:12px;}
.ex-saving :is([data-exp-staff-section],[data-exp-staff-mission]) {cursor:progress;}
@media(max-width:700px) {.ex-admin-shortcuts {grid-template-columns:1fr;}.ex-admin-shortcuts button {grid-template-columns:2em minmax(0,1fr);column-gap:8px;}.ex-admin-shortcuts b {grid-row:span 2;align-self:center;}}
.ex-admin-grid {display:grid;grid-template-columns:minmax(225px,.8fr) minmax(0,1.8fr);gap:15px;align-items:start;}
.ex-admin-list,.ex-admin-workspace {display:grid;gap:9px;min-width:0;}
.ex-admin-list {
  padding:10px;background:#f3ebd8;border:1px solid #e1d1ae;border-radius:12px;
}
.ex-admin-list .ex-found {margin:3px 0 6px!important;}
.ex-admin-options {display:grid;gap:5px;max-height:400px;overflow:auto;overscroll-behavior:contain;padding:3px;}
.ex-admin-option {
  display:flex;gap:6px;align-items:center;justify-content:space-between;min-width:0;text-align:left;
  border:1px solid #ddcfb1;padding:7px 8px;border-radius:8px;background:#fffaf0;color:#223c30;cursor:pointer;
}
.ex-admin-option>span:first-child {display:grid;gap:1px;min-width:0;}
.ex-admin-option small {font-size:11px;color:#795e2d;}
.ex-admin-option b {font-size:13px;line-height:1.23;overflow-wrap:anywhere;}
.ex-admin-option[aria-pressed=true] {background:#e8eee0;border-color:#739272;}
.ex-admin-option:hover {background:#f5efde;}
.ex-admin-option .ex-status-chip {flex:0 0 auto;max-width:98px;text-align:center;}
.ex-admin-workspace header {padding:4px 0;}
.ex-admin-workspace h3 {font-size:25px;overflow-wrap:anywhere;}
.ex-admin-workspace header h3 {margin:3px 0;}
.ex-admin-block h5 {font-size:14px;font-weight:750;margin:14px 0 5px;color:#244c3c;}
.ex-admin-block-head {display:flex;justify-content:space-between;align-items:center;gap:10px;}
.ex-admin-hint {color:#506053;font-size:13px;}
.ex-modal form.ex-admin-form {padding:3px 0;min-width:0;}
.ex-date-fields,.ex-review-sections {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start;}
.ex-modal form.ex-preview-form {grid-template-columns:minmax(0,1fr) auto;align-items:end;padding:0;}
.ex-preview-result {display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #cbd8bd;border-radius:9px;background:#eef2e4;}
.ex-preview-result svg {width:21px;height:21px;color:#3f734d;}
.ex-preview-result small {display:block;margin-top:4px;color:#435e47;}
.ex-secondary {
  min-height:36px;border:1px solid #b69b61;border-radius:8px;background:#fff7df;color:#493b1f;padding:6px 10px;cursor:pointer;
}
.ex-secondary:hover {background:#f8e7bd;}
.ex-secondary:disabled {opacity:.55;}
.ex-related-missions {display:grid;gap:5px;}
.ex-related-missions button {background:#fffaf0;border:1px solid #e0d5ba;border-radius:7px;padding:6px 8px;}
.ex-related-missions small {color:#735629;}
.ex-related-missions svg {margin-left:auto;width:15px;height:15px;}
.ex-modal .ex-staff-card {background:#faf2df;}
.ex-modal .ex-staff-card summary small {display:block;color:#4f6252;font-size:12px;}
.ex-staff-card .ex-criteria {font-size:13px;list-style:disc;margin:7px 0 7px 19px;}
.ex-staff-card .ex-criteria li {display:list-item;}
.ex-admin-empty {color:#526457;font-size:14px;padding:5px;}
@media (max-width:700px) {
  .ex-modal {width:calc(100% - 16px);max-height:calc(100dvh - 20px);border-radius:15px;}
  .ex-modal .ex-dialog-content {padding:13px;}
  .ex-sheet-head {padding:16px 13px;}
  .ex-sheet-title {gap:9px;padding-right:42px;}
  .ex-sheet-title>span {width:38px;height:38px;flex-basis:38px;}
  .ex-sheet-title>span svg {width:22px;height:22px;}
  .ex-modal .ex-dialog-x {width:36px;height:36px;margin:9px 9px -45px auto;}
  .ex-modal .ex-dialog-x svg {width:19px;height:19px;}
  .ex-mission-layout,.ex-admin-grid,.ex-review-sections {grid-template-columns:minmax(0,1fr);}
  .ex-mission-access {grid-row:1;}
  .ex-admin-options {max-height:148px;}
  .ex-modal .ex-catalog-card {min-height:74px;}
}
@media (max-width:380px) {
  .ex-date-fields,.ex-modal form.ex-preview-form {grid-template-columns:minmax(0,1fr);}
  .ex-modal .ex-sheet-title h2 {font-size:22px;}
}
.ex-groups { display:grid; gap:14px; }
.ex-reset-expedition { border-color:#d9b5a6; }
.ex-reset-expedition summary { color:#873928; font-weight:750; cursor:pointer; }
.ex-reset-expedition .ex-reset-button { color:#873928; border-color:#d9b5a6; }
.ex-submit-materials { margin-top: 14px; }
.ex-result-archive + .ex-point-awards { margin-top: 14px; }
.ex-result-filters { grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); align-items:end; }
.ex-material-form { min-width:0; }
.ex-material-form input[type=file] { width:100%; min-width:0; }
.ex-material-form input::file-selector-button { border:1px solid #cbbd9b; border-radius:7px; background:#f9f2dd; color:#20483a; padding:7px 9px; margin-right:8px; cursor:pointer; }
.ex-material-version { border:1px solid #deceb0; background:#fbf7eb; border-radius:11px; padding:10px; margin:9px 0; min-width:0; }
.ex-material-files { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr)); gap:8px; list-style:none; padding:0; margin:8px 0; }
.ex-material-files li { display:grid; align-content:start; gap:4px; min-width:0; overflow-wrap:anywhere; }
.ex-material-files img { display:block; width:100%; max-width:320px; height:110px; object-fit:contain; background:#f1ead9; border-radius:8px; }
.ex-material-files a, .ex-report a { text-decoration:underline; color:#244f40; }
.ex-result-tools, .ex-result-pages { margin-top:10px; }
.ex-result-tools summary, .ex-point-awards summary { cursor:pointer; font-weight:700; }
.ex-result-pages { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.ex-material-setting { display:grid; gap:8px; padding:10px; border:1px solid #deceb0; border-radius:10px; }
.ex-material-setting[hidden], .ex-material-setting [hidden] { display:none; }
.ex-modal .ex-material-check { display:flex; align-items:center; gap:9px; }
.ex-modal .ex-material-check input { width:18px; height:18px; flex:none; margin:0; accent-color:#244f40; }
.ex-material-setting > p { margin:0; }
.ex-result-views { margin:12px 0; }
.ex-link-checklist .ex-goal-row { flex-wrap: wrap; min-width: 0; }
.ex-goal-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.ex-goal-actions form { margin: 0; }
.ex-collective .ex-current-goal { margin-block-end: 5px; }
.ex-material-result > header { display:grid; gap:3px; }
.ex-material-result > header small { color:#425b4f; overflow-wrap:anywhere; }
