/* Layout matched against the numbered Firma.zip references. */
:root {
  --green: #008f5b;
  --deep: #006949;
  --ink: #0b1738;
  --muted: #5a6f94;
  --line: #e8eef2;
  --bg: #f5f9f9;
}
.topbar {
  height: 60px;
  padding: 0 25px;
  gap: 20px;
}
.brand {
  min-width: 220px;
  font-size: 24px;
}
.brand img {
  width: 34px;
}
.topsearch {
  max-width: 570px;
}
.topsearch input {
  padding: 9px 13px 9px 42px;
  border: 0;
  height: 38px;
}
.topsearch .icon {
  top: 10px;
}
.top-account strong {
  color: var(--ink);
}
.layout {
  min-height: calc(100vh - 60px);
  align-items: start;
}
.sidebar {
  top: 60px;
  height: calc(100vh - 60px);
  padding: 17px 13px;
  gap: 13px;
}
.company-chip {
  padding: 7px 11px 18px;
}
.nav {
  gap: 4px;
}
.nav a {
  min-height: 41px;
  padding: 9px 15px;
  font-size: 14px;
}
.sidebar-links {
  margin-top: 14px;
  gap: 17px;
}
.main {
  margin: 0;
  align-self: start;
  max-width: none;
  padding: 16px 22px 26px;
}
.previewbar {
  font-size: 10px;
  padding-bottom: 10px;
  min-height: 21px;
}
.main h1 {
  font-weight: 800;
}
.page-head {
  margin: 7px 0 18px;
}
.page-head h1 {
  font-size: 30px;
}
.page-head p {
  font-size: 14px;
  margin-top: 5px;
}
.panel {
  box-shadow: none;
  border-color: #edf1f3;
  border-radius: 12px;
  padding: 20px;
}
.panel h2 {
  font-size: 18px;
}
.btn {
  border-radius: 7px;
  padding: 10px 17px;
  font-size: 13px;
  background: linear-gradient(110deg, #008554, #009b69);
  font-weight: 600;
}
.btn.secondary,
.btn.ghost,
.btn.danger {
  background: white;
}
.btn.ghost {
  background: transparent;
}
.btn.danger {
  background: #fff4f1;
}
.btn.small {
  font-size: 11px;
  padding: 7px 11px;
}
.field {
  font-size: 12px;
  color: var(--ink);
  gap: 6px;
  margin-bottom: 14px;
}
.field input,
.field select,
.field textarea {
  padding: 9px 12px;
  font-size: 13px;
  border-color: #dfe6ef;
  box-shadow: 0 1px 2px #15365b04;
}
.field small {
  font-size: 11px;
}
.panel-head {
  margin-bottom: 13px;
}
.guide {
  min-height: 195px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #e1f3e9;
  background: linear-gradient(110deg, #f6fdf8, #e9faf0);
}
.guide > div {
  max-width: 65%;
}
.guide h3 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.guide p {
  font-size: 12px;
  line-height: 1.5;
}
.guide > img {
  width: 138px;
  height: 180px;
  bottom: 8px;
  right: 6px;
  object-fit: contain;
}
.side-help {
  padding-left: 73px;
  min-height: 145px;
  margin-top: auto;
}
.side-help img {
  width: 112px;
  max-height: 174px;
  left: -20px;
  bottom: 0;
}
.side-help strong {
  font-size: 12px;
}
.side-help .btn {
  font-size: 11px;
  padding: 9px 7px;
}
.side-help p {
  font-size: 10px;
}
body:has(.main .guide) .side-help {
  visibility: visible;
}
.work-grid {
  gap: 16px;
  grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr);
}
.stack {
  gap: 14px;
}
.portrait {
  display: inline-block;
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  border-radius: 50%;
  background-image: url("assets/firma-portrety-demo-v1.webp");
  background-size: 400% 200%;
  background-position: var(--px) var(--py);
  vertical-align: middle;
  border: 2px solid white;
  box-shadow: 0 0 0 1px #e8edf0;
}
.portrait.large {
  width: 105px;
  height: 105px;
}
.portrait.medium {
  width: 46px;
  height: 46px;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.ref-tips {
  background: linear-gradient(115deg, #fffbf2, #fff8ec);
  border: 1px solid #fff1dc;
  border-radius: 12px;
  padding: 20px;
}
.ref-tips h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 14px;
}
.ref-tips h3 > .icon {
  color: #e6a01d;
  width: 20px;
}
.ref-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.ref-tips li {
  display: flex;
  gap: 9px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.ref-tips li .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
  margin-top: 2px;
  background: #008f5b;
  border-radius: 50%;
  stroke: white;
  padding: 2px;
}
.ref-tips.with-character {
  position: relative;
  background: linear-gradient(110deg, #eefbf2, #f9fefb);
  min-height: 270px;
  padding-bottom: 80px;
  overflow: hidden;
}
.tip-character {
  position: absolute;
  width: 110px;
  height: 120px;
  object-fit: contain;
  bottom: -5px;
  right: 2px;
}
.ref-tips.with-character ul {
  position: relative;
  z-index: 1;
}
.switch {
  appearance: none;
  width: 33px !important;
  height: 19px !important;
  border: 0 !important;
  border-radius: 20px;
  background: #c9d1df;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.switch:before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  left: 2px;
  top: 2px;
  box-shadow: 0 1px 4px #0002;
}
.switch:checked {
  background: var(--green);
}
.switch:checked:before {
  left: 16px;
}
.badge.red {
  background: #ffedf0;
  color: #d8576c;
}
/* 16 — Invitation: scene, link + settings, e-mail strip, table + tips. */
.invite-hero {
  min-height: 236px;
  padding: 14px 15px 30px;
  position: relative;
  background:
    linear-gradient(90deg, #f7fbfb 23%, #f7fbfbcc 46%, #f7fbfb00 70%),
    url("assets/firma-pozvanie-obalky-v1.webp") right top/auto 100% no-repeat;
  border-radius: 12px 12px 0 0;
}
.invite-hero h1 {
  font-size: 37px;
  letter-spacing: -1.3px;
  margin-bottom: 7px;
}
.invite-hero h1 > span {
  color: var(--green);
}
.invite-hero > p {
  font-size: 14px;
  color: var(--muted);
  max-width: 72%;
  margin-bottom: 23px;
}
.invite-benefits {
  display: flex;
  gap: 30px;
  max-width: 73%;
}
.invite-benefits > div {
  display: flex;
  gap: 11px;
  align-items: center;
  max-width: 225px;
}
.invite-benefits > div > span {
  height: 43px;
  width: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #e5f8ed;
  color: var(--green);
  border-radius: 50%;
}
.invite-benefits strong {
  font-size: 13px;
  font-weight: 650;
}
.invite-benefits small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 3px;
  line-height: 1.5;
}
.ref-invite-wrap {
  position: relative;
  margin-top: -3px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.invite-tabs {
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
}
.invite-tabs .tabs {
  margin: 0;
  gap: 24px;
}
.invite-tabs .tabs a {
  background: white;
  border: 0;
  border-radius: 0;
  padding: 13px 8px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
}
.invite-tabs .tabs .selected {
  color: var(--green);
  border-bottom-color: var(--green);
}
.invite-tabs .icon {
  width: 17px;
  height: 17px;
}
.invite-columns {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
}
.invite-columns > section {
  padding: 19px 22px;
  border-right: 1px solid var(--line);
}
.invite-columns > section:last-child {
  border-right: 0;
}
.invite-columns h3,
.invite-email h3 {
  font-size: 14px;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.invite-columns p,
.invite-email p {
  font-size: 12px;
  margin: 0 0 12px;
}
.invite-copy {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.invite-copy input {
  min-width: 0;
  flex: 1;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  padding: 10px;
  color: #3e6eb4;
  background: #fcfdff;
  font-size: 12px;
}
.invite-copy .btn {
  white-space: nowrap;
}
.qr-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(110deg, #f4f7fc, #f0f3f8);
  padding: 10px 13px;
  border-radius: 8px;
}
.qr-strip > div:first-child {
  flex-shrink: 0;
  display: flex;
}
.qr-strip svg {
  width: 89px;
  height: 89px;
  background: white;
  border-radius: 5px;
}
.qr-strip h3 {
  font-size: 13px;
}
.qr-strip p {
  margin: 3px 0 0;
  font-size: 12px;
  max-width: 220px;
}
.qr-strip .btn {
  margin-left: auto;
  font-size: 11px;
  padding: 10px 12px;
  white-space: nowrap;
}
.invite-settings > h3 {
  margin-bottom: 14px;
}
.invite-settings > label {
  display: grid;
  grid-template-columns: minmax(130px, 0.95fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  font-size: 12px;
  color: var(--muted);
}
.invite-settings > label > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.invite-settings > label .icon {
  width: 17px;
  height: 17px;
}
.invite-settings input:not([type="checkbox"]),
.invite-settings select,
.invite-settings textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #e1e8f0;
  background: white;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  color: var(--muted);
}
.invite-settings textarea {
  height: 60px;
  resize: vertical;
  background: #f8faff;
}
.invite-settings .switch {
  justify-self: end;
}
.invite-settings > .btn {
  float: right;
  margin-top: 4px;
}
.invite-settings .error {
  margin: 0;
}
.invite-email {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
}
.invite-email > div {
  display: flex;
  gap: 12px;
}
.invite-email input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  font-size: 12px;
}
.invite-email .btn {
  min-width: 200px;
}
.invite-bottom {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(270px, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.invite-bottom .panel {
  padding: 16px 20px;
}
.invite-bottom .tabs {
  margin: 0;
  gap: 7px;
}
.invite-bottom .tabs button {
  font-size: 11px;
  padding: 6px 13px;
}
.invite-bottom th,
.invite-bottom td {
  padding: 8px 7px;
  font-size: 11px;
}
.invite-bottom .portrait {
  margin-right: 8px;
  width: 27px;
  height: 27px;
}
.invite-bottom th {
  background: #fafcfe;
}
.invite-status {
  flex-wrap: nowrap;
}
@media (min-width: 1900px) {
  .main {
    padding: 22px 30px 35px;
  }
  .page-head h1 {
    font-size: 34px;
  }
  .invite-hero {
    min-height: 270px;
  }
  .invite-columns > section {
    padding: 24px 26px;
  }
  .invite-columns p,
  .invite-email p {
    font-size: 14px;
  }
  .invite-settings > label {
    font-size: 14px;
  }
  .invite-settings input:not([type="checkbox"]),
  .invite-settings select,
  .invite-settings textarea {
    font-size: 14px;
  }
  .invite-bottom td,
  .invite-bottom th {
    font-size: 13px;
    padding: 11px;
  }
  .invite-benefits strong {
    font-size: 15px;
  }
  .invite-benefits small {
    font-size: 13px;
  }
}
@media (max-width: 1150px) {
  .invite-benefits {
    gap: 12px;
    max-width: 80%;
  }
  .invite-benefits strong {
    font-size: 11px;
  }
  .invite-benefits small {
    font-size: 10px;
  }
  .qr-strip {
    gap: 10px;
    flex-wrap: wrap;
  }
  .qr-strip .btn {
    margin-left: 0;
  }
  .invite-columns {
    grid-template-columns: 1fr 1fr;
  }
  .invite-settings > label {
    grid-template-columns: 1fr 1fr;
  }
  .work-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  }
}
@media (max-width: 900px) {
  .topbar {
    padding: 0 14px;
    gap: 12px;
  }
  .brand {
    min-width: 0;
    font-size: 22px;
  }
  .main {
    padding: 14px 16px 90px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .invite-benefits {
    max-width: 95%;
  }
  .invite-columns {
    grid-template-columns: 1fr;
  }
  .invite-columns > section {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .invite-bottom {
    grid-template-columns: 1fr;
  }
  .invite-hero > p {
    max-width: 80%;
  }
  .invite-settings > .btn {
    float: none;
  }
  .invite-hero h1 {
    font-size: 30px;
  }
  .invite-bottom .ref-tips {
    display: none;
  }
}
@media (max-width: 580px) {
  .topbar {
    height: 60px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 28px;
  }
  .main {
    padding: 12px 12px 90px;
  }
  .previewbar {
    font-size: 9px;
  }
  .page-head h1 {
    font-size: 25px;
  }
  .page-head p {
    font-size: 12px;
  }
  .panel {
    padding: 15px;
  }
  .invite-hero {
    padding: 10px 8px 18px;
    min-height: 250px;
    background-size: auto 100%;
    background-position: 70% top;
  }
  .invite-hero h1 {
    max-width: 85%;
    font-size: 29px;
  }
  .invite-hero > p {
    max-width: 85%;
    font-size: 12px;
  }
  .invite-benefits {
    gap: 8px;
    flex-wrap: wrap;
  }
  .invite-benefits > div {
    max-width: 150px;
    gap: 7px;
  }
  .invite-benefits > div > span {
    width: 29px;
    height: 29px;
  }
  .invite-benefits .icon {
    width: 17px;
  }
  .invite-benefits > div:last-child {
    display: none;
  }
  .invite-benefits small {
    font-size: 10px;
  }
  .invite-tabs {
    padding: 0 10px;
  }
  .invite-tabs .tabs {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .invite-tabs .tabs a {
    font-size: 10px;
    padding: 11px 3px;
    gap: 4px;
  }
  .invite-tabs .icon {
    width: 13px;
  }
  .invite-columns > section {
    padding: 16px;
  }
  .invite-copy {
    flex-wrap: wrap;
  }
  .invite-copy input {
    flex-basis: 100%;
    font-size: 10px;
  }
  .invite-copy .btn {
    width: 100%;
  }
  .qr-strip {
    display: grid;
    grid-template-columns: 83px 1fr;
  }
  .qr-strip svg {
    width: 82px;
    height: 82px;
  }
  .qr-strip .btn {
    grid-column: 1/-1;
  }
  .invite-settings > label {
    font-size: 11px;
    grid-template-columns: 1fr 1fr;
  }
  .invite-settings input:not([type="checkbox"]),
  .invite-settings select,
  .invite-settings textarea {
    font-size: 11px;
  }
  .invite-email {
    padding: 16px;
  }
  .invite-email > div {
    flex-wrap: wrap;
  }
  .invite-email input {
    flex-basis: 100%;
  }
  .invite-email .btn {
    width: 100%;
  }
  .invite-bottom .panel-head {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .invite-status {
    justify-content: space-between;
  }
  .invite-bottom .tabs button {
    padding: 6px 9px;
  }
  .guide {
    min-height: 155px;
    padding: 18px;
  }
  .guide > img {
    height: 145px;
    width: 110px;
  }
  .guide h3 {
    font-size: 16px;
  }
  .guide p {
    font-size: 12px;
  }
  .guide > div {
    max-width: 66%;
  }
  .portrait.large {
    width: 80px;
    height: 80px;
  }
}
/* 06–10 — Five project steps, composed to the supplied desktop references. */
body[data-view="create"] .page-head {
  margin: 0 0 17px;
}
body[data-view="create"] .page-head h1 {
  font-size: 30px;
}
body[data-view="create"] .page-head p {
  font-size: 13px;
}
body[data-view="create"] .back-link {
  margin: 3px 0 12px;
}
.steps {
  border: 0;
  border-radius: 11px;
  padding: 12px 15px;
  margin-bottom: 17px;
  min-height: 49px;
  box-shadow: 0 5px 12px #21463804;
}
.step {
  gap: 10px;
  font-size: 11px;
  white-space: nowrap;
}
.step b {
  width: 30px;
  height: 30px;
  font-size: 13px;
}
.step.current {
  position: relative;
  font-weight: 600;
}
.step.current:before {
  content: "";
  position: absolute;
  left: 8px;
  right: 12px;
  bottom: -12px;
  height: 2px;
  background: var(--green);
}
.step.done:after {
  background: #71c9a5;
}
.wizard-grid {
  grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr);
}
#project-form {
  padding: 18px 20px 16px;
}
#project-form.wizard-unboxed {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  gap: 12px;
  align-content: start;
}
#project-form.wizard-unboxed > .panel {
  padding: 18px 20px;
}
.ref-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}
.ref-section-head > span {
  width: 40px;
  height: 40px;
  background: #e7f8ef;
  color: var(--green);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ref-section-head > span .icon {
  width: 23px;
  height: 23px;
}
.ref-section-head h2 {
  font-size: 16px;
  font-weight: 750;
  margin: 0;
}
.ref-section-head p {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  margin: 4px 0 0;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink);
  margin: 13px 0 7px;
}
.field-label small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin: 3px 0 0;
}
.field em,
.field-label em {
  color: #d95169;
  font-style: normal;
}
.wizard-grid .field {
  margin-bottom: 13px;
}
.wizard-grid .field input {
  height: 37px;
}
.wizard-grid .form-footer {
  padding-top: 14px;
  margin-top: 15px;
  border-top: 0;
}
.wizard-grid .form-footer .btn {
  min-width: 115px;
}
.wizard-grid .form-footer .btn:not(.secondary) {
  min-width: 155px;
}
.rich-editor {
  border: 1px solid #dfe6ef;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  background: white;
}
.rich-toolbar {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #e9edf3;
  height: 34px;
  align-items: center;
  padding: 2px 8px;
  background: linear-gradient(white, #fbfcfe);
}
.rich-toolbar button {
  border: 0;
  background: none;
  width: 27px;
  height: 27px;
  color: #294066;
  font-size: 15px;
}
.rich-toolbar button:hover {
  background: var(--mint);
  border-radius: 4px;
}
.rich-content {
  padding: 10px 13px 22px;
  min-height: 67px;
  max-height: 180px;
  overflow: auto;
  font-size: 12px;
  font-weight: 400;
  color: #283c62;
  line-height: 1.55;
  outline: 0;
}
.rich-content p,
.rich-content div {
  margin: 0;
}
.rich-counter {
  position: absolute;
  bottom: 6px;
  right: 12px;
  font-size: 10px;
}
.ref-goals {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 14px;
}
.ref-goal {
  border: 1px solid #e1e8f1;
  border-radius: 9px;
  padding: 9px 6px 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 76px;
  text-align: center;
  cursor: pointer;
}
.ref-goal input {
  position: absolute;
  top: 8px;
  left: 7px;
  accent-color: var(--green);
  width: 13px;
  height: 13px;
}
.ref-goal > .icon {
  color: var(--green);
  width: 23px;
  height: 23px;
}
.ref-goal span {
  font-size: 11px;
  line-height: 1.2;
  max-width: 110px;
}
.ref-goal:has(input:checked) {
  border-color: var(--green);
  background: #f1fbf5;
}
.ref-goal.tone-1 > .icon {
  color: #6d7996;
}
.ref-goal.tone-2 > .icon {
  color: #f5810e;
}
.ref-goal.tone-4 > .icon {
  color: #378de2;
}
.ref-goal.tone-5 > .icon {
  color: #a1a9b7;
}
.ref-chip-field {
  padding: 6px 7px;
  border: 1px solid #dfe6ef;
  border-radius: 7px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 39px;
}
.ref-chip {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px 9px;
  font-size: 10px;
  border-radius: 20px;
  color: #6b7b91;
  background: #f3f6f8;
  cursor: pointer;
}
.ref-chip .icon {
  width: 13px;
  height: 13px;
}
.ref-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.ref-chip input:focus-visible ~ b {
  outline: 2px solid #57a8e6;
}
.ref-chip b {
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  transform: rotate(0);
}
.ref-chip:has(input:checked) b {
  transform: rotate(45deg);
}
.ref-chip.color-0:has(input:checked) {
  background: #e5f8ef;
  color: #008b64;
}
.ref-chip.color-1:has(input:checked) {
  background: #e4f2ff;
  color: #147ee3;
}
.ref-chip.color-2:has(input:checked) {
  background: #fff0df;
  color: #e57208;
}
.ref-chip.color-3:has(input:checked) {
  background: #eee6ff;
  color: #7e45df;
}
.ref-cover-picker {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}
.ref-cover-picker .upload {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: center;
  position: relative;
  min-height: 83px;
  padding: 12px;
  background: #fcfdff;
  font-size: 11px;
}
.ref-cover-picker .upload > .icon {
  flex-shrink: 0;
  width: 20px;
}
.ref-cover-picker .upload small {
  display: block;
  font-size: 8px;
  margin-top: 5px;
  line-height: 1.3;
}
.ref-cover-picker .btn {
  font-size: 10px;
  padding: 7px 9px;
  white-space: nowrap;
}
.cover-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  align-items: center;
}
.cover-options button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 9px;
  background: none;
  overflow: hidden;
  height: 77px;
  position: relative;
}
.cover-options img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-options .selected {
  border-color: var(--green);
}
.cover-options .selected:after {
  content: "✓";
  position: absolute;
  right: 3px;
  top: 3px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  width: 18px;
  height: 18px;
  font-size: 12px;
}
.wizard-aside .guide {
  min-height: 195px;
}
.wizard-aside .guide > img {
  height: 180px;
  width: 133px;
  right: 4px;
}
.wizard-aside .guide h3 {
  font-size: 19px;
  line-height: 1.2;
}
.wizard-aside .guide > div {
  max-width: 66%;
}
.wizard-aside .guide p {
  font-size: 11px;
}
.ref-project-preview h3 {
  font-size: 13px;
  margin-bottom: 10px;
}
.ref-project-preview h3 small {
  font-size: 10px;
  font-weight: 400;
}
.ref-project-preview > .photo {
  height: 125px;
}
.ref-project-preview h2 {
  font-size: 17px;
  margin: 8px 0 7px;
}
.ref-project-preview > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.ref-project-preview .summary-list {
  margin-top: 13px;
  font-size: 11px;
  gap: 9px;
}
.wizard-aside .ref-tips {
  padding: 17px 18px;
}
.wizard-aside .ref-tips h3 {
  font-size: 13px;
  margin-bottom: 10px;
}
.wizard-aside .ref-tips li {
  font-size: 11px;
  gap: 8px;
}
.wizard-aside .ref-tips ul {
  gap: 7px;
}
.ref-subtitle {
  font-size: 15px;
  margin: 15px 0 3px;
}
.ref-description {
  font-size: 11px;
  color: var(--muted);
  margin: 3px 0 10px;
}
.ref-activities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.ref-activities .choice {
  min-height: 54px;
  margin: 0;
  padding: 9px 8px;
  gap: 8px;
  font-size: 10px;
}
.ref-activities .choice input {
  width: 13px;
  height: 13px;
  margin: 0;
  flex-shrink: 0;
}
.ref-activities .choice > .icon {
  width: 22px;
  height: 22px;
}
.ref-resources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 12px 0 15px;
}
.ref-resources > div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  gap: 10px;
  align-items: start;
}
.ref-resources > div > .icon {
  color: var(--green);
  background: #e9f9ef;
  padding: 6px;
  width: 33px;
  height: 33px;
  border-radius: 8px;
}
.ref-resources .field {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 10px;
}
.ref-resources .field input {
  font-size: 11px;
  padding: 8px;
  width: 100%;
  height: 35px;
}
.ref-resources .field small {
  font-size: 9px;
}
.ref-needs-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}
.ref-needs-row > section {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
}
.ref-needs-row .ref-section-head {
  gap: 8px;
  margin-bottom: 10px;
  align-items: start;
}
.ref-needs-row .ref-section-head > span {
  width: 32px;
  height: 32px;
}
.ref-needs-row .ref-section-head h2 {
  font-size: 12px;
}
.ref-needs-row .ref-section-head p {
  font-size: 10px;
}
.ref-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 10px;
}
.ref-checks label {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #405577;
}
.ref-checks input {
  accent-color: var(--green);
  margin: 0;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.ref-needs-row .field {
  font-size: 10px;
  margin: 0;
}
.ref-needs-row .field textarea {
  min-height: 60px;
  padding: 8px;
  font-size: 11px;
}
.ref-needs-row .field small {
  font-size: 9px;
}
.ref-mode-row {
  display: flex;
  gap: 8px;
  margin: 0 0 17px;
}
.ref-mode-row > label {
  font-size: 11px;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  padding: 7px 16px;
  min-width: 145px;
  text-align: center;
  cursor: pointer;
}
.ref-mode-row > label input {
  position: absolute;
  opacity: 0;
}
.ref-mode-row > label:has(input:checked) {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.ref-mode-row > select {
  margin-left: auto;
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 0;
  padding: 5px;
  color: var(--muted);
  max-width: 160px;
  background: white;
}
.ref-date-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
}
.ref-date-row > .field-label {
  margin-top: 0;
}
.ref-date-row > div:nth-child(2) {
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.ref-date-row .field-label {
  margin-top: 0;
}
.date-picker {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  overflow: hidden;
}
.date-picker > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf1f6;
  padding: 5px 8px;
  font-size: 11px;
}
.calendar-arrow {
  border: 0;
  background: white;
  font-size: 20px;
  line-height: 1;
  padding: 3px 9px;
  color: var(--ink);
}
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  padding: 8px 10px;
}
.date-grid > span {
  font-size: 9px;
  color: #9ba8bd;
  text-align: center;
  padding: 3px;
}
.date-grid > button {
  border: 0;
  background: white;
  font-size: 10px;
  color: #405476;
  height: 23px;
  border-radius: 6px;
  min-width: 0;
}
.date-grid > button:hover {
  background: var(--mint);
}
.date-grid > button.selected {
  background: var(--green);
  color: white;
}
.ref-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #dfe6ef;
  border-radius: 7px;
  background: white;
  font-size: 12px;
  color: var(--ink);
}
.ref-date-row .note {
  display: flex;
  gap: 9px;
  font-size: 10px;
  padding: 10px;
  margin-top: 12px;
}
.ref-date-row .note .icon {
  width: 17px;
}
.ref-place-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 15px;
}
.ref-place-row .field-label {
  font-size: 10px;
}
.ref-place-row .field {
  margin-bottom: 8px;
  font-size: 10px;
}
.ref-place-row .field textarea {
  min-height: 78px;
  font-size: 10px;
}
.ref-place-row .field small {
  font-size: 9px;
}
.ref-place-row .map {
  height: 200px;
}
.ref-place-labels {
  display: flex;
  gap: 7px;
  margin: 0 0 7px;
}
.ref-place-labels .badge {
  font-size: 9px;
}
.ref-address {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.ref-address > h3 {
  font-size: 11px;
  padding: 7px 9px 0;
}
.ref-address > p {
  font-size: 10px;
  color: var(--muted);
  padding: 3px 9px 8px;
}
.ref-address > img {
  height: 88px;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
}
.ref-place-guide > .photo {
  height: 120px;
  border-radius: 12px 12px 0 0;
}
.ref-place-guide > .guide {
  margin-top: -20px;
  border-radius: 10px;
}
.ref-seasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.ref-seasons > span {
  padding: 9px 5px;
  background: #ebfaf2;
  border-radius: 9px;
  color: var(--green);
  font-size: 11px;
  text-align: center;
}
.ref-seasons small {
  font-size: 8px;
  display: block;
  margin-top: 3px;
}
.ref-seasons > span:nth-child(3) {
  background: #e4f3ff;
  color: #157dc6;
}
.ref-seasons > span:nth-child(4) {
  background: #fff4df;
  color: #c17c1d;
}
.ref-team-picker {
  display: flex;
  align-items: start;
  justify-content: space-around;
  padding: 5px 8px;
}
.ref-team-picker > label,
.ref-team-picker > a {
  display: grid;
  justify-items: center;
  position: relative;
  gap: 5px;
  cursor: pointer;
  min-width: 65px;
}
.ref-team-picker strong {
  font-size: 11px;
  margin-top: 3px;
}
.ref-team-picker small {
  font-size: 10px;
}
.ref-team-picker input {
  position: absolute;
  right: 1px;
  top: 0;
  accent-color: var(--green);
  width: 12px;
  height: 12px;
}
.add-person {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px dashed #9babc2;
  font-size: 29px;
  color: #637893;
}
.ref-team-picker > a small {
  text-align: center;
  margin-top: 3px;
}
.wizard-unboxed .form-grid.cols3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.wizard-unboxed .form-grid.cols3 .field {
  font-size: 10px;
  margin: 0;
}
.wizard-unboxed .form-grid.cols3 input {
  font-size: 11px;
}
.ref-partner-block {
  background: linear-gradient(110deg, #f3fbf7, #eff8f5);
  border-radius: 10px;
  padding: 13px;
  margin-top: 13px;
}
.ref-partner-block > h3 {
  font-size: 12px;
}
.ref-partner-block > p {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0 10px;
}
.ref-partner-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.ref-partner-cards > label {
  display: grid;
  border: 1px solid #dbeee4;
  background: white;
  border-radius: 9px;
  padding: 9px;
  cursor: pointer;
}
.ref-partner-cards > label > div {
  min-width: 0;
}
.ref-partner-cards img {
  width: 65px;
  height: 53px;
  object-fit: cover;
  border-radius: 6px;
  float: left;
  margin: 0 8px 10px 0;
}
.ref-partner-cards strong {
  font-size: 10px;
  display: block;
}
.ref-partner-cards small {
  font-size: 9px;
  display: block;
  line-height: 1.4;
  margin-top: 4px;
}
.ref-partner-cards > label > span {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: var(--green);
  clear: both;
}
.ref-partner-cards input {
  accent-color: var(--green);
}
.ref-comms {
  display: grid;
  gap: 9px;
}
.ref-comms > button {
  display: flex;
  gap: 13px;
  align-items: center;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  padding: 13px;
  text-align: left;
  color: var(--muted);
}
.ref-comms > button.selected {
  background: #f0fbf5;
  border-color: #bee7d2;
  color: var(--green);
}
.ref-comms strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
}
.ref-comms small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
}
.ref-comms .icon {
  width: 21px;
  height: 21px;
}
.ref-summary-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  align-items: start;
}
.ref-summary-hero > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}
.ref-summary-hero .ref-section-head {
  margin-bottom: 9px;
}
.ref-summary-hero h1 {
  font-size: 29px;
  margin: 9px 0;
}
.ref-summary-hero .actions {
  gap: 5px;
}
.ref-summary-hero .badge {
  font-size: 9px;
}
.ref-summary-hero p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
}
.ref-summary-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 15px;
}
.ref-summary-meta > div {
  display: flex;
  gap: 8px;
  align-items: start;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}
