@font-face {
  font-family: Inter;
  src: local("Inter");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
:root {
  --green: #008b5d;
  --dark: #006c48;
  --ink: #101d35;
  --muted: #64758c;
  --line: #e1ebe7;
  --mint: #eaf7f0;
  --bg: #f4f8f6;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.5 Inter,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--dark);
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1.1px;
}
h2 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.45px;
}
h3 {
  font-size: 17px;
  line-height: 1.3;
}
p {
  margin: 12px 0;
  color: var(--muted);
}
small {
  font-size: 12px;
  color: var(--muted);
}
strong,
b {
  font-weight: 650;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 999;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid #24b58c;
  outline-offset: 3px;
}
button {
  background: none;
  border: 0;
  color: inherit;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #d4e2db;
  border-radius: 10px;
  padding: 12px 13px;
  min-height: 46px;
  background: #fff;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 115px;
}
input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  accent-color: var(--green);
  flex-shrink: 0;
  margin: 0;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 550;
}
label > input:not([type="checkbox"]):not([type="radio"]),
label > textarea,
label > select {
  margin-top: 7px;
}
form {
  display: grid;
  gap: 18px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 9px;
}
.topbar {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 25px;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand strong {
  color: #071b2c;
  font-weight: 800;
}
.brand span {
  font-weight: 450;
  color: var(--green);
}
.brand img {
  width: 35px;
  height: 35px;
  margin-right: 6px;
}
.desktop-search {
  max-width: 520px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: #f7faf8;
  border-radius: 12px;
  padding: 0 14px;
  color: var(--muted);
}
.desktop-search input {
  border: 0;
  background: none;
  outline: none;
  padding-left: 0;
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
}
.identity small {
  display: block;
}
.avatar {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d9efe2;
  color: var(--dark);
  font-weight: 700;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #d8e7df;
}
.avatar.large {
  width: 72px;
  height: 72px;
  font-size: 30px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  position: relative;
  font-size: 24px;
  flex-shrink: 0;
}
.dot {
  display: inline-block;
  height: 8px;
  width: 8px;
  background: #f16746;
  border-radius: 50%;
}
.icon-button .dot {
  position: absolute;
  right: 7px;
  top: 7px;
}
.sidebar {
  position: fixed;
  top: 76px;
  bottom: 0;
  left: 0;
  width: 232px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.sidebar nav a {
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #43546a;
  border-radius: 9px;
  font-size: 14px;
}
.sidebar nav a.active {
  background: #dff3e9;
  color: var(--dark);
  font-weight: 700;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 14px;
  background: linear-gradient(145deg, #f2faf6, #e9f5ed);
  border-radius: 14px;
}
.sidebar-bottom p {
  color: var(--dark);
}
.sidebar-bottom a {
  font-size: 12px;
}
.sidebar-bottom .icon {
  width: 16px;
}
main {
  width: calc(100% - 232px);
  margin-left: calc(232px + max(0px, (100vw - 232px - 1640px) / 2));
  padding: 16px 28px 55px;
  max-width: 1640px;
}
.prototype {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: #819289;
  margin-bottom: 16px;
}
.switch-mode {
  white-space: nowrap;
}
.bottom-nav {
  display: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 15px 0 25px;
}
.page-heading p {
  margin: 9px 0 0;
}
.eyebrow {
  font-size: 10px;
  color: var(--green);
  font-weight: 750;
  letter-spacing: 1.6px;
}
.button {
  min-height: 46px;
  border-radius: 10px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  border: 1px solid transparent;
  transition: 0.16s;
}
.primary {
  background: linear-gradient(110deg, #007e53, #009865);
  color: #fff;
  box-shadow: 0 3px 6px #008b5d12;
}
.primary:hover {
  background: #007d53;
  transform: translateY(-1px);
}
.outline {
  background: #fff;
  border-color: #bcd7c9;
  color: var(--dark);
}
.soft {
  background: var(--mint);
  color: var(--dark);
}
.small {
  font-size: 12px;
  padding: 9px 12px;
  min-height: 38px;
}
.full {
  width: 100%;
}
.text-link,
.text-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--dark);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 0;
}
.text-button.danger,
.danger {
  color: #bb3946;
}
.danger-button {
  background: #d84a57;
  color: white;
}
.round-link {
  display: grid;
  place-items: center;
  background: var(--mint);
  border-radius: 50%;
  height: 34px;
  width: 34px;
  flex-shrink: 0;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px #153a2b03;
  min-width: 0;
}
.panel > h2 {
  margin-bottom: 19px;
}
.panel p:last-child {
  margin-bottom: 0;
}
.home-layout,
.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 24px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 3px 0 16px;
}
.section-heading > a {
  font-size: 12px;
  white-space: nowrap;
}
.section-heading .icon {
  width: 16px;
}
.welcome {
  position: relative;
  background: #e8f5ee;
  min-height: 240px;
  margin-bottom: 26px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.welcome > div {
  z-index: 2;
  position: relative;
  padding: 30px;
  width: 47%;
  background: linear-gradient(90deg, #e7f4ed 0%, #e7f4edec 64%, #e7f4ed00 100%);
}
.welcome h1 {
  font-size: 39px;
  margin-top: 9px;
}
.welcome p {
  color: #486b5c;
  max-width: 320px;
  margin-bottom: 20px;
}
.welcome-photo {
  position: absolute;
  right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.mini {
  display: flex;
  gap: 17px;
  align-items: center;
}
.mini img {
  width: 135px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}
.mini b {
  display: block;
  font-size: 19px;
  line-height: 1.3;
}
.mini small {
  display: block;
  margin-top: 7px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 13px 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 5px 9px;
  background: #e3f5ea;
  color: #006f46;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 550;
}
.badge.amber {
  background: #fff2da;
  color: #9e6500;
}
.badge.red {
  background: #ffe9eb;
  color: #a43140;
}
.badge.gray {
  background: #f0f3f5;
  color: #65748a;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.event-grid.wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.event-card {
  position: relative;
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.card-image {
  display: block;
  height: 175px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-copy {
  padding: 17px;
}
.card-copy h3 {
  margin: 10px 0;
}
.card-copy h3 a {
  color: var(--ink);
}
.info {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0;
}
.info .icon {
  width: 17px;
  height: 19px;
  color: #687f74;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}
.card-bottom small {
  font-size: 10px;
}
.save-button {
  position: absolute;
  right: 12px;
  top: 12px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: white;
  box-shadow: 0 1px 8px #0002;
  color: #576b61;
}
.save-button.selected {
  color: #dc5862;
}
.save-button.selected svg {
  fill: #ffedef;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.stats > div {
  background: #f4f9f6;
  border: 1px solid #e7f0eb;
  text-align: center;
  border-radius: 12px;
  padding: 17px 6px;
}
.stats b {
  display: block;
  font-size: 28px;
  letter-spacing: -0.8px;
  margin-top: 6px;
}
.stats small {
  font-size: 11px;
  display: block;
  line-height: 1.4;
}
.stats .icon {
  color: var(--green);
}
.dobrik-tip {
  background: linear-gradient(135deg, #ebf8ef, #f4faf6);
  border: 1px solid #dfefe5;
  border-radius: 15px;
  display: flex;
  align-items: center;
  padding: 20px 18px 0 8px;
  gap: 8px;
  overflow: hidden;
  min-height: 155px;
}
.dobrik-tip img {
  width: 105px;
  height: 145px;
  object-fit: contain;
  object-position: bottom;
  margin-top: 2px;
  align-self: flex-end;
}
.dobrik-tip div {
  padding-bottom: 20px;
}
.dobrik-tip b {
  color: var(--dark);
  font-size: 15px;
}
.dobrik-tip p {
  font-size: 13px;
  margin: 7px 0 0;
}
.quick-links {
  display: grid;
}
.quick-links > a,
.quick-links > button {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--dark);
  font-size: 14px;
  text-align: left;
}
.quick-links > :last-child {
  border-bottom: 0;
}
.search-box {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 14px;
  max-width: 540px;
  color: var(--green);
}
.search-box input {
  border: 0;
  outline: 0;
  background: none;
  padding-left: 0;
}
.filters {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 20px;
}
.pills button {
  padding: 9px 15px;
  border: 1px solid #dce8e1;
  border-radius: 24px;
  background: #fff;
  color: #536e60;
  font-size: 13px;
  min-height: 40px;
}
.pills button.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 20px;
}
.map-layout #good-map {
  height: 600px;
  border: 1px solid var(--line);
  border-radius: 18px;
  z-index: 1;
  background: #e6eee7;
}
.good-marker {
  background: var(--green);
  border: 3px solid white;
  border-radius: 50% 50% 50% 0;
  color: white;
  box-shadow: 0 3px 8px #00332244;
  display: grid;
  place-items: center;
}
.good-marker svg {
  transform: rotate(45deg);
}
.map-layout .event-card {
  position: sticky;
  top: 100px;
}
.fine {
  font-size: 11px;
  color: #7b8a82;
  line-height: 1.55;
}
.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr);
  gap: 26px;
  max-width: 1260px;
  margin: auto;
}
.event-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
}
.event-hero {
  height: 270px;
  position: relative;
}
.event-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-back {
  position: absolute;
  left: 16px;
  top: 16px;
}
.hero-label {
  position: absolute;
  bottom: 16px;
  left: 24px;
}
.event-title {
  padding: 23px 26px 12px;
}
.event-title h1 {
  font-size: 28px;
  letter-spacing: -0.9px;
  margin-bottom: 17px;
}
.event-title .info {
  font-size: 14px;
  margin: 9px 0;
}
.phase-nav {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  gap: 22px;
  background: white;
  position: sticky;
  top: 76px;
  z-index: 10;
}
.phase-nav a {
  font-size: 13px;
  padding: 16px 0;
  color: var(--muted);
  position: relative;
}
.phase-nav a.active {
  color: var(--dark);
  font-weight: 700;
}
.phase-nav a.active:after {
  content: "";
  position: absolute;
  height: 3px;
  background: var(--green);
  bottom: 0;
  left: 0;
  right: 0;
}
.event-body {
  padding: 24px;
  display: grid;
  gap: 22px;
}
.event-body > .panel {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 22px;
  box-shadow: none;
}
.event-body > .panel h2 {
  font-size: 18px;
  margin-bottom: 15px;
}
.notice {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 17px;
  border-radius: 12px;
  background: #ecf8f0;
  color: var(--dark);
  border: 1px solid #dcefe2;
}
.notice p {
  font-size: 13px;
  margin: 5px 0 0;
  color: inherit;
}
.notice b {
  font-size: 14px;
}
.notice.amber {
  background: #fff7e9;
  color: #9a6519;
  border-color: #f3e5c9;
}
.notice.red {
  background: #fff1f1;
  color: #ad3542;
  border-color: #f2d6da;
}
.two-actions,
.two-fields,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.two-actions {
  margin: 10px 0;
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
}
.check-list .icon {
  width: 20px;
  color: var(--green);
}
.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
}
.schedule li {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 0 0 24px 17px;
  margin-left: 4px;
  border-left: 1px solid #cde5d7;
  font-size: 13px;
}
.schedule li:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a8d9bd;
  position: absolute;
  top: 5px;
  left: -5px;
  box-shadow: 0 0 0 3px #fff;
}
.schedule li:first-child:before {
  background: var(--green);
}
.schedule li:last-child {
  padding-bottom: 0;
  border: 0;
}
.schedule time {
  color: var(--muted);
  min-width: 40px;
}
.schedule small {
  display: block;
}
.bring-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.bring {
  background: #f3f9f5;
  border-radius: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 14px 5px;
  gap: 9px;
  position: relative;
}
.bring .icon {
  color: var(--green);
  width: 25px;
  height: 25px;
}
.bring span {
  font-size: 11px;
  line-height: 1.35;
}
.bring input {
  width: 16px;
  height: 16px;
}
.meeting-image {
  height: 180px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.person {
  display: flex;
  gap: 12px;
  align-items: center;
}
.person small {
  display: block;
}
.org-avatar {
  height: 42px;
  width: 42px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--mint);
  border-radius: 50%;
}
.bottom-action {
  text-align: center;
}
.event-aside .mini img {
  width: 90px;
  height: 90px;
}
.event-aside .mini b {
  font-size: 15px;
}
.event-aside .mini small {
  font-size: 11px;
}
.journey {
  display: grid;
  gap: 18px;
  font-size: 13px;
  color: #8c9891;
}
.journey > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.journey .icon {
  border-radius: 50%;
  background: #edf1ee;
  padding: 3px;
  width: 25px;
  height: 25px;
}
.journey .done {
  color: var(--dark);
}
.journey .done .icon {
  background: var(--green);
  color: white;
}
.demo-states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qr-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f4faf6;
}
.qr {
  width: 125px;
  flex-shrink: 0;
  background: white;
  padding: 6px;
  border-radius: 6px;
}
.qr svg {
  display: block;
  width: 100%;
  height: auto;
}
.qr-card p {
  font-size: 12px;
  margin: 6px 0;
}
.qr-card code {
  font-size: 11px;
  color: var(--muted);
}
.task-box {
  display: flex;
  gap: 14px;
  background: #edf8f0;
  padding: 18px;
  border-radius: 12px;
}
.task-box .icon {
  color: var(--green);
}
.task-box p {
  font-size: 13px;
}
.contact-grid .panel {
  padding: 17px;
}
.contact-grid h2 {
  font-size: 15px;
}
.contact-grid b {
  font-size: 13px;
}
.contact-grid p {
  font-size: 12px;
}
.thankyou {
  display: flex;
  align-items: center;
  gap: 14px;
  background: radial-gradient(ellipse at 30% 60%, #e2f5db, #f6fcf6);
  padding: 18px 14px 0;
  border-radius: 15px;
  min-height: 210px;
  overflow: hidden;
}
.thankyou img {
  height: 210px;
  width: 150px;
  object-fit: contain;
  align-self: flex-end;
}
.thankyou h2 {
  font-size: 26px;
  color: #074a34;
  line-height: 1.25;
}
.thankyou p {
  font-size: 13px;
}
.thankyou .eyebrow {
  font-size: 8px;
}
.contribution {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contribution b {
  font-size: 38px;
  color: var(--dark);
}
.contribution span {
  color: var(--muted);
  font-size: 13px;
}
.photo-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.photo-strip > div {
  position: relative;
  width: 92px;
  height: 110px;
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.remove-photo {
  position: absolute;
  top: 4px;
  right: 4px;
  background: white;
  border-radius: 50%;
  width: 23px;
  height: 23px;
}
.add-photo {
  width: 92px;
  height: 110px;
  background: #f1f8f4;
  border: 1px dashed #afd6c1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green);
  gap: 10px;
  cursor: pointer;
}
.add-photo span {
  font-size: 11px;
}
.rating {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.rating label input {
  position: absolute;
  opacity: 0;
}
.rating span {
  display: grid;
  place-items: center;
  border: 2px solid transparent;
  background: #f6f8f7;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  font-size: 25px;
}
.rating input:checked + span {
  border-color: var(--green);
  background: #dcf2e5;
}
.rating input:focus-visible + span {
  outline: 3px solid #36b48a;
}
.visibility {
  display: grid;
  gap: 9px;
}
.visibility label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 10px;
  font-size: 13px;
}
.visibility label:has(input:checked) {
  background: #e9f8ef;
  border-color: #85c7a5;
}
.visibility .icon {
  color: var(--green);
}
.visibility input {
  margin-left: auto;
}
.visibility small {
  display: block;
}
.activity-list {
  display: grid;
  gap: 18px;
}
.activity-row {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 22px;
  align-items: center;
}
.activity-row > img {
  width: 180px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}
.activity-row h2 {
  font-size: 20px;
}
.activity-row .info {
  margin: 8px 0;
}
.activity-row .stack {
  gap: 8px;
}
.profile-intro {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 20px 0;
}
.profile-intro p {
  font-size: 14px;
  margin: 6px 0;
}
.story-banner {
  position: relative;
  height: 220px;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  margin: 24px 0;
}
.story-banner img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.story-banner:after,
.public-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #052b23b8, transparent);
}
.story-banner > div {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
}
.story-banner h2 {
  font-size: 28px;
}
.story-banner p {
  color: #e3ede7;
  margin: 8px 0 15px;
}
.story-banner span {
  font-size: 12px;
}
.story-banner .icon {
  width: 16px;
}
.story-list {
  display: grid;
  gap: 15px;
}
.story-row {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.story-row > img {
  width: 100px;
  height: 110px;
  object-fit: cover;
  border-radius: 9px;
}
.story-row > div {
  flex: 1;
  min-width: 0;
}
.story-row .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.story-row h3 {
  margin: 5px 0 8px;
  font-size: 17px;
}
.story-row h3 a {
  color: var(--ink);
}
.story-row small {
  font-size: 11px;
}
.story-row .status-line {
  margin-bottom: 0;
}
.place-map {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.place-map img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.place-map > div {
  position: absolute;
  top: 45%;
  left: 30%;
  background: white;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 2px 12px #00272222;
  font-size: 12px;
  color: var(--dark);
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.gallery img {
  height: 110px;
  object-fit: cover;
  width: 100%;
  border-radius: 9px;
}
.deed-detail {
  max-width: 900px;
  margin: auto;
}
.deed-cover {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 17px 17px 0 0;
  margin-top: 15px;
}
.deed-copy {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0 0 17px 17px;
}
.deed-copy h1 {
  margin: 10px 0 20px;
}
.story-text {
  font-size: 18px;
  line-height: 1.8;
  margin: 24px 0;
  color: #435b50;
  white-space: pre-wrap;
}
.deed-copy .two-actions {
  margin-top: 25px;
}
.public-page {
  max-width: 800px;
  margin: 10px auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
}
.public-page > .section-heading {
  padding: 20px 24px 0;
}
.public-page h1 {
  font-size: 23px;
}
.preview-note {
  font-size: 11px;
  padding: 0 24px;
  margin: 8px 0 18px;
}
.public-cover {
  height: 340px;
  position: relative;
}
.public-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.public-cover > div {
  position: absolute;
  left: 26px;
  bottom: 25px;
  z-index: 2;
  color: white;
}
.public-cover h2 {
  font-size: 33px;
  margin-top: 12px;
}
.public-cover p {
  color: #e6f1e9;
  margin: 3px 0;
}
.public-copy {
  padding: 26px;
  display: grid;
  gap: 20px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.public-hours {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #f0f8f3;
  padding: 18px;
  border-radius: 12px;
  color: var(--dark);
}
.public-hours strong {
  font-size: 28px;
}
.public-hours span {
  font-size: 12px;
}
.notification-list {
  max-width: 900px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.notification {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.notification h2 {
  font-size: 16px;
}
.notification p {
  font-size: 13px;
  margin: 6px 0 0;
}
.notification .dot,
.notification > .icon {
  margin-left: auto;
  flex-shrink: 0;
}
.notification.read {
  opacity: 0.65;
}
.notice-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f6ee;
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 25px;
}
.interest-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.interest-fields label {
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 400;
}
.toggle-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.toggle-row small {
  display: block;
  font-weight: 400;
  max-width: 400px;
  margin-top: 6px;
}
.studio-layout {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(0, 1.2fr);
  gap: 30px;
}
.studio-steps {
  padding-left: 24px;
  display: grid;
  gap: 25px;
  margin: 22px 0;
}
.studio-steps li::marker {
  font-weight: 800;
  color: var(--green);
}
.upload-box {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  border: 1px dashed #95c4aa;
  background: #f3faf6;
  padding: 18px;
  border-radius: 12px;
  color: var(--dark);
  margin-top: 13px;
  cursor: pointer;
}
.format-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.format-options button {
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
}
.format-options button.active {
  background: #e2f5e9;
  border-color: var(--green);
  color: var(--dark);
}
.studio-controls > label {
  margin: 25px 0;
}
.studio-controls > .notice {
  margin: 20px 0;
}
.studio-stage {
  background: #e7eeea;
  border: 1px solid #dbe6df;
  border-radius: 18px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  min-width: 0;
}
.design-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 12px 35px #17382a22;
  background: #d5e2d9;
}
.design-preview.banner {
  aspect-ratio: 1600/650;
}
.design-preview.story {
  aspect-ratio: 9/16;
  max-width: 370px;
}
.design-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.design-preview.warm > img {
  filter: sepia(0.14) saturate(1.12) brightness(1.03);
}
.design-preview.editorial > img {
  filter: saturate(0.8) contrast(1.08);
}
.design-preview:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, #002a1be8);
}
.design-preview.portrait:after {
  display: none;
}
.design-brand {
  position: absolute;
  left: 6%;
  top: 7%;
  z-index: 2;
  color: white;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.design-caption {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 8%;
  z-index: 2;
  color: white;
}
.design-caption small {
  color: #cce9d5;
  font-size: 9px;
  letter-spacing: 1.4px;
}
.design-caption h2 {
  font-size: 29px;
  margin: 10px 0;
}
.design-caption p {
  color: white;
  font-size: 12px;
}
.design-preview.banner h2 {
  font-size: 20px;
}
.design-preview.banner small {
  display: none;
}
.export-preview {
  max-height: 65vh;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 12px;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  background: white;
  border: 1px dashed #cbded1;
  border-radius: 14px;
  grid-column: 1/-1;
}
.empty > .icon {
  width: 38px;
  height: 38px;
  color: var(--green);
  margin-bottom: 15px;
}
.empty p {
  max-width: 390px;
  margin: 12px auto 20px;
}
.muted {
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  width: min(550px, calc(100% - 28px));
  padding: 25px;
  max-height: 90dvh;
  box-shadow: 0 25px 100px #00332244;
  color: var(--ink);
}
dialog::backdrop {
  background: #092b265e;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.dialog-head h2 {
  font-size: 21px;
}
.dialog-head .icon-button {
  width: 34px;
  height: 34px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  margin: 22px 0;
}
.consent input {
  margin-top: 3px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 15px);
  background: #123e2e;
  color: white;
  border-radius: 12px;
  padding: 14px 22px;
  max-width: calc(100% - 30px);
  width: max-content;
  box-shadow: 0 8px 40px #00332233;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 100;
  font-size: 13px;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1700px) {
  main {
    padding: 20px 40px 60px;
  }
  .event-grid.wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .welcome {
    min-height: 290px;
  }
  .welcome h1 {
    font-size: 46px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 200px;
    padding: 20px 10px;
  }
  main {
    width: calc(100% - 200px);
    margin-left: 200px;
    padding: 15px 20px 40px;
  }
  .topbar {
    gap: 24px;
    padding: 0 20px;
  }
  .identity > span:last-child {
    display: none;
  }
  .home-layout,
  .portfolio-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  }
  .panel {
    padding: 20px;
  }
  .event-grid.wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .event-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(250px, 1fr);
    gap: 18px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .event-aside .mini {
    display: block;
  }
  .event-aside .mini img {
    width: 100%;
    height: 130px;
    margin-bottom: 12px;
  }
  .activity-row {
    grid-template-columns: 130px 1fr;
  }
  .activity-row > img {
    width: 130px;
    height: 130px;
  }
  .activity-row > .stack {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
  }
  .studio-layout {
    gap: 20px;
    grid-template-columns: 1fr 1fr;
  }
  .studio-stage {
    padding: 20px;
  }
  .design-caption h2 {
    font-size: 23px;
  }
  .story-row > img {
    width: 80px;
    height: 100px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
  main {
    width: 100%;
    margin-left: 0;
    padding: 15px 22px 100px;
  }
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fffffff5;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 40;
    min-height: 72px;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    color: #71837a;
    font-size: 10px;
    padding: 12px 8px;
    min-width: 50px;
  }
  .bottom-nav a.active {
    color: var(--dark);
    font-weight: 750;
  }
  .bottom-nav a.active .icon {
    fill: #e1f4e8;
  }
  .desktop-search {
    max-width: 370px;
  }
  #toast {
    bottom: 85px;
  }
  .event-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
  }
  .event-body {
    padding: 20px;
  }
  .event-title {
    padding: 22px 20px 12px;
  }
  .phase-nav {
    padding: 0 20px;
    gap: 18px;
  }
  .event-title h1 {
    font-size: 25px;
  }
  .thankyou {
    padding: 15px 8px 0;
  }
  .thankyou img {
    width: 115px;
    height: 190px;
  }
  .thankyou h2 {
    font-size: 22px;
  }
  .home-layout,
  .portfolio-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
  }
  .welcome > div {
    width: 66%;
    padding: 25px;
  }
  .welcome h1 {
    font-size: 36px;
  }
  .map-layout {
    grid-template-columns: 1.5fr 1fr;
  }
  .map-layout #good-map {
    height: 540px;
  }
}
@media (max-width: 650px) {
  body {
    font-size: 14px;
    background: #f7faf8;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
    gap: 15px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 28px;
    height: 28px;
    margin-right: 3px;
  }
  .desktop-search,
  .identity {
    display: none;
  }
  .top-actions {
    gap: 10px;
  }
  .topbar .icon-button {
    border: 0;
    width: 34px;
    height: 34px;
  }
  .topbar .icon {
    width: 24px;
    height: 24px;
  }
  main {
    padding: 10px 16px 95px;
  }
  .prototype {
    font-size: 8px;
    gap: 8px;
    line-height: 1.4;
    margin-bottom: 13px;
  }
  .page-heading {
    margin: 15px 0 22px;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 28px;
    letter-spacing: -0.8px;
  }
  .page-heading p {
    font-size: 13px;
    line-height: 1.55;
  }
  .page-heading > .button {
    font-size: 11px;
    white-space: nowrap;
    padding: 10px;
  }
  .home-layout,
  .portfolio-layout,
  .profile-layout,
  .studio-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .stack {
    gap: 20px;
  }
  .panel {
    border-radius: 14px;
    padding: 18px;
  }
  .panel > h2 {
    font-size: 18px;
    margin-bottom: 17px;
  }
  .welcome {
    margin: 0 -16px 22px;
    border-radius: 0;
    min-height: 265px;
    align-items: flex-start;
  }
  .welcome > div {
    width: 100%;
    padding: 22px 20px;
    background: linear-gradient(90deg, #e9f5edd9 12%, #e9f5ed66 80%);
    min-height: 265px;
  }
  .welcome .eyebrow {
    font-size: 9px;
  }
  .welcome h1 {
    font-size: 32px;
    margin-top: 8px;
  }
  .welcome p {
    max-width: 195px;
    font-size: 13px;
    color: #294f3b;
    line-height: 1.5;
    margin: 12px 0 20px;
  }
  .welcome-photo {
    width: 100%;
    height: 100%;
    object-position: 82% center;
    opacity: 0.65;
  }
  .welcome .button {
    min-height: 43px;
    font-size: 13px;
  }
  .home-layout > aside {
    gap: 20px;
  }
  .mini {
    gap: 13px;
    align-items: flex-start;
  }
  .mini img {
    width: 105px;
    height: 95px;
  }
  .mini b {
    font-size: 17px;
  }
  .mini small {
    font-size: 11px;
    margin-top: 7px;
  }
  .status-line {
    margin: 14px 0;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading > a {
    font-size: 11px;
  }
  .section-heading .text-button {
    font-size: 11px;
  }
  .event-grid,
  .event-grid.wide {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-image {
    height: 210px;
  }
  .card-copy {
    padding: 17px;
  }
  .card-copy h3 {
    font-size: 20px;
  }
  .card-bottom small {
    font-size: 11px;
  }
  .event-card .info {
    font-size: 13px;
  }
  .event-grid .event-card {
    border-radius: 15px;
  }
  .stats {
    gap: 8px;
  }
  .stats > div {
    padding: 16px 5px;
  }
  .stats b {
    font-size: 27px;
  }
  .stats small {
    font-size: 10px;
  }
  .home-layout .stats b {
    font-size: 25px;
  }
  .home-layout .stats .icon {
    width: 20px;
  }
  .dobrik-tip {
    min-height: 155px;
  }
  .quick-links > a,
  .quick-links > button {
    min-height: 50px;
  }
  .filters .pills {
    gap: 7px;
    margin: 0;
  }
  .pills button {
    font-size: 12px;
    padding: 9px 13px;
    min-height: 40px;
  }
  .search-box {
    max-width: none;
  }
  .map-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .map-layout #good-map {
    height: 380px;
    flex-shrink: 0;
  }
  .map-layout #map-detail .card-image {
    height: 150px;
  }
  .event-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .event-main {
    margin: 0 -16px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .event-hero {
    height: 245px;
  }
  .hero-back {
    width: 33px;
    height: 33px;
    top: 14px;
    left: 16px;
  }
  .hero-label {
    left: 18px;
    bottom: 14px;
  }
  .event-title {
    padding: 20px 18px 10px;
  }
  .event-title h1 {
    font-size: 25px;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 16px;
  }
  .event-title .info {
    font-size: 13px;
    gap: 10px;
    line-height: 1.45;
  }
  .event-title .status-line {
    margin: 13px 0;
  }
  .phase-nav {
    top: 64px;
    padding: 0 18px;
    gap: 24px;
    justify-content: space-between;
  }
  .phase-nav a {
    padding: 15px 0;
    font-size: 12px;
  }
  .event-body {
    padding: 20px 18px;
    gap: 24px;
  }
  .event-body > .panel h2 {
    font-size: 17px;
  }
  .event-body .button {
    min-height: 46px;
    font-size: 13px;
  }
  .notice {
    padding: 15px;
    gap: 10px;
  }
  .notice b {
    font-size: 13px;
  }
  .notice p {
    font-size: 12px;
    line-height: 1.55;
  }
  .notice > .icon {
    width: 21px;
  }
  .event-body .panel p {
    font-size: 13px;
  }
  .two-actions {
    gap: 9px;
  }
  .two-actions .button {
    font-size: 12px;
    padding: 12px 8px;
    gap: 7px;
  }
  .two-actions .icon {
    width: 18px;
    height: 18px;
  }
  .bring-grid {
    gap: 6px;
  }
  .bring {
    padding: 12px 3px;
  }
  .bring span {
    font-size: 10px;
  }
  .bring .icon {
    height: 23px;
    width: 23px;
  }
  .meeting-image {
    height: 170px;
  }
  .event-aside .mini {
    display: flex;
  }
  .event-aside .mini img {
    width: 90px;
    height: 85px;
  }
  .event-aside .panel {
    padding: 18px;
  }
  .event-aside .journey {
    gap: 15px;
    font-size: 12px;
  }
  .event-aside {
    margin-top: 3px;
  }
  .event-body .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .contact-grid .panel {
    padding: 13px 10px;
    border-radius: 11px;
  }
  .contact-grid h2 {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .contact-grid .person {
    display: block;
  }
  .contact-grid .org-avatar {
    display: none;
  }
  .contact-grid .fine {
    font-size: 10px;
  }
  .contact-grid .button {
    font-size: 10px;
    padding: 10px 5px;
    gap: 5px;
  }
  .contact-grid .button .icon {
    width: 15px;
  }
  .contact-grid .button .icon:last-child:not(:first-child) {
    display: none;
  }
  .onsite > h2 {
    font-size: 27px;
    letter-spacing: -0.7px;
  }
  .onsite > p.muted {
    margin-top: -16px;
    font-size: 12px;
  }
  .qr-card {
    padding: 15px;
    gap: 14px;
  }
  .qr {
    width: 100px;
  }
  .qr-card b {
    font-size: 13px;
  }
  .qr-card p {
    font-size: 11px;
  }
  .task-box {
    padding: 15px;
    gap: 11px;
  }
  .task-box b {
    font-size: 13px;
  }
  .task-box p {
    font-size: 12px;
    line-height: 1.6;
    margin: 7px 0 0;
  }
  .thankyou {
    min-height: 210px;
    padding: 15px 6px 0;
    gap: 5px;
  }
  .thankyou img {
    width: 137px;
    height: 200px;
    flex-shrink: 0;
  }
  .thankyou h2 {
    font-size: 23px;
    letter-spacing: -0.7px;
    line-height: 1.25;
  }
  .thankyou .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .thankyou p {
    font-size: 12px;
  }
  .thankyou + .notice {
    margin-top: -6px;
  }
  .contribution b {
    font-size: 35px;
  }
  .visibility label {
    padding: 14px 12px;
  }
  .visibility label small {
    font-size: 11px;
  }
  .rating span {
    width: 43px;
    height: 43px;
  }
  .activity-row {
    padding: 15px;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: start;
  }
  .activity-row > img {
    width: 90px;
    height: 100px;
  }
  .activity-row h2 {
    font-size: 16px;
  }
  .activity-row .info {
    font-size: 11px;
    margin: 7px 0;
  }
  .activity-row .icon {
    width: 15px;
    height: 16px;
  }
  .activity-row > .stack {
    grid-column: 1/-1;
    flex-direction: row;
  }
  .activity-row > .stack .button {
    flex: 1;
  }
  .activity-row .text-button {
    font-size: 12px;
  }
  .profile-intro {
    gap: 13px;
    margin: 12px 0 22px;
  }
  .avatar.large {
    width: 58px;
    height: 58px;
    font-size: 25px;
    flex-shrink: 0;
  }
  .profile-intro h2 {
    font-size: 20px;
  }
  .profile-intro p {
    font-size: 12px;
  }
  .story-banner {
    height: 180px;
    margin: 22px 0;
  }
  .story-banner > div {
    left: 20px;
  }
  .story-banner h2 {
    font-size: 24px;
  }
  .story-banner p {
    font-size: 12px;
  }
  .portfolio-layout .pills {
    gap: 6px;
  }
  .portfolio-layout .pills button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .story-row {
    padding: 12px;
    gap: 12px;
  }
  .story-row > img {
    width: 75px;
    height: 100px;
  }
  .story-row .eyebrow {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .story-row h3 {
    font-size: 15px;
    line-height: 1.3;
    margin: 5px 0;
  }
  .story-row small {
    font-size: 10px;
  }
  .story-row .badge {
    font-size: 9px;
    padding: 4px 6px;
  }
  .story-row .round-link {
    width: 28px;
    height: 28px;
  }
  .story-row .round-link .icon {
    width: 16px;
  }
  .story-row .status-line {
    gap: 5px;
    margin-top: 8px;
  }
  .place-map img {
    height: 200px;
  }
  .gallery img {
    height: 130px;
  }
  .deed-cover {
    height: 300px;
    border-radius: 14px 14px 0 0;
  }
  .deed-copy {
    padding: 21px 18px;
  }
  .deed-copy h1 {
    font-size: 27px;
  }
  .story-text {
    font-size: 16px;
    line-height: 1.7;
  }
  .deed-copy .two-actions {
    grid-template-columns: 1fr;
  }
  .public-page {
    margin: 0 -6px;
    border-radius: 14px;
  }
  .public-page > .section-heading {
    padding: 18px 15px 0;
  }
  .public-page h1 {
    font-size: 20px;
  }
  .preview-note {
    padding: 0 15px;
    font-size: 10px;
  }
  .public-cover {
    height: 310px;
  }
  .public-cover > div {
    left: 20px;
    bottom: 22px;
  }
  .public-cover h2 {
    font-size: 29px;
  }
  .public-copy {
    padding: 20px 15px;
  }
  .public-hours {
    padding: 14px;
    gap: 10px;
  }
  .public-hours strong {
    font-size: 24px;
  }
  .public-hours span {
    font-size: 11px;
  }
  .notification {
    padding: 18px 15px;
    gap: 12px;
  }
  .notification h2 {
    font-size: 14px;
  }
  .notification p {
    font-size: 12px;
  }
  .notice-icon {
    width: 38px;
    height: 38px;
  }
  .profile-layout > .panel {
    padding: 20px 18px;
  }
  .toggle-row {
    font-size: 13px;
    gap: 15px;
  }
  .toggle-row small {
    font-size: 11px;
  }
  .studio-stage {
    order: -1;
    padding: 20px;
    max-width: 100%;
  }
  .design-preview {
    max-width: 400px;
  }
  .design-preview.story {
    max-width: 230px;
  }
  .design-preview.banner h2 {
    font-size: 17px;
    line-height: 1.2;
  }
  .design-preview.banner p {
    font-size: 9px;
    margin: 4px 0;
  }
  .design-brand {
    font-size: 11px;
  }
  .design-caption h2 {
    font-size: 24px;
  }
  .studio-controls {
    padding: 22px 18px;
  }
  .studio-steps li > b {
    font-size: 14px;
  }
  .format-options button {
    min-height: 44px;
  }
  .studio-controls .notice p {
    font-size: 11px;
  }
  .studio-stage .fine {
    font-size: 9px;
  }
  .empty {
    padding: 35px 18px;
  }
  .empty h2 {
    font-size: 20px;
  }
  .empty p {
    font-size: 13px;
  }
  .button {
    min-height: 46px;
  }
  dialog {
    padding: 20px;
    max-height: 88dvh;
  }
  .dialog-head h2 {
    font-size: 20px;
  }
  .dialog-head {
    gap: 10px;
  }
  dialog .mini b {
    font-size: 16px;
  }
  dialog .mini img {
    width: 85px;
    height: 85px;
  }
  dialog .two-actions {
    grid-template-columns: 1fr 1fr;
  }
  dialog .two-actions .button {
    font-size: 12px;
  }
  .two-fields {
    gap: 10px;
  }
  .two-fields label {
    font-size: 12px;
  }
  .two-fields input {
    padding: 10px 8px;
    min-width: 0;
  }
  .export-preview {
    max-height: 55dvh;
  }
  .bottom-nav a {
    font-size: 9px;
    gap: 5px;
  }
  .bottom-nav .icon {
    width: 22px;
    height: 22px;
  }
  #toast {
    font-size: 12px;
    bottom: 87px;
    padding: 12px 17px;
  }
}
.compact-event-header {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 24px 24px 16px;
}
.compact-event-header h1 {
  font-size: 29px;
}
.event-main > .mini {
  padding: 4px 24px 22px;
}
.event-main > .mini img {
  width: 100px;
  height: 85px;
}
.event-main > .mini b {
  font-size: 18px;
}
.event-main.after .phase-nav {
  border-top: 0;
}
.event-main.onsite .phase-nav {
  border-top: 1px solid var(--line);
}
.story-row > img[src$="dobro-symbol.svg"],
.deed-cover[src$="dobro-symbol.svg"] {
  object-fit: contain;
  padding: 25px;
  background: #eaf6ee;
}
img.avatar {
  object-fit: cover;
}
.good-marker {
  border-radius: 50%;
}
.good-marker svg {
  transform: none;
}
@media (max-width: 650px) {
  .welcome-photo {
    opacity: 1;
  }
  .welcome > div {
    background: linear-gradient(
      90deg,
      #edf7efed 5%,
      #edf7efb8 47%,
      #edf7ef00 85%
    );
  }
  .compact-event-header {
    padding: 20px 18px 16px;
    gap: 12px;
  }
  .compact-event-header h1 {
    font-size: 28px;
  }
  .compact-event-header .icon-button {
    width: 32px;
    height: 32px;
  }
  .event-main > .mini {
    padding: 0 18px 19px;
    gap: 13px;
  }
  .event-main > .mini b {
    font-size: 16px;
  }
  .event-main > .mini img {
    width: 90px;
    height: 80px;
  }
  .event-main.after .event-body {
    padding-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.space-section,
.home-actions {
  margin-bottom: 24px;
}
.space-grid,
.home-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.space-grid > a,
.home-action-grid > a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}
.space-grid > a:hover,
.home-action-grid > a:hover {
  border-color: #93d7b2;
  background: #f4fbf7;
}
.space-grid > a:focus-visible,
.home-action-grid > a:focus-visible {
  outline: 3px solid #55ba93;
  outline-offset: 2px;
}
.space-grid > .space-current {
  background: #e6f6ec;
  border-color: #b7e4c9;
}
.space-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #e9f7ef;
  color: var(--dark);
}
.space-grid > a > span:nth-child(2),
.home-action-grid > a > strong {
  min-width: 0;
}
.space-grid strong,
.space-grid small,
.home-action-grid strong,
.home-action-grid small {
  display: block;
}
.space-grid strong,
.home-action-grid strong {
  font-size: 14px;
  line-height: 1.3;
}
.space-grid small,
.home-action-grid small {
  margin-top: 4px;
  font-size: 11px;
}
.space-grid > a > .icon:last-child,
.home-action-grid > a > .icon:last-child {
  margin-left: auto;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}
.home-actions > h2 {
  margin-bottom: 14px;
}
.home-action-grid > a {
  flex-wrap: wrap;
  align-content: start;
  min-height: 142px;
  padding: 19px;
  background: linear-gradient(145deg, #fff, #f2faf5);
}
.home-action-grid > a > .icon:first-child {
  width: 36px;
  height: 36px;
  color: var(--green);
  stroke-width: 1.7;
}
.home-action-grid > a > strong,
.home-action-grid > a > small {
  flex-basis: 100%;
}
.home-action-grid > a > strong { font-size: 16px; }
.home-action-grid > a > small { font-size: 12px; }
.home-layout > section,
.home-layout > aside { min-width: 0; }
.home-layout .section-heading { min-height: 27px; }
.home-stats-panel { min-height: 248px; }
@media (max-width: 1200px) {
  .space-grid,
  .home-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .space-grid,
  .home-action-grid { gap: 9px; }
  .space-grid > a,
  .home-action-grid > a { padding: 12px; }
  .space-grid > a { grid-column: span 2; }
  .home-action-grid > a { min-height: 105px; }
  .home-action-grid strong { font-size: 13px; }
  .space-section .section-heading { align-items: flex-start; }
  .space-section .section-heading > a { white-space: normal; text-align: right; }
}

.space-picker { position: relative; flex: 0 0 auto; }
.space-picker summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #cce8d7;
  border-radius: 10px;
  background: #e9f7ef;
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.space-picker summary::-webkit-details-marker { display: none; }
.space-picker summary .icon { width: 17px; height: 17px; }
.space-picker[open] summary { background: #d9f1e3; }
.space-picker summary:focus-visible { outline: 3px solid #55ba93; outline-offset: 2px; }
.space-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  max-height: min(470px, calc(100dvh - 95px));
  overflow: auto;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 55px #113b2940;
}
.space-menu h2 { padding: 6px 8px 12px; font-size: 16px; }
.space-menu > a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  color: var(--ink);
  border-radius: 10px;
}
.space-menu > a:hover,
.space-menu > a:focus-visible { background: #edf8f1; }
.space-menu > .space-current { background: #e7f6ed; }
.space-menu > a > span:nth-child(2) { min-width: 0; }
.space-menu strong,
.space-menu small { display: block; }
.space-menu strong { font-size: 13px; }
.space-menu small { font-size: 11px; }
.space-menu .space-mark { width: 34px; height: 34px; }
.space-menu .space-mark .icon { width: 18px; height: 18px; }
.space-menu > a > .icon:last-child { width: 16px; height: 16px; margin-left: auto; flex: 0 0 auto; }
.space-menu > .space-manage { margin-top: 7px; border-top: 1px solid var(--line); color: var(--dark); font-size: 12px; font-weight: 700; }
@media (max-width: 650px) {
  .space-picker summary { width: 42px; min-height: 34px; justify-content: center; padding: 5px; }
  .space-picker summary span,
  .space-picker summary .icon:last-child { display: none; }
  .space-menu { position: fixed; top: 68px; left: 12px; right: 12px; width: auto; }
  body:has(.space-picker) .dc-network-trigger { display: none !important; }
  body:has(.space-picker) .top-actions { gap: 7px; }
}