.ref-summary-meta .icon {
  width: 24px;
  height: 24px;
  color: var(--green);
  flex-shrink: 0;
}
.ref-summary-meta strong {
  font-size: 11px;
  line-height: 1.3;
}
.ref-summary-meta small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  margin-top: 5px;
}
.ref-summary-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.ref-summary-columns .panel {
  padding: 13px 11px;
}
.ref-summary-columns .panel h2 {
  font-size: 13px;
}
.ref-summary-item {
  display: flex;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  margin: 7px 0;
}
.ref-summary-item .icon {
  width: 23px;
  color: var(--green);
}
.ref-summary-item strong {
  display: block;
  font-size: 10px;
}
.ref-summary-item small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
}
.ref-summary-columns .note {
  font-size: 10px;
  padding: 9px;
}
.ref-next-actions {
  padding: 15px;
  background: linear-gradient(110deg, #f2fbf6, #f9fdfb);
  border: 1px solid #e2f1e9;
  border-radius: 12px;
}
.ref-next-actions > h3 {
  font-size: 14px;
  margin-bottom: 11px;
}
.ref-next-actions > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ref-next-actions button {
  position: relative;
  display: flex;
  align-items: start;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 95px;
  text-align: left;
  padding: 13px 10px 24px;
  color: var(--green);
}
.ref-next-actions button strong {
  font-size: 10px;
  line-height: 1.3;
  color: var(--ink);
}
.ref-next-actions button small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}
.ref-next-actions button > .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.ref-next-actions button > span {
  position: absolute;
  right: 9px;
  bottom: 7px;
  border: 1px solid #d6eadf;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  text-align: center;
  line-height: 19px;
}
.ref-timeline {
  display: grid;
  gap: 0;
  margin-bottom: 10px;
}
.ref-timeline > div {
  display: flex;
  gap: 13px;
  padding: 9px 5px 9px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  position: relative;
}
.ref-timeline > div:before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1daa79;
}
.ref-timeline time {
  min-width: 36px;
  color: var(--muted);
}
@media (min-width: 1900px) {
  .wizard-grid {
    grid-template-columns: minmax(0, 2.2fr) minmax(350px, 1fr);
  }
  .ref-section-head h2 {
    font-size: 19px;
  }
  .ref-section-head p,
  .ref-description {
    font-size: 13px;
  }
  .field,
  .field-label {
    font-size: 14px;
  }
  .rich-content {
    font-size: 14px;
    min-height: 95px;
  }
  .ref-goal {
    min-height: 95px;
  }
  .ref-goal span {
    font-size: 13px;
  }
  .ref-chip {
    font-size: 12px;
    padding: 7px 11px;
  }
  .ref-activities .choice {
    font-size: 12px;
    min-height: 65px;
  }
  .ref-resources .field {
    font-size: 12px;
  }
  .ref-checks label {
    font-size: 12px;
  }
  .ref-needs-row .ref-section-head h2 {
    font-size: 14px;
  }
  .ref-date-row .field-label {
    font-size: 14px;
  }
  .date-grid > button {
    height: 31px;
    font-size: 12px;
  }
  .ref-project-preview > p,
  .ref-project-preview .summary-list,
  .wizard-aside .guide p {
    font-size: 13px;
  }
  .ref-summary-hero h1 {
    font-size: 35px;
  }
  .ref-summary-hero p {
    font-size: 14px;
  }
  .ref-summary-meta strong {
    font-size: 13px;
  }
  .ref-summary-meta small {
    font-size: 11px;
  }
  .ref-summary-columns .panel h2 {
    font-size: 15px;
  }
  .ref-summary-item strong {
    font-size: 13px;
  }
  .ref-summary-item small {
    font-size: 11px;
  }
  .ref-next-actions button strong {
    font-size: 13px;
  }
  .ref-next-actions button small {
    font-size: 11px;
  }
  .ref-team-picker strong {
    font-size: 13px;
  }
  .ref-team-picker small {
    font-size: 12px;
  }
}
@media (max-width: 1150px) {
  .ref-goals {
    grid-template-columns: repeat(3, 1fr);
  }
  .ref-cover-picker {
    grid-template-columns: 1fr;
  }
  .cover-options {
    max-width: 310px;
  }
  .ref-activities {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-resources {
    grid-template-columns: 1fr 1fr;
  }
  .ref-resources > div:last-child {
    grid-column: 1/-1;
  }
  .ref-needs-row {
    grid-template-columns: 1fr;
  }
  .ref-partner-cards {
    grid-template-columns: 1fr;
  }
  .ref-summary-columns {
    grid-template-columns: 1fr;
  }
  .ref-next-actions > div {
    grid-template-columns: 1fr 1fr;
  }
  .ref-summary-meta {
    grid-template-columns: 1fr 1fr;
  }
  .ref-summary-hero {
    grid-template-columns: 1fr;
  }
  .ref-mode-row {
    flex-wrap: wrap;
  }
  .ref-date-row {
    gap: 15px;
  }
  .ref-date-row > div:nth-child(2) {
    padding-left: 15px;
  }
}
@media (max-width: 900px) {
  .wizard-grid {
    grid-template-columns: 1fr;
  }
  .wizard-aside {
    grid-template-columns: 1fr 1fr;
  }
  .wizard-aside > .guide {
    grid-column: 1/-1;
  }
  .ref-goals {
    grid-template-columns: repeat(6, 1fr);
  }
  .ref-cover-picker {
    grid-template-columns: 1.2fr 1fr;
  }
  .ref-activities {
    grid-template-columns: repeat(4, 1fr);
  }
  .ref-resources {
    grid-template-columns: repeat(3, 1fr);
  }
  .ref-resources > div:last-child {
    grid-column: auto;
  }
  .ref-needs-row {
    grid-template-columns: 1.2fr 1fr;
  }
  .ref-summary-columns {
    grid-template-columns: repeat(3, 1fr);
  }
  .ref-summary-hero {
    grid-template-columns: 1.5fr 1fr;
  }
  .ref-summary-meta {
    grid-template-columns: repeat(4, 1fr);
  }
  .ref-next-actions > div {
    grid-template-columns: repeat(4, 1fr);
  }
  .ref-partner-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 580px) {
  body[data-view="create"] .page-head h1 {
    font-size: 25px;
  }
  body[data-view="create"] .page-head p {
    font-size: 11px;
  }
  .step {
    white-space: normal;
    font-size: 9px;
    gap: 5px;
  }
  .step b {
    width: 23px;
    height: 23px;
    font-size: 11px;
  }
  .step.current:before {
    bottom: -10px;
    left: 0;
    right: 0;
  }
  .steps {
    padding: 10px 8px;
  }
  .ref-goals {
    grid-template-columns: repeat(3, 1fr);
  }
  .ref-goal {
    min-height: 78px;
  }
  .ref-cover-picker {
    grid-template-columns: 1fr;
  }
  .ref-cover-picker .upload {
    padding: 11px;
  }
  .ref-activities {
    grid-template-columns: 1fr 1fr;
  }
  .ref-resources,
  .ref-needs-row {
    grid-template-columns: 1fr;
  }
  .ref-resources > div:last-child {
    grid-column: auto;
  }
  .ref-checks label {
    font-size: 11px;
  }
  .ref-mode-row > label {
    min-width: 0;
    flex: 1;
    font-size: 10px;
    padding: 8px;
  }
  .ref-mode-row > select {
    max-width: none;
    flex-basis: 100%;
  }
  .ref-date-row,
  .ref-place-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ref-date-row > div:nth-child(2) {
    border: 0;
    padding: 0;
  }
  .ref-date-row .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .date-grid > button {
    height: 29px;
  }
  .ref-place-row .map {
    height: 200px;
  }
  .ref-place-row > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ref-address > img {
    height: 70px;
  }
  .wizard-grid > #project-form {
    padding: 16px;
  }
  .wizard-grid > #project-form.wizard-unboxed {
    padding: 0;
  }
  .wizard-aside {
    display: contents !important;
  }
  .wizard-aside > .guide,
  .wizard-aside > .ref-place-guide {
    grid-row: 1;
  }
  .wizard-unboxed .form-grid.cols3 {
    grid-template-columns: 1fr;
  }
  .ref-team-picker {
    gap: 8px;
    justify-content: start;
    overflow: auto;
    padding: 5px;
  }
  .ref-team-picker > label,
  .ref-team-picker > a {
    min-width: 58px;
  }
  .ref-partner-cards {
    grid-template-columns: 1fr;
  }
  .ref-partner-cards > label > div img {
    height: 45px;
    width: 60px;
  }
  .ref-summary-hero {
    grid-template-columns: 1fr;
  }
  .ref-summary-hero > img {
    height: 170px;
  }
  .ref-summary-hero h1 {
    font-size: 25px;
  }
  .ref-summary-meta {
    grid-template-columns: 1fr 1fr;
  }
  .ref-summary-columns {
    grid-template-columns: 1fr;
  }
  .ref-next-actions > div {
    grid-template-columns: 1fr 1fr;
  }
  .ref-next-actions button {
    min-height: 110px;
  }
  .ref-summary-columns .panel {
    padding: 15px;
  }
  .ref-summary-item strong {
    font-size: 12px;
  }
  .ref-summary-item small {
    font-size: 11px;
  }
  .wizard-aside .guide {
    min-height: 165px;
  }
  .wizard-aside .guide > img {
    height: 155px;
    width: 110px;
  }
  .wizard-aside .guide h3 {
    font-size: 17px;
  }
  .wizard-aside .guide p {
    font-size: 11px;
  }
  .ref-project-preview > .photo {
    height: 135px;
  }
  .wizard-aside .ref-tips li {
    font-size: 12px;
  }
}
/* 18 — Employee detail: identity, activity workspace, persistent membership column. */
.employee-hero {
  height: 185px;
  position: relative;
  padding: 7px 0 15px;
  background:
    linear-gradient(90deg, #f6fbfc 30%, #f6fbfcc9 54%, transparent 80%),
    url("assets/firma-tim-sadenie-v1.webp") right top/auto 100% no-repeat;
  border-radius: 10px 10px 0 0;
}
.employee-identity {
  display: flex;
  gap: 22px;
  align-items: center;
  border: 1px solid #e6edf0;
  border-radius: 12px;
  background: #ffffffb8;
  padding: 14px 20px;
  max-width: 53%;
}
.employee-identity h1 {
  font-size: 30px;
  margin: 0 0 3px;
}
.employee-identity p {
  font-size: 17px;
  color: #566b93;
  margin-bottom: 9px;
}
.employee-identity > div > div {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
}
.employee-identity .icon {
  width: 17px;
  height: 17px;
}
.employee-quote {
  position: absolute;
  left: 54%;
  top: 56px;
  color: #48668c;
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
}
.employee-quote > div {
  margin-top: 15px;
}
.employee-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(245px, 1fr);
  gap: 15px;
}
.employee-layout > div {
  min-width: 0;
}
.employee-layout > .stack {
  padding-top: 0;
}
.ref-full-tabs {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: auto;
}
.ref-full-tabs .tabs {
  margin: 0;
  gap: 9px;
  flex-wrap: nowrap;
  justify-content: space-around;
}
.ref-full-tabs .tabs a {
  background: white;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 14px 10px;
  font-size: 11px;
  white-space: nowrap;
}
.ref-full-tabs .tabs a.selected {
  border-bottom-color: var(--green);
  color: var(--green);
}
.employee-layout .stats {
  margin: 12px 0;
  gap: 8px;
}
.employee-layout .stat {
  padding: 13px 11px;
  gap: 10px;
  min-width: 0;
}
.employee-layout .stat strong {
  font-size: 24px;
}
.employee-layout .stat:last-child strong {
  font-size: 17px;
}
.employee-layout .stat small {
  font-size: 10px;
}
.employee-layout .stat > span {
  width: 35px;
  height: 35px;
}
.employee-layout .stat:nth-child(1) > span,
.employee-layout .stat:nth-child(2) > span,
.employee-layout .stat:nth-child(4) > span {
  background: #fff4df;
  color: #ec940e;
}
.employee-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px;
}
.employee-columns .panel {
  padding: 16px;
}
.employee-columns .panel-head h2 {
  font-size: 15px;
}
.employee-columns .panel-head a {
  font-size: 10px;
}
.employee-activity {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.employee-activity:last-child {
  border: 0;
}
.employee-activity > time {
  min-width: 55px;
  color: var(--muted);
  font-size: 9px;
}
.employee-activity > img {
  width: 52px;
  height: 42px;
  border-radius: 7px;
  object-fit: cover;
}
.employee-activity > div {
  flex: 1;
  min-width: 0;
}
.employee-activity strong {
  display: block;
  font-size: 10px;
}
.employee-activity small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
}
.employee-activity .badge {
  font-size: 8px;
  padding: 4px 6px;
}
.employee-activity .badge:last-child {
  display: none;
}
.employee-charts {
  margin-top: 12px;
}
.employee-charts .chart {
  height: 130px;
  gap: 8px;
  padding-top: 8px;
}
.employee-columns .row strong {
  font-size: 11px;
}
.employee-columns .row small {
  font-size: 10px;
}
.employee-columns .row .datebox {
  min-width: 43px;
}
.employee-columns .row .datebox b {
  font-size: 20px;
}
.employee-columns .note {
  font-size: 11px;
}
.donut-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
}
.donut {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: conic-gradient(
    #27b57b 0 40%,
    #f9c73e 40% 59%,
    #a581e6 59% 78%,
    #d5ecff 78%
  );
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.donut:before {
  content: "";
  position: absolute;
  inset: 20px;
  background: white;
  border-radius: 50%;
}
.donut > strong {
  z-index: 1;
  text-align: center;
  font-size: 24px;
}
.donut > strong > small {
  display: block;
  font-size: 10px;
  font-weight: 400;
}
.donut-row ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 10px;
  color: var(--muted);
}
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #21b47e;
  margin-right: 6px;
}
.legend-dot.orange {
  background: #f2b139;
}
.legend-dot.purple {
  background: #ad86e9;
}
.legend-dot.blue {
  background: #75bff7;
}
.employee-layout > aside .panel {
  padding: 17px;
}
.employee-layout > aside .panel h2 {
  font-size: 15px;
}
.role-highlight {
  display: flex;
  gap: 10px;
  align-items: start;
  margin: 15px 0;
}
.role-highlight > .icon {
  width: 38px;
  height: 38px;
  background: #e3f8eb;
  padding: 7px;
  color: var(--green);
  border-radius: 9px;
}
.role-highlight strong {
  font-size: 12px;
}
.role-highlight p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
  margin: 5px 0 0;
}
.full-width {
  width: 100%;
}
.employee-info p {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0;
}
.employee-info .icon {
  width: 17px;
  height: 17px;
}
.employee-info h3 {
  font-size: 12px;
  margin-bottom: 13px;
}
.employee-info dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 7px;
  font-size: 11px;
  color: var(--muted);
}
.employee-info dt,
.employee-info dd {
  margin: 0;
}
.employee-info .divider {
  margin: 16px 0;
}
.employee-info label {
  font-size: 10px;
}
.employee-info label textarea {
  min-height: 80px;
  background: #fbfcff;
  font-size: 11px;
}
.member-privacy-note {
  display: block;
  font-size: 9px;
  margin-top: 9px;
  line-height: 1.5;
}
.history-entry {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.history-entry > .icon {
  color: var(--green);
}
.history-entry strong {
  font-size: 13px;
  display: block;
}
.history-entry small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}
@media (min-width: 1900px) {
  .employee-hero {
    height: 220px;
  }
  .employee-identity {
    max-width: 52%;
    padding: 20px 25px;
  }
  .employee-identity h1 {
    font-size: 36px;
  }
  .employee-layout .stat {
    padding: 17px;
  }
  .employee-activity {
    padding: 15px 0;
  }
  .employee-activity strong,
  .employee-columns .row strong {
    font-size: 13px;
  }
  .employee-activity small,
  .employee-columns .row small {
    font-size: 12px;
  }
  .employee-activity > time {
    font-size: 11px;
  }
  .employee-activity .badge {
    font-size: 10px;
  }
  .employee-activity .badge:last-child {
    display: inline-flex;
  }
  .employee-layout > aside .panel h2 {
    font-size: 17px;
  }
  .employee-info p,
  .employee-info dl {
    font-size: 13px;
  }
  .employee-info h3 {
    font-size: 14px;
  }
  .role-highlight strong {
    font-size: 14px;
  }
  .role-highlight p {
    font-size: 12px;
  }
  .employee-info label textarea {
    font-size: 13px;
  }
  .donut-row ul {
    font-size: 12px;
  }
  .ref-full-tabs .tabs a {
    font-size: 13px;
  }
}
@media (max-width: 1150px) {
  .employee-layout {
    grid-template-columns: minmax(0, 2.3fr) 240px;
  }
  .employee-columns {
    grid-template-columns: 1fr;
  }
  .employee-identity {
    max-width: 66%;
  }
  .employee-quote {
    display: none;
  }
  .employee-identity h1 {
    font-size: 25px;
  }
  .employee-identity .portrait.large {
    width: 85px;
    height: 85px;
  }
  .employee-layout .stats {
    grid-template-columns: 1fr 1fr;
  }
  .employee-activity .badge:last-child {
    display: inline-flex;
  }
}
@media (max-width: 900px) {
  .employee-layout {
    grid-template-columns: 1fr;
  }
  .employee-columns {
    grid-template-columns: 1fr 1fr;
  }
  .employee-identity {
    max-width: 80%;
  }
  .employee-hero {
    height: 185px;
  }
  .employee-layout > aside {
    grid-template-columns: 1fr 1fr;
  }
  .employee-layout > aside > .panel:nth-child(2) {
    grid-row: auto;
  }
  .employee-layout .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 580px) {
  .employee-hero {
    height: 185px;
    background-size: auto 100%;
    background-position: 60% top;
  }
  .employee-identity {
    max-width: 100%;
    padding: 13px;
    gap: 13px;
    background: #ffffffe8;
  }
  .employee-identity .portrait.large {
    width: 70px;
    height: 70px;
  }
  .employee-identity h1 {
    font-size: 24px;
  }
  .employee-identity p {
    font-size: 13px;
    margin-bottom: 7px;
  }
  .employee-identity > div > div {
    font-size: 9px;
  }
  .employee-identity > div > div .icon {
    width: 13px;
    height: 13px;
  }
  .employee-layout .stats {
    grid-template-columns: 1fr 1fr;
  }
  .employee-columns {
    grid-template-columns: 1fr;
  }
  .employee-layout > aside {
    grid-template-columns: 1fr;
  }
  .employee-activity .badge:last-child {
    display: none;
  }
  .ref-full-tabs .tabs {
    justify-content: start;
    gap: 5px;
  }
  .ref-full-tabs .tabs a {
    font-size: 10px;
    padding: 12px 8px;
  }
  .employee-activity strong {
    font-size: 11px;
  }
  .employee-activity small {
    font-size: 10px;
  }
  .employee-columns .panel-head h2 {
    font-size: 16px;
  }
  .employee-info p,
  .employee-info dl {
    font-size: 12px;
  }
  .employee-info h3 {
    font-size: 14px;
  }
  .employee-info label textarea {
    font-size: 12px;
  }
  .member-privacy-note {
    font-size: 10px;
  }
}
/* 11, 20–22 — Project workspace, participants and outcome verification. */
.project-created-head {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) 1fr;
  gap: 20px;
  margin-bottom: 15px;
  align-items: center;
}
.project-created-head h1 {
  font-size: 37px;
  margin: 5px 0 10px;
}
.project-created-head p {
  font-size: 13px;
  color: var(--muted);
  max-width: 900px;
}
.project-created-head .guide {
  min-height: 125px;
  padding: 17px;
}
.project-created-head .guide > img {
  height: 133px;
  width: 120px;
  bottom: -8px;
}
.project-created-head .guide h3 {
  font-size: 19px;
}
.project-created-head .guide p {
  font-size: 11px;
}
.project-created-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(270px, 1fr);
  gap: 16px;
}
.project-created-summary > div:first-child {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) 1.7fr;
  gap: 17px;
}
.project-created-summary > div:first-child > img {
  height: 173px;
  width: 100%;
  object-fit: cover;
  border-radius: 9px;
}
.project-created-summary h1 {
  font-size: 28px;
  margin: 17px 0 8px;
}
.project-created-summary p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.project-created-summary .ref-summary-meta {
  margin-top: 15px;
}
.project-workspace {
  padding: 0;
  overflow: hidden;
}
.project-workspace .ref-full-tabs {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.project-workspace-body {
  padding: 15px;
}
.project-workspace .ref-section-head h2 {
  font-size: 16px;
}
.project-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.project-partner-grid > article {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px;
  min-width: 0;
}
.project-partner-grid header {
  display: flex;
  gap: 9px;
  align-items: start;
}
.project-partner-grid header > img {
  width: 73px;
  height: 73px;
  object-fit: cover;
  border-radius: 8px;
}
.project-partner-grid h3 {
  font-size: 12px;
  margin: 3px 0 7px;
}
.project-partner-grid header small {
  font-size: 9px;
}
.project-partner-grid article > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 13px 0;
  min-height: 49px;
}
.project-partner-grid .note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  padding: 8px;
  margin: 7px 0;
}
.project-partner-grid .note .icon {
  width: 13px;
}
.project-partner-grid .btn {
  font-size: 11px;
}
.project-state-list {
  display: grid;
  margin: 10px 0 0;
}
.project-state-list > div {
  display: flex;
  gap: 12px;
  padding: 9px 3px;
  border-bottom: 1px solid #f0f3f5;
  font-size: 11px;
  color: #8a9cb1;
}
.project-state-list span {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a3b0bf;
  background: #f1f4f7;
}
.project-state-list .done {
  color: var(--deep);
}
.project-state-list .done span {
  background: #1daf79;
  color: white;
}
.project-created-layout > aside .panel {
  padding: 16px;
}
.project-created-layout > aside .panel h2 {
  font-size: 15px;
}
.project-created-layout > aside .ref-tips li {
  font-size: 11px;
}
.ref-project-hero {
  height: 181px;
  background:
    linear-gradient(90deg, #f6fbfc 20%, #f6fbfccc 45%, transparent 75%),
    url("assets/firma-tim-sadenie-v1.webp") right top/auto 100% no-repeat;
  border-radius: 12px 12px 0 0;
  padding: 8px 15px 15px;
}
.ref-project-hero h1 {
  font-size: 35px;
  margin: 0 0 5px;
  max-width: 75%;
  line-height: 1.1;
}
.ref-project-hero > p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 10px;
}
.ref-project-hero > div {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.ref-project-hero .icon {
  width: 16px;
  height: 16px;
}
.ref-project-hero + .tabs,
.status-line + .tabs {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  gap: 20px;
  padding: 0 15px;
}
.ref-project-hero + .tabs a,
.status-line + .tabs a {
  padding: 12px 12px;
  background: white;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-size: 12px;
}
.ref-project-hero + .tabs a.selected,
.status-line + .tabs a.selected {
  border-bottom-color: var(--green);
  color: var(--green);
}
.project-operations {
  display: grid;
  grid-template-columns: minmax(0, 3.4fr) minmax(260px, 1fr);
  gap: 13px;
}
.project-operations > div {
  min-width: 0;
}
.project-operations .stats {
  margin: 0 0 11px;
  gap: 8px;
}
.project-operations .stat {
  padding: 13px 11px;
}
.project-operations .stat > span {
  height: 34px;
  width: 34px;
}
.project-operations .stat strong {
  font-size: 23px;
}
.project-operations .stat small {
  font-size: 10px;
}
.project-operations .table-wrap table {
  font-size: 11px;
}
.project-operations td,
.project-operations th {
  padding: 10px 8px;
}
.project-operations .portrait {
  width: 28px;
  height: 28px;
  margin-right: 4px;
}
.project-operations > aside > .panel {
  padding: 16px;
}
.project-operations > aside .panel h2 {
  font-size: 14px;
}
.project-operations .row strong {
  font-size: 12px;
}
.project-operations .row small,
.project-operations .summary-list {
  font-size: 10px;
}
.project-operations .toolbar {
  gap: 7px;
  align-items: center;
}
.project-operations .toolbar .search-field {
  font-size: 12px;
  padding: 9px;
  max-width: 350px;
}
.project-operations .toolbar select {
  font-size: 10px;
}
.project-operations .toolbar .btn {
  font-size: 11px;
  margin-left: auto;
}
.project-operations .row > img {
  width: 65px;
  height: 65px;
}
.project-operations .gallery {
  gap: 5px;
}
.project-operations .gallery img {
  height: 88px;
}
.result-summary {
  display: grid;
  gap: 14px;
}
.result-summary > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.result-summary .icon {
  color: var(--green);
  background: #ebfaf1;
  border-radius: 8px;
  padding: 5px;
  width: 30px;
  height: 30px;
}
.result-summary strong {
  font-size: 22px;
}
.result-summary span {
  font-size: 11px;
  color: var(--muted);
}
body[data-view="review"] .status-line {
  margin: 0 0 10px;
  padding: 0 13px;
  background: #ffffffad;
  border-radius: 8px;
}
body[data-view="review"] .status-line > span {
  font-size: 10px;
  padding: 10px 0;
  border-width: 2px;
}
body[data-view="live"] .main > .work-grid {
  grid-template-columns: minmax(0, 3.4fr) minmax(260px, 1fr);
}
body[data-view="live"] .main > .stats {
  margin: 12px 0;
}
body[data-view="live"] .guide {
  min-height: 145px;
}
body[data-view="live"] .guide > img {
  height: 140px;
  width: 110px;
}
body[data-view="live"] .guide h3 {
  font-size: 17px;
}
body[data-view="live"] .guide p {
  font-size: 11px;
}
/* 23–26 — Portfolio, company overview and settings. */
.company-hero {
  min-height: 180px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 20px 13px;
  background:
    linear-gradient(90deg, #f6fbfc 20%, #f6fbfcd9 48%, transparent 80%),
    url("assets/firma-tim-sadenie-v1.webp") right top/auto 100% no-repeat;
  border-radius: 11px 11px 0 0;
}
.company-identity {
  display: flex;
  gap: 20px;
  align-items: center;
}
.company-logo {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #008653, #00a16b);
  color: white;
  flex-shrink: 0;
}
.company-logo > .icon {
  width: 53px;
  height: 53px;
  stroke-width: 1.7;
}
.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.company-identity h1 {
  font-size: 29px;
  margin: 0 0 4px;
}
.company-identity p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.company-meta {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}
.company-meta > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.company-meta .icon {
  width: 14px;
  height: 14px;
}
.company-tabs,
.settings-tabs {
  margin-bottom: 12px;
}
.company-tabs .tabs {
  justify-content: space-between;
  gap: 2px;
}
.company-tabs .tabs a {
  font-size: 10px;
  padding: 11px 9px;
}
.company-metrics > .stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 13px;
}
.company-metrics .stat {
  padding: 14px 12px;
  gap: 12px;
}
.company-metrics .stat > span {
  height: 36px;
  width: 36px;
}
.company-metrics .stat strong {
  font-size: 24px;
}
.company-metrics .stat small {
  font-size: 10px;
}
.company-overview-top {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1fr;
  gap: 12px;
}
.company-overview-top .panel {
  padding: 17px;
}
.company-overview-top h2,
.company-second h2 {
  font-size: 15px;
}
.company-about-text {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.company-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 12px;
  margin-top: 18px;
}
.company-facts > div {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
}
.company-facts .icon {
  width: 19px;
  height: 19px;
  color: #376dad;
}
.company-facts strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 3px;
}
.company-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.company-value-grid > div {
  padding: 10px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}
.company-value-grid > div > span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf8ef;
  color: var(--green);
  width: 39px;
  height: 39px;
  margin: 0 auto 8px;
}
.company-value-grid > div:nth-child(2) > span {
  color: #2476cb;
  background: #eaf4ff;
}
.company-value-grid > div:nth-child(3) > span {
  color: #8746d4;
  background: #f4eaff;
}
.company-value-grid > div:nth-child(4) > span {
  color: #f39618;
  background: #fff4df;
}
.company-value-grid strong {
  font-size: 11px;
  display: block;
}
.company-value-grid small {
  font-size: 9px;
  display: block;
  margin-top: 5px;
  line-height: 1.4;
}
.company-story {
  position: relative;
  border: 0;
  background: #e2efe6;
  padding: 0;
  border-radius: 11px;
  overflow: hidden;
  min-height: 250px;
  text-align: left;
  color: white;
}
.company-story > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-story:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #082e23df, #082e2311);
}
.company-story > span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 15px;
  z-index: 1;
}
.company-story strong {
  font-size: 23px;
  line-height: 1.3;
  font-style: italic;
  font-weight: 600;
  display: block;
  margin-bottom: 19px;
}
.company-story small {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}
.company-story small > .icon {
  width: 23px;
  height: 23px;
}
.company-second {
  margin-top: 12px;
  gap: 12px;
}
.company-second .panel {
  padding: 17px;
}
.company-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.company-area-grid > div {
  border: 1px solid var(--line);
  padding: 10px 7px;
  border-radius: 9px;
  text-align: center;
}
.company-area-grid > div > span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #eaf8ef;
  color: var(--green);
  border-radius: 8px;
  margin: 0 auto 8px;
}
.company-area-grid strong {
  font-size: 10px;
  display: block;
}
.company-area-grid small {
  font-size: 9px;
  line-height: 1.4;
  display: block;
  margin-top: 5px;
}
.company-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.company-gallery img {
  width: 100%;
  height: 105px;
  object-fit: cover;
  border-radius: 8px;
}
.company-partners {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin: 15px 0;
}
.company-partners > div {
  display: grid;
  gap: 7px;
  justify-items: center;
  flex: 1;
  padding: 8px;
  background: #fbfdfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.company-partners .icon {
  width: 33px;
  height: 33px;
  color: var(--green);
}
.company-partners small {
  font-size: 10px;
}
.public-card-inline {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}
.public-card-inline h3 {
  font-size: 12px;
}
.public-card-inline p {
  font-size: 11px;
  margin: 7px 0 13px;
}
.public-card-inline .company-logo {
  width: 74px;
  height: 74px;
}
.settings-overview {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(270px, 1fr);
  gap: 13px;
}
.settings-overview td,
.settings-overview th {
  padding: 9px;
  font-size: 11px;
}
.settings-overview .portrait {
  margin-right: 6px;
}
.settings-overview .panel-head h2 {
  font-size: 16px;
}
.settings-roles {
  display: grid;
  gap: 9px;
  margin: 9px 0 12px;
}
.settings-roles > div {
  display: flex;
  gap: 13px;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 8px;
}
.settings-roles .icon {
  width: 35px;
  height: 35px;
  color: var(--green);
  background: #e4f8ed;
  padding: 6px;
  border-radius: 8px;
}
.settings-roles strong {
  display: block;
  font-size: 12px;
}
.settings-roles small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
}
.settings-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.settings-card-grid .panel {
  padding: 16px;
}
.settings-card-grid h2 {
  font-size: 15px;
}
.settings-card-grid .ref-description {
  font-size: 10px;
}
.settings-items {
  display: grid;
  gap: 8px;
}
.settings-items > div,
.settings-items > a,
.settings-items > button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fcfefd;
  text-align: left;
  color: var(--ink);
}
.settings-items .icon {
  width: 28px;
  height: 28px;
  color: var(--green);
  padding: 4px;
  background: #e9f9ef;
  border-radius: 7px;
}
.settings-items > * > span {
  flex: 1;
}
.settings-items strong {
  font-size: 11px;
  display: block;
  font-weight: 600;
}
.settings-items small {
  font-size: 9px;
  display: block;
  margin-top: 4px;
}
.setting-inline {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  color: var(--muted);
  font-size: 11px;
}
.setting-inline > .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}
.setting-inline > span {
  flex: 1;
}
.settings-card-grid .note {
  font-size: 10px;
  margin-bottom: 0;
}
.portfolio-top-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 12px;
}
.portfolio-top-grid > .panel,
.portfolio-top-grid > .stack {
  min-width: 0;
}
.portfolio-project {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.portfolio-project:last-child {
  border: 0;
}
.portfolio-project > img {
  width: 110px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}
.portfolio-project > div {
  flex: 1;
}
.portfolio-project strong {
  font-size: 13px;
  display: block;
}
.portfolio-project small {
  display: block;
  font-size: 10px;
  margin: 6px 0;
}
.portfolio-project .badge {
  font-size: 9px;
}
.portfolio-output {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 10px;
}
.portfolio-output > div {
  text-align: center;
}
.portfolio-output .icon {
  width: 34px;
  height: 34px;
  color: var(--green);
  display: block;
  margin: 0 auto 12px;
}
.portfolio-output strong {
  display: block;
  font-size: 26px;
}
.portfolio-output small {
  font-size: 10px;
  display: block;
  margin-top: 5px;
}
.portfolio-total {
  display: block;
  text-align: right;
  font-size: 20px;
  color: var(--green);
}
body[data-view="impact"] .hero.slim,
body[data-view="planning"] .hero.slim {
  min-height: 140px;
  height: 140px;
  margin-bottom: 0;
}
body[data-view="impact"] .hero.slim h1,
body[data-view="planning"] .hero.slim h1 {
  font-size: 30px;
}
body[data-view="impact"] .hero.slim h2,
body[data-view="planning"] .hero.slim h2 {
  font-size: 17px;
  font-weight: 400;
}
body[data-view="impact"] .stats,
body[data-view="planning"] .stats {
  margin: 0 0 12px;
  position: relative;
}
body[data-view="planning"] .calendar > div {
  min-height: 95px;
}
body[data-view="planning"] .calendar > .weekday {
  min-height: 27px;
}
body[data-view="planning"] .calendar .event {
  font-size: 10px;
  padding: 7px 6px;
}
body[data-view="planning"] .calendar > div:nth-child(4n) .event {
  background: #fff0df;
  color: #a96822;
}
body[data-view="planning"] .calendar > div:nth-child(3n) .event {
  background: #e5efff;
  color: #2663ad;
}
@media (min-width: 1900px) {
  .project-created-summary h1 {
    font-size: 34px;
  }
  .project-created-summary p {
    font-size: 14px;
  }
  .project-created-summary > div:first-child > img {
    height: 210px;
  }
  .project-partner-grid h3 {
    font-size: 15px;
  }
  .project-partner-grid article > p {
    font-size: 13px;
  }
  .project-partner-grid header small {
    font-size: 11px;
  }
  .project-state-list > div {
    font-size: 13px;
    padding: 13px 5px;
  }
  .project-operations td,
  .project-operations th {
    padding: 13px;
    font-size: 13px;
  }
  .project-operations > aside .panel h2 {
    font-size: 17px;
  }
  .company-about-text {
    font-size: 14px;
  }
  .company-value-grid strong,
  .company-area-grid strong {
    font-size: 13px;
  }
  .company-value-grid small,
  .company-area-grid small {
    font-size: 11px;
  }
  .company-metrics .stat {
    padding: 18px;
  }
  .company-gallery img {
    height: 145px;
  }
  .settings-overview td,
  .settings-overview th {
    font-size: 13px;
    padding: 13px;
  }
  .setting-inline {
    font-size: 13px;
  }
  .settings-items strong {
    font-size: 13px;
  }
  .settings-items small {
    font-size: 11px;
  }
  .company-hero {
    min-height: 220px;
  }
  .company-identity h1 {
    font-size: 35px;
  }
  .company-identity p {
    font-size: 15px;
  }
  .company-meta {
    font-size: 12px;
  }
  .company-hero .company-logo {
    width: 105px;
    height: 105px;
  }
  .ref-project-hero {
    height: 210px;
  }
  .ref-project-hero h1 {
    font-size: 40px;
  }
  .portfolio-top-grid .panel {
    padding: 23px;
  }
}
@media (max-width: 1150px) {
  .project-created-head {
    grid-template-columns: 1.7fr 1fr;
  }
  .project-created-head h1 {
    font-size: 29px;
  }
  .project-created-layout {
    grid-template-columns: minmax(0, 2.1fr) 260px;
  }
  .project-partner-grid {
    grid-template-columns: 1fr;
  }
  .project-partner-grid article > p {
    min-height: 0;
  }
  .project-created-summary > div:first-child {
    grid-template-columns: 1fr;
  }
  .project-operations {
    grid-template-columns: minmax(0, 2fr) 250px;
  }
  .company-overview-top {
    grid-template-columns: 1fr 1fr;
  }
  .company-story {
    display: none;
  }
  .company-metrics .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .settings-overview {
    grid-template-columns: 1.7fr 1fr;
  }
  .settings-card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .company-tabs .tabs {
    justify-content: start;
  }
  .company-meta {
    max-width: 85%;
  }
  .project-created-summary .ref-summary-meta {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .project-created-head {
    grid-template-columns: 1fr;
  }
  .project-created-head > .guide {
    display: none;
  }
  .project-created-layout,
  .project-operations {
    grid-template-columns: 1fr;
  }
  .project-created-layout > aside,
  .project-operations > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .project-partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .project-created-summary > div:first-child {
    grid-template-columns: 1fr 1.7fr;
  }
  .settings-overview {
    grid-template-columns: 1fr;
  }
  .company-overview-top {
    grid-template-columns: 1fr 1fr;
  }
  .company-identity {
    gap: 15px;
  }
  .company-hero > .btn {
    align-self: start;
  }
  .company-identity h1 {
    font-size: 26px;
  }
  .company-logo {
    width: 72px;
    height: 72px;
  }
  .portfolio-top-grid {
    grid-template-columns: 1fr;
  }
  .project-created-summary h1 {
    font-size: 27px;
  }
  .project-operations .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 580px) {
  .project-created-head h1 {
    font-size: 27px;
  }
  .project-created-head p {
    font-size: 12px;
  }
  .project-created-summary > div:first-child {
    grid-template-columns: 1fr;
  }
  .project-created-summary > div:first-child > img {
    height: 170px;
  }
  .project-created-summary h1 {
    font-size: 25px;
    margin-top: 10px;
  }
  .project-created-layout > aside,
  .project-operations > aside {
    grid-template-columns: 1fr;
  }
  .project-partner-grid {
    grid-template-columns: 1fr;
  }
  .project-partner-grid article > p {
    min-height: 0;
  }
  .project-partner-grid header > img {
    width: 70px;
    height: 70px;
  }
  .project-partner-grid h3 {
    font-size: 14px;
  }
  .project-partner-grid header small,
  .project-partner-grid article > p {
    font-size: 12px;
  }
  .project-partner-grid .note {
    font-size: 10px;
  }
  .ref-project-hero {
    height: 170px;
    padding: 8px;
    background-position: 70% top;
  }
  .ref-project-hero h1 {
    font-size: 26px;
    max-width: 95%;
  }
  .ref-project-hero > p {
    font-size: 13px;
  }
  .ref-project-hero > div {
    font-size: 10px;
  }
  .ref-project-hero + .tabs,
  .status-line + .tabs {
    gap: 3px;
    padding: 0 6px;
    flex-wrap: nowrap;
    overflow: auto;
  }
  .ref-project-hero + .tabs a,
  .status-line + .tabs a {
    font-size: 10px;
    padding: 10px 7px;
    white-space: nowrap;
  }
  .project-operations .stats {
    grid-template-columns: 1fr 1fr;
  }
  .project-operations .stat {
    padding: 11px;
  }
  .project-operations .toolbar .btn {
    margin-left: 0;
    width: 100%;
  }
  .project-operations td,
  .project-operations th {
    padding: 10px 7px;
    font-size: 11px;
  }
  .result-summary span {
    font-size: 12px;
  }
  .company-hero {
    min-height: 190px;
    position: relative;
    padding: 17px 8px 45px;
    background-position: 70% top;
  }
  .company-identity h1 {
    font-size: 25px;
  }
  .company-identity p {
    font-size: 12px;
    max-width: 220px;
  }
  .company-identity {
    gap: 12px;
  }
  .company-hero .company-logo {
    width: 60px;
    height: 60px;
  }
  .company-logo .icon {
    width: 40px;
    height: 40px;
  }
  .company-meta {
    font-size: 9px;
    gap: 7px;
  }
  .company-hero > .btn {
    position: absolute;
    bottom: 10px;
    left: 80px;
  }
  .company-overview-top {
    grid-template-columns: 1fr;
  }
  .company-story {
    display: block;
    min-height: 210px;
  }
  .company-metrics > .stats {
    grid-template-columns: 1fr 1fr;
  }
  .company-metrics > .stats > .stat:last-child {
    grid-column: 1/-1;
  }
  .company-value-grid strong,
  .company-area-grid strong {
    font-size: 12px;
  }
  .company-value-grid small,
  .company-area-grid small {
    font-size: 10px;
  }
  .company-area-grid {
    grid-template-columns: 1fr 1fr;
  }
  .company-second {
    grid-template-columns: 1fr;
  }
  .company-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .company-gallery img {
    height: 85px;
  }
  .company-partners {
    gap: 6px;
  }
  .company-partners small {
    font-size: 9px;
  }
  .company-partners .icon {
    width: 26px;
  }
  .company-about-text {
    font-size: 12px;
  }
  .company-facts strong {
    font-size: 12px;
  }
  .company-facts > div {
    font-size: 11px;
  }
  .settings-card-grid {
    grid-template-columns: 1fr;
  }
  .settings-overview .panel-head {
    flex-direction: column;
    align-items: start;
  }
  .settings-tabs .tabs {
    justify-content: start;
  }
  .portfolio-project > img {
    width: 85px;
    height: 75px;
  }
  .portfolio-project strong {
    font-size: 12px;
  }
  .portfolio-project .badge {
    font-size: 8px;
  }
  .portfolio-output {
    gap: 7px;
    padding: 6px;
  }
  .portfolio-output strong {
    font-size: 23px;
  }
  .portfolio-output small {
    font-size: 10px;
  }
  body[data-view="impact"] .hero.slim,
  body[data-view="planning"] .hero.slim {
    height: 155px;
  }
  body[data-view="impact"] .hero.slim h1,
  body[data-view="planning"] .hero.slim h1 {
    font-size: 25px;
  }
  body[data-view="impact"] .hero.slim h2,
  body[data-view="planning"] .hero.slim h2 {
    font-size: 13px;
  }
  body[data-view="planning"] .calendar > div {
    min-height: 63px;
  }
  body[data-view="planning"] .calendar .event {
    padding: 3px;
    font-size: 8px;
  }
}
/* Final alignment refinements from side-by-side reference comparisons. */
.error:empty {
  display: none;
}
.map > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map .map-label,
.map > a {
  z-index: 2;
}
.date-grid {
  gap: 3px;
  padding: 6px 10px;
}
.date-grid > button {
  height: 21px;
}
.date-picker > header {
  padding: 4px 8px;
}
.wizard-unboxed > .form-footer {
  margin-top: -12px;
  padding: 0 18px 16px;
  background: white;
  border-radius: 0 0 12px 12px;
}
.wizard-unboxed > .panel:last-of-type {
  border-bottom: 0;
  padding-bottom: 15px;
}
.invite-columns > .invite-settings {
  padding-bottom: 12px;
}
.invite-settings > label {
  margin: 8px 0;
}
.invite-settings textarea {
  height: 49px;
}
.invite-settings > label:last-of-type {
  display: none;
}
.invite-settings > .btn {
  margin-top: 1px;
  padding: 6px 9px;
}
.invite-hero {
  min-height: 222px;
}
.invite-columns > section {
  padding-top: 17px;
  padding-bottom: 17px;
}
.qr-strip {
  min-height: 100px;
}
.ref-tips.with-character {
  min-height: 240px;
}
.invite-email {
  padding-top: 13px;
  padding-bottom: 13px;
}
.settings-card-grid .panel {
  padding: 14px;
}
.settings-card-grid .ref-description {
  margin-bottom: 7px;
}
.settings-card-grid .panel-head {
  margin-bottom: 9px;
}
.settings-items > div,
.settings-items > a,
.settings-items > button {
  padding: 9px;
}
.setting-inline {
  padding: 8px 0;
}
body[data-view="overview"] .main > .work-grid .project-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body[data-view="overview"] .main > .work-grid .project-card > div > .badge {
  position: absolute;
  top: 8px;
  left: 8px;
}
body[data-view="overview"] .main > .work-grid .project-card h3 {
  margin-top: 0 !important;
}
body[data-view="overview"] .main > .work-grid .project-card > img {
  height: 97px;
}
body[data-view="overview"] .main > .work-grid .project-card p {
  font-size: 10px;
}
body[data-view="overview"] .main > .work-grid .project-card > div {
  padding: 10px;
}
body[data-view="overview"] .main > .work-grid .project-card small {
  font-size: 9px;
}
.incoming-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(300px, 1fr);
  gap: 20px;
}
.incoming-layout > div {
  min-width: 0;
}
.incoming-layout > div > h1 {
  font-size: 35px;
  line-height: 1.1;
  margin: 5px 0 10px;
}
.incoming-layout > div > h1 > span {
  color: var(--green);
}
.incoming-intro {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.5;
}
.incoming-project {
  padding: 15px;
}
.incoming-project > div:first-child {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
}
.incoming-project > div:first-child > img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 12px;
}
.incoming-project h2 {
  font-size: 27px;
  margin: 12px 0 7px;
}
.incoming-project > div:first-child > div > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.incoming-meta {
  display: flex;
  gap: 14px;
  margin: 13px 0;
  flex-wrap: wrap;
}
.incoming-meta > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.incoming-meta .icon {
  width: 19px;
}
.incoming-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 15px;
}
.incoming-benefit-grid > section {
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 9px;
}
.incoming-benefit-grid h3 {
  font-size: 12px;
  margin-bottom: 13px;
}
.incoming-benefit-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.incoming-benefit-grid li {
  display: flex;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.incoming-benefit-grid .icon {
  width: 14px;
  height: 14px;
  color: var(--green);
  margin-top: 2px;
}
.incoming-place {
  margin-top: 13px;
  gap: 10px;
}
.incoming-place > .panel {
  padding: 12px;
}
.incoming-place > .panel h2 {
  font-size: 13px;
}
.incoming-place .map {
  height: 140px;
}
.incoming-place .status-line {
  margin-top: 15px;
}
.incoming-place .status-line span {
  font-size: 10px;
}
.incoming-place p {
  font-size: 12px;
}
.incoming-layout > aside {
  padding-top: 5px;
}
.incoming-layout > aside .panel {
  padding: 20px;
}
.incoming-layout > aside .panel h2 {
  font-size: 18px;
}
.incoming-layout > aside .btn {
  font-size: 14px;
  justify-content: start;
  min-height: 45px;
}
.incoming-layout > aside .guide {
  min-height: 185px;
}
.response-message {
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}
.response-message summary {
  cursor: pointer;
}
.response-message .field {
  margin-top: 12px;
}
.response-next {
  margin: 0;
  padding-left: 20px;
  font-size: 12px;
  color: var(--muted);
  display: grid;
  gap: 12px;
}
@media (max-width: 1150px) {
  .incoming-layout {
    grid-template-columns: 1.7fr 1fr;
  }
  .incoming-project > div:first-child {
    grid-template-columns: 1fr;
  }
  .incoming-project > div:first-child > img {
    height: 200px;
  }
  .incoming-benefit-grid {
    grid-template-columns: 1fr;
  }
  .incoming-layout > div > h1 {
    font-size: 29px;
  }
  body[data-view="overview"] .main > .work-grid .project-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .incoming-layout {
    grid-template-columns: 1fr;
  }
  .incoming-layout > aside {
    grid-row: 2;
  }
  .incoming-benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .incoming-project > div:first-child {
    grid-template-columns: 1fr 1.2fr;
  }
}
@media (max-width: 580px) {
  .incoming-project > div:first-child,
  .incoming-benefit-grid,
  .incoming-place {
    grid-template-columns: 1fr;
  }
  .incoming-layout > div > h1 {
    font-size: 27px;
  }
  .incoming-intro {
    font-size: 13px;
  }
  .incoming-project > div:first-child > img {
    height: 190px;
  }
  .incoming-project h2 {
    font-size: 25px;
  }
  .incoming-layout > aside {
    padding-top: 0;
  }
  .incoming-benefit-grid h3 {
    font-size: 14px;
  }
  .incoming-benefit-grid li {
    font-size: 12px;
  }
  .incoming-layout > aside .btn {
    font-size: 13px;
  }
  .date-grid > button {
    height: 28px;
  }
  .wizard-unboxed > .form-footer {
    padding: 0 15px 15px;
  }
  .invite-hero {
    min-height: 250px;
  }
  .invite-settings > .btn {
    width: 100%;
    margin-top: 8px;
  }
  body[data-view="overview"] .main > .work-grid .project-cards {
    grid-template-columns: 1fr;
  }
  body[data-view="overview"] .main > .work-grid .project-card > div > .badge {
    position: static;
    margin-bottom: 7px;
  }
  body[data-view="overview"] .main > .work-grid .project-card > img {
    height: 100%;
    min-height: 145px;
  }
}
.personal-portfolio{max-width:1000px;margin:0 auto;display:grid;gap:13px}.personal-profile-hero{height:200px;display:flex;align-items:end;gap:18px;position:relative;overflow:hidden;background:linear-gradient(0deg,#103e2bdc,transparent),url('assets/firma-tim-sadenie-v1.webp') center/cover;border-radius:12px;padding:22px;color:white}.personal-profile-hero h1{font-size:31px;margin:0 0 4px}.personal-profile-hero p{font-size:13px;color:#edf7f1}.personal-profile-hero .portrait{width:105px;height:105px;border:4px solid white}.personal-portfolio>.tabs{background:white;padding:12px;margin:0;border-radius:9px;align-items:center}.personal-portfolio>.tabs>span{font-size:12px;color:var(--green);padding:8px;border-bottom:2px solid var(--green)}.personal-portfolio>.stats{margin:0}.personal-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.personal-project-grid>a{color:var(--ink);border:1px solid var(--line);border-radius:9px;overflow:hidden}.personal-project-grid img{width:100%;height:145px;object-fit:cover}.personal-project-grid>a>div{padding:12px}.personal-project-grid h3{font-size:14px;margin:10px 0}.personal-project-grid p{font-size:11px;display:flex;gap:7px;align-items:center;margin:8px 0;color:var(--muted)}.personal-project-grid .icon{width:16px;height:16px}
@media(max-width:580px){.personal-profile-hero{height:185px;padding:15px;gap:12px}.personal-profile-hero h1{font-size:25px}.personal-profile-hero .portrait{width:80px;height:80px}.personal-profile-hero p{font-size:10px}.personal-portfolio>.stats{grid-template-columns:1fr 1fr}.personal-project-grid{grid-template-columns:1fr}.personal-project-grid>a{display:grid;grid-template-columns:110px 1fr}.personal-project-grid img{height:100%;min-height:155px}.personal-project-grid h3{font-size:13px}.personal-project-grid p{font-size:10px}}

/* Portfolio and planning artwork needs its full vertical frame. */
@media(min-width:901px){body[data-view="impact"] .hero.slim,body[data-view="planning"] .hero.slim{height:clamp(230px,14vw,280px);min-height:clamp(230px,14vw,280px)}}
