@import url("account.css");
:root {
  --green: #008f5b;
  --deep: #006b49;
  --mint: #eaf8f1;
  --ink: #0c2035;
  --muted: #61758d;
  --line: #e3eceb;
  --bg: #f4f8f7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: var(--green);
  text-decoration: none;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -1px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 15px;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.topbar {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 26px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -0.7px;
  min-width: 210px;
}
.brand img {
  width: 35px;
  margin-right: 4px;
}
.brand span {
  font-weight: 400;
  color: var(--green);
}
.topsearch {
  max-width: 570px;
  flex: 1;
  position: relative;
}
.topsearch .icon {
  position: absolute;
  top: 12px;
  left: 13px;
  width: 19px;
}
.topsearch input {
  width: 100%;
  border: 1px solid var(--line);
  background: #f6f8fa;
  border-radius: 10px;
  padding: 11px 12px 11px 42px;
}
.top-account {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-left: auto;
  white-space: nowrap;
}
.top-account strong {
  font-size: 12px;
}
.top-account small {
  display: block;
}
.avatar {
  width: 35px;
  height: 35px;
  background: #dcefe5;
  color: var(--deep);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.icon-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px;
  border-radius: 8px;
}
.layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: calc(100vh - 70px);
}
.sidebar {
  padding: 18px 13px;
  background: linear-gradient(white, #fbfdfc);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow: auto;
}
.company-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 11px 18px;
}
.company-chip > span {
  background: var(--green);
  color: white;
  border-radius: 9px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.company-chip strong {
  font-size: 13px;
}
.company-chip small {
  display: block;
}
.nav {
  display: grid;
  gap: 6px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #314a65;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14px;
  position: relative;
}
.nav a.active {
  background: var(--mint);
  color: var(--deep);
  font-weight: 650;
}
.nav a.active:before {
  content: "";
  position: absolute;
  left: -13px;
  height: 29px;
  width: 3px;
  background: var(--green);
  border-radius: 4px;
}
.sidebar-links {
  padding: 18px 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 15px;
  font-size: 12px;
  color: var(--muted);
}
.side-help {
  margin-top: auto;
  background: linear-gradient(120deg, #f6fcf8, #e4f5ee);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 13px;
  position: relative;
  min-height: 135px;
  padding-left: 76px;
}
.side-help img {
  position: absolute;
  width: 100px;
  left: -16px;
  bottom: 0;
  max-height: 160px;
  object-fit: contain;
  object-position: bottom;
}
.side-help strong {
  font-size: 13px;
}
.side-help p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 12px;
}
.side-help .btn {
  font-size: 11px;
  padding: 8px;
}
.main {
  padding: 18px 22px 35px;
  min-width: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  align-self: start;
}
.previewbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #698075;
  font-size: 11px;
  padding: 0 1px 12px;
}
.previewbar button {
  border: 0;
  background: none;
  color: var(--deep);
  font-size: 11px;
  text-decoration: underline;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 8px 0 20px;
}
.page-head p {
  margin-top: 7px;
  color: var(--muted);
}
.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(110deg, var(--deep), #00a26a);
  color: white;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 650;
  font-size: 13px;
  padding: 11px 17px;
  line-height: 1.35;
  transition: background 0.15s;
}
.btn:hover {
  background: linear-gradient(110deg, #005c40, #008e5d);
  color: white;
}
.btn.secondary {
  background: white;
  color: var(--ink);
  border-color: #cfdedb;
}
.btn.secondary:hover {
  background: #f3f9f6;
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--green);
}
.btn.danger {
  background: #fff4f1;
  color: #ba4937;
  border-color: #f5d1c9;
}
.btn.small {
  font-size: 11px;
  padding: 7px 10px;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px;
  min-width: 0;
  box-shadow: 0 3px 15px #183b3008;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.panel-head a {
  font-size: 12px;
}
.grid {
  display: grid;
  gap: 15px;
}
.cols2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.cols3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 17px;
}
.stack {
  display: grid;
  gap: 16px;
  align-content: start;
}
.hero {
  border: 1px solid var(--line);
  border-radius: 13px;
  min-height: 225px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  background: #ecf8f0;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 47%;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #edf9f2 8%,
    #eef9f2f2 30%,
    #eef9f277 54%,
    transparent 75%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 26px 30px;
  max-width: 64%;
}
.hero h1 {
  font-size: 34px;
  margin-bottom: 9px;
}
.hero h2 {
  font-size: 21px;
  color: var(--green);
  margin-bottom: 9px;
}
.hero p {
  color: #4f6b7e;
  max-width: 370px;
  margin-bottom: 17px;
}
.hero.slim {
  min-height: 185px;
  margin-bottom: 18px;
}
.hero.slim h1 {
  font-size: 29px;
}
.hero.slim .hero-content {
  max-width: 68%;
}
.dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(220px, 1fr);
  gap: 16px;
}
.quick {
  display: grid;
  gap: 7px;
}
.quick a {
  padding: 10px;
  background: #f5f8f7;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 12px;
}
.quick a > span {
  display: grid;
  place-items: center;
  background: #e2f7e9;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: var(--green);
}
.quick a > b {
  margin-left: auto;
  font-weight: 400;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 15px 0 18px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 13px;
  background: white;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat > span {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: var(--mint);
  border-radius: 12px;
  color: var(--green);
}
.stat strong {
  display: block;
  font-size: 25px;
  line-height: 1.2;
}
.stat small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}
.project-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  color: var(--ink);
  display: block;
  background: white;
}
.project-card > img {
  height: 115px;
  object-fit: cover;
  width: 100%;
}
.project-card > div {
  padding: 12px;
}
.project-card h3 {
  font-size: 13px;
  margin-bottom: 8px;
}
.project-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0;
}
.project-card .btn {
  margin-top: 10px;
  width: 100%;
}
.progress {
  height: 6px;
  border-radius: 6px;
  background: #edf2f2;
  overflow: hidden;
  margin: 12px 0 7px;
}
.progress > i {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--mint);
  color: var(--deep);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.badge.blue {
  background: #e9f3ff;
  color: #2672b6;
}
.badge.amber {
  background: #fff5df;
  color: #b77811;
}
.badge.gray {
  background: #f0f3f5;
  color: #6d7888;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f1;
}
.row:last-child {
  border-bottom: 0;
}
.row > img {
  width: 58px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}
.row .grow {
  flex: 1;
  min-width: 0;
}
.row strong {
  display: block;
  font-size: 13px;
}
.row small {
  display: block;
  margin-top: 3px;
}
.datebox {
  border-radius: 9px;
  background: #eef9f2;
  min-width: 49px;
  text-align: center;
  padding: 7px;
  color: var(--deep);
  font-size: 10px;
}
.datebox b {
  display: block;
  font-size: 22px;
}
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tabs a,
.tabs button {
  border: 1px solid transparent;
  border-radius: 7px;
  background: #f4f6f8;
  color: #53677e;
  padding: 8px 13px;
  font-size: 12px;
}
.tabs .selected {
  background: #edf9f2;
  border-color: #86cdb0;
  color: var(--deep);
}
.empty {
  padding: 24px 15px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #cddfd6;
  border-radius: 10px;
  background: #fcfefd;
}
.empty > .icon {
  color: var(--green);
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 7px;
}
.empty p {
  max-width: 430px;
  margin: 0 auto 14px;
  font-size: 13px;
}
.task {
  display: flex;
  align-items: start;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.task input {
  accent-color: var(--green);
  margin-top: 4px;
}
.task strong {
  font-size: 12px;
  display: block;
}
.task small {
  font-size: 11px;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.75fr;
  gap: 16px;
  margin-top: 16px;
}
.chart {
  height: 140px;
  display: flex;
  align-items: end;
  gap: 9px;
  padding: 10px 5px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.chart > span {
  flex: 1;
  background: linear-gradient(#b9ead2, #008b5a);
  border-radius: 3px 3px 0 0;
  position: relative;
  min-height: 2px;
}
.chart small {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
}
.photo {
  width: 100%;
  object-fit: cover;
  border-radius: 9px;
  height: 145px;
}
.note {
  background: #eff8f3;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 12px;
  color: #4c6f61;
  margin: 12px 0;
}
.note.amber {
  background: #fff8e9;
  color: #977328;
}
.steps {
  display: flex;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 17px 22px;
  margin: 0 0 20px;
  gap: 10px;
  justify-content: space-between;
}
.step {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  font-size: 12px;
  color: #87959c;
  position: relative;
}
.step:not(:last-child):after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
  margin: 0 12px;
}
.step b {
  border-radius: 50%;
  background: #eef2f2;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}
.step.done,
.step.current {
  color: var(--green);
}
.step.done b,
.step.current b {
  background: var(--green);
  color: white;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: grid;
  gap: 7px;
  align-content: start;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.field input,
.field textarea,
.field select,
.search-field {
  border: 1px solid #dce6e5;
  background: #fff;
  border-radius: 7px;
  color: var(--ink);
  padding: 11px 12px;
  width: 100%;
  font-weight: 400;
  min-width: 0;
}
.field textarea {
  min-height: 95px;
  resize: vertical;
}
.field small {
  font-weight: 400;
}
.full {
  grid-column: 1/-1;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  margin: 7px 0 14px;
}
.section-title .icon {
  color: var(--green);
  width: 20px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 20px;
}
.choice {
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px;
  background: white;
  color: #4f657b;
  cursor: pointer;
  font-size: 12px;
}
.choice:has(input:checked) {
  background: #eefaf3;
  border-color: var(--green);
  color: var(--deep);
}
.choice input {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
}
.choice .icon {
  color: var(--green);
}
.form-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.guide {
  background: linear-gradient(110deg, #eaf8ef, #f9fcf9);
  padding: 21px;
  border-radius: 12px;
  position: relative;
  min-height: 135px;
  overflow: hidden;
}
.guide > img {
  width: 118px;
  height: 153px;
  object-fit: contain;
  position: absolute;
  right: 3px;
  bottom: -18px;
}
.guide > div {
  max-width: 66%;
}
.guide h3 {
  color: var(--deep);
  margin-bottom: 8px;
}
.guide p {
  font-size: 12px;
  color: #547567;
}
.summary-list {
  display: grid;
  gap: 13px;
  font-size: 12px;
}
.summary-list > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.summary-list .icon {
  width: 18px;
  color: var(--green);
}
.upload {
  display: block;
  background: #f8fbf9;
  border: 1px dashed #b9d2c5;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  color: #547567;
  font-size: 12px;
}
.upload input {
  display: block;
  max-width: 100%;
  margin: 10px auto 0;
}
.map {
  height: 190px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #eef3e8;
}
.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map .map-label {
  position: absolute;
  left: 15px;
  bottom: 12px;
  background: white;
  border-radius: 8px;
  padding: 7px 12px;
  max-width: 85%;
  box-shadow: 0 2px 8px #0001;
  font-size: 11px;
}
.map .map-label .icon {
  color: var(--green);
  width: 16px;
}
.map > a {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10px;
}
.partner {
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 10px;
  margin: 11px 0;
  background: #fcfefd;
  align-items: start;
}
.partner > span {
  padding: 10px;
  background: #e9f7ee;
  color: var(--green);
  border-radius: 12px;
}
.partner .grow {
  flex: 1;
}
.partner p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
}
.partner input {
  accent-color: var(--green);
}
.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.toolbar .search-field {
  flex: 1;
  min-width: 170px;
}
.toolbar select {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  font-size: 12px;
}
.table-wrap {
  overflow: auto;
  width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  background: #f7faf8;
}
td,
th {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}
td .avatar {
  margin-right: 7px;
  width: 30px;
  height: 30px;
}
td input[type="time"] {
  width: 88px;
  border: 1px solid var(--line);
  padding: 7px;
  border-radius: 6px;
}
td input[type="checkbox"] {
  accent-color: var(--green);
}
.offer-types {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.offer-types .choice {
  display: grid;
  text-align: center;
  justify-items: center;
  padding: 19px 8px;
  position: relative;
  min-height: 112px;
}
.offer-types .choice input {
  position: absolute;
  right: 9px;
  top: 9px;
}
.offer-types .icon {
  width: 30px;
  height: 30px;
}
.offer-types strong {
  font-size: 12px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.calendar > div {
  background: white;
  min-height: 95px;
  padding: 7px;
  font-size: 11px;
}
.calendar .weekday {
  min-height: 30px;
  text-align: center;
  background: #f4faf6;
  font-size: 10px;
}
.calendar .event {
  display: block;
  background: #dff4e8;
  color: #086c49;
  padding: 5px;
  border-radius: 4px;
  margin-top: 4px;
  font-size: 10px;
  cursor: pointer;
}
.calendar .today {
  background: #f3fcf6;
}
.toggle {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 13px;
}
.toggle input {
  accent-color: var(--green);
  width: 20px;
  height: 20px;
}
.compare {
  position: relative;
  overflow: hidden;
  height: 280px;
  border-radius: 12px;
  background: #edf5ed;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare .before {
  clip-path: inset(0 0 0 var(--split, 50%));
}
.compare input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}
.compare .handle {
  position: absolute;
  left: var(--split, 50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: white;
  pointer-events: none;
}
.compare .handle:after {
  content: "↔";
  position: absolute;
  top: 45%;
  left: -19px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--deep);
  box-shadow: 0 2px 8px #0003;
}
.compare label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: #fffe;
  border-radius: 5px;
  font-size: 11px;
}
.compare label:last-of-type {
  left: auto;
  right: 12px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
}
.project-cover {
  position: relative;
  height: 210px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
}
.project-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.project-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #071f2bd9, transparent 80%);
}
.project-cover > div {
  position: absolute;
  bottom: 22px;
  left: 25px;
  z-index: 1;
  color: white;
}
.project-cover h1 {
  font-size: 29px;
}
.project-cover p {
  margin-top: 7px;
  color: #dfece9;
}
.project-cover .badge {
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 2;
}
.status-line {
  display: flex;
  gap: 0;
  margin: 20px 0;
}
.status-line span {
  flex: 1;
  border-top: 3px solid #e0e9e6;
  padding-top: 10px;
  color: #8c9d94;
  font-size: 11px;
}
.status-line span.on {
  border-color: var(--green);
  color: var(--deep);
}
.mobile-preview {
  max-width: 430px;
  margin: 20px auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 25px;
  box-shadow: 0 12px 45px #183b3010;
  padding: 25px;
}
.mobile-preview h1 {
  font-size: 27px;
  margin: 15px 0;
}
.mobile-preview .btn {
  width: 100%;
  margin-top: 12px;
}
.mobile-preview .photo {
  height: 180px;
}
.success {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e1f6eb;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 38px;
  margin: 10px auto 20px;
}
.chat {
  padding: 13px 0;
  display: flex;
  gap: 10px;
}
.chat p {
  background: #eff8f2;
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  max-width: 80%;
}
.chat small {
  display: block;
  margin-bottom: 5px;
}
.dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  width: min(580px, 92vw);
  max-height: 90vh;
  overflow: auto;
  color: var(--ink);
}
.dialog::backdrop {
  background: #102e3b66;
  backdrop-filter: blur(3px);
}
.dialog h2 {
  margin-bottom: 18px;
}
.dialog-close {
  float: right;
  border: 0;
  background: #f2f7f4;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #103d2e;
  color: white;
  border-radius: 10px;
  padding: 15px 20px;
  z-index: 100;
  max-width: calc(100vw - 40px);
  box-shadow: 0 5px 30px #0002;
}
.mobile-menu {
  display: none;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.error {
  color: #b14332;
  font-size: 12px;
  margin: 10px 0;
}
.cover-preview {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
}
.profile-logo {
  width: 72px;
  height: 72px;
  border-radius: 15px;
  object-fit: contain;
  border: 1px solid var(--line);
  padding: 8px;
  background: white;
}
.report-only {
  display: none;
}
.dashboard-top > .hero {
  height: 252px;
  min-height: 252px;
}
.dashboard-top > .panel {
  padding: 17px;
}
.dashboard-top .quick a {
  height: 40px;
  padding: 6px 10px;
}
.dashboard-top .quick a > span {
  width: 29px;
  height: 29px;
}
.dashboard-top .quick {
  gap: 6px;
}
.dashboard-top .panel-head {
  margin-bottom: 12px;
}
.dashboard-top .hero-content {
  padding: 24px 29px;
  max-width: 67%;
}
.dashboard-top .hero h1 {
  font-size: 35px;
}
.dashboard-top .hero p {
  margin-bottom: 14px;
  font-size: 13px;
}
.dashboard-top .hero:after {
  background: linear-gradient(
    90deg,
    #edf9f2 5%,
    #eef9f2ee 30%,
    #eef9f222 57%,
    transparent 75%
  );
}
.dashboard-top .hero > img {
  object-position: center;
}
.main:has(.dashboard-top) > .work-grid .project-card > img {
  height: 98px;
}
.main:has(.dashboard-top) > .work-grid .project-card > div {
  padding: 10px;
}
.main:has(.dashboard-top) > .work-grid .project-card p {
  font-size: 10px;
  margin: 4px 0;
}
.project-card p .icon {
  width: 13px;
  height: 13px;
}
.main:has(.dashboard-top) > .work-grid .project-card .progress {
  margin: 8px 0;
}
.main:has(.dashboard-top) > .work-grid .project-card small {
  font-size: 10px;
}
.main:has(.dashboard-top) > .work-grid .project-card h3 {
  font-size: 12px;
}
.main:has(.dashboard-top) .bottom-grid .chart {
  height: 112px;
}
.nav a {
  padding-top: 10px;
  padding-bottom: 10px;
}
.hero:not(:has(.hero-content .actions)) .hero-content {
  max-width: 70%;
}
.main:has(.guide) ~ .side-help {
  display: none;
}
body:has(.main .guide) .side-help {
  visibility: hidden;
}
.planning-list {
  display: none;
}
.calendar-mode .selected {
  border-color: #86cdb0;
  background: #edf9f2;
  color: var(--deep);
}
@media (min-width: 1600px) {
  .main {
    padding: 24px 30px;
  }
  .hero {
    min-height: 255px;
  }
  .project-card > img {
    height: 145px;
  }
  body {
    font-size: 15px;
  }
  .panel {
    padding: 23px;
  }
}
@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 205px 1fr;
  }
  .brand {
    min-width: 180px;
    font-size: 21px;
  }
  .sidebar {
    padding: 15px 10px;
  }
  .main {
    padding: 15px;
  }
  .dashboard-top {
    grid-template-columns: minmax(0, 2.5fr) 220px;
  }
  .hero-content {
    padding: 23px;
    max-width: 73%;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero h2 {
    font-size: 18px;
  }
  .bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bottom-grid > .panel:last-child {
    display: none;
  }
  .project-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-cards .project-card:nth-child(3) {
    display: none;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 12px;
    gap: 8px;
  }
  .stat strong {
    font-size: 22px;
  }
  .stat > span {
    width: 35px;
    height: 35px;
  }
  .offer-types {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .topbar {
    gap: 12px;
    padding: 0 15px;
  }
  .brand {
    min-width: 0;
  }
  .top-account small,
  .top-account strong,
  .topbar > .icon-btn {
    display: none;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .dashboard-top {
    grid-template-columns: 1fr;
  }
  .dashboard-top > .panel {
    display: none;
  }
  .main {
    padding: 15px 16px 90px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: #fffffff5;
    backdrop-filter: blur(10px);
    z-index: 25;
    border-top: 1px solid var(--line);
    padding: 9px 4px max(9px, env(safe-area-inset-bottom));
  }
  .mobile-menu a {
    display: grid;
    justify-items: center;
    gap: 4px;
    font-size: 10px;
    color: #6e8192;
  }
  .mobile-menu a.active {
    color: var(--green);
    font-weight: 700;
  }
  .steps {
    padding: 12px;
    gap: 5px;
  }
  .step {
    font-size: 10px;
    gap: 5px;
  }
  .step:not(:last-child):after {
    margin: 0 4px;
  }
  .step b {
    width: 23px;
    height: 23px;
  }
  .hero.slim .hero-content {
    max-width: 70%;
  }
  .topsearch {
    max-width: none;
  }
}
@media (max-width: 580px) {
  h1 {
    font-size: 27px;
  }
  .topbar {
    height: 61px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 28px;
  }
  .topsearch {
    display: none;
  }
  .top-account {
    gap: 5px;
  }
  .main {
    padding: 12px 12px 90px;
  }
  .previewbar {
    font-size: 10px;
    align-items: start;
  }
  .previewbar span {
    max-width: 65%;
  }
  .hero {
    min-height: 230px;
  }
  .hero-content,
  .dashboard-top .hero-content {
    padding: 20px;
    max-width: 88%;
  }
  .dashboard-top .hero h1 {
    font-size: 27px;
  }
  .dashboard-top .hero {
    height: 260px;
  }
  .hero:after {
    background: linear-gradient(90deg, #eff9f2fa, #eff9f2c9 50%, #eff9f233);
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero h2 {
    font-size: 17px;
  }
  .hero p {
    font-size: 12px;
    max-width: 220px;
  }
  .hero .btn {
    font-size: 11px;
    padding: 10px;
  }
  .hero.slim .hero-content {
    max-width: 88%;
  }
  .hero.slim h1 {
    font-size: 25px;
  }
  .hero.slim {
    min-height: 195px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .stat {
    padding: 12px;
  }
  .stat strong {
    font-size: 22px;
  }
  .panel {
    padding: 16px;
  }
  .panel h2 {
    font-size: 17px;
  }
  .page-head {
    align-items: start;
  }
  .page-head .actions .btn {
    font-size: 11px;
    padding: 9px;
  }
  .page-head p {
    font-size: 12px;
  }
  .page-head h1 {
    font-size: 26px;
  }
  .project-cards {
    grid-template-columns: 1fr;
  }
  .project-cards .project-card:nth-child(3) {
    display: block;
  }
  .project-card {
    display: grid;
    grid-template-columns: 105px 1fr;
  }
  .project-card > img {
    height: 100%;
    min-height: 145px;
  }
  .project-card > div {
    padding: 12px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .bottom-grid > .panel:last-child {
    display: block;
  }
  .form-grid,
  .cols2,
  .cols3 {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    gap: 4px;
  }
  .step {
    flex-direction: column;
    text-align: center;
    font-size: 9px;
    line-height: 1.2;
  }
  .step:not(:last-child):after {
    display: none;
  }
  .offer-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .offer-types .choice {
    min-height: 100px;
  }
  .form-footer .btn {
    font-size: 11px;
    padding: 10px;
  }
  .tabs {
    gap: 4px;
  }
  .tabs a,
  .tabs button {
    font-size: 11px;
    padding: 8px;
  }
  .calendar > div {
    min-height: 65px;
    padding: 4px;
    font-size: 10px;
  }
  .calendar .event {
    font-size: 8px;
    padding: 3px;
    word-break: break-word;
  }
  .project-cover {
    height: 190px;
  }
  .project-cover h1 {
    font-size: 24px;
  }
  .project-cover > div {
    left: 18px;
    bottom: 18px;
  }
  .project-cover p {
    font-size: 11px;
  }
  .gallery img {
    height: 90px;
  }
  .compare {
    height: 230px;
  }
  .mobile-preview {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 12px;
    margin: 0;
  }
  .guide > img {
    width: 105px;
  }
  .toolbar select {
    max-width: 100%;
  }
  .status-line span {
    font-size: 9px;
  }
  .top-account .avatar {
    width: 31px;
    height: 31px;
  }
  .planning-list {
    display: block;
  }
  .calendar-panel {
    display: none;
  }
}
@media print {
  .topbar,
  .sidebar,
  .mobile-menu,
  .previewbar,
  .btn,
  .tabs,
  .toast {
    display: none !important;
  }
  .layout,
  .work-grid {
    display: block;
  }
  .main {
    padding: 0;
  }
  .panel {
    break-inside: avoid;
    margin-bottom: 15px;
  }
  .report-only {
    display: block;
  }
  body {
    background: white;
  }
  .hero {
    min-height: 150px;
  }
}
.offer-work {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.28fr);
}
.offer-work .field {
  margin-bottom: 13px;
}
.offer-work .form-grid {
  gap: 12px;
}
.offer-types .choice {
  min-height: 155px;
  background: linear-gradient(145deg, white, #fafcfb);
}
.offer-types .choice:has(input:checked) {
  background: linear-gradient(145deg, #effaf4, #fff);
  box-shadow: 0 4px 12px #008b5a12;
}
.offer-types .choice > .icon {
  padding: 12px;
  width: 64px;
  height: 64px;
  background: #edf8f2;
  border-radius: 50%;
}
.offer-types .choice small {
  font-size: 11px;
  font-weight: 400;
  max-width: 115px;
  line-height: 1.5;
}
.recommendation {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.recommendation:last-child {
  border: 0;
}
.recommendation > img {
  width: 120px;
  height: 135px;
  object-fit: cover;
  border-radius: 9px;
}
.recommendation p {
  font-size: 12px;
  margin: 6px 0;
}
.recommendation p .icon {
  width: 14px;
  height: 14px;
}
.recommendation .note {
  font-size: 11px;
  padding: 9px;
  margin: 9px 0;
}
.team-tabs {
  margin-bottom: 15px;
  padding: 12px 18px;
}
.team-tabs .tabs {
  margin: 0;
}
.invite-card-qr {
  text-align: center;
  padding: 10px;
}
.invite-card-qr svg {
  width: 140px;
  height: auto;
}
.week-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
}
.week-calendar > section {
  border-right: 1px solid var(--line);
  padding: 10px 7px;
  min-height: 260px;
}
.week-calendar h3 {
  font-size: 11px;
  margin-bottom: 15px;
}
.week-calendar small {
  font-size: 10px;
}
.week-event {
  display: block;
  background: var(--mint);
  padding: 8px;
  border-radius: 6px;
  font-size: 11px;
  margin: 8px 0;
}
.week-event small {
  display: block;
  margin-top: 5px;
}
.compare .before {
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .offer-work {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .work-grid > aside.stack {
    display: contents;
  }
  .work-grid > aside.stack > .guide {
    grid-row: 1;
  }
  .work-grid > .stack {
    min-width: 0;
  }
  .offer-types .choice {
    min-height: 155px;
  }
  .recommendation {
    grid-template-columns: 90px 1fr;
    gap: 10px;
  }
  .recommendation > img {
    width: 90px;
    height: 120px;
  }
  .team-tabs .panel-head {
    flex-direction: column;
    align-items: stretch;
  }
  .team-tabs .panel-head > .btn {
    width: 100%;
  }
  .week-calendar {
    grid-template-columns: 1fr;
  }
  .week-calendar > section {
    min-height: 70px;
    border-bottom: 1px solid var(--line);
  }
  .week-calendar h3 {
    margin-bottom: 5px;
  }
  .hero:not(:has(.hero-content .actions)) .hero-content {
    max-width: 90%;
  }
  .offer-work + .panel {
    margin-top: 15px;
  }
}
.hero.slim>img{width:72%;left:auto;right:0;object-position:right top}.hero.slim .hero-content{max-width:65%}.hero.slim:after{background:linear-gradient(90deg,#edf9f2 10%,#edf9f2f2 34%,#edf9f277 52%,transparent 68%)}.dashboard-top .hero>img{object-position:right top}.mobile-preview .guide{margin-top:20px}.profile-logo{margin-top:15px}.mobile-preview .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:580px){.hero.slim>img{width:100%;opacity:.6;object-position:75% top}.hero.slim .hero-content{max-width:95%}.hero.slim:after{background:linear-gradient(90deg,#edf9f2fa,#edf9f2d9 45%,#edf9f244)}.dashboard-top .hero>img{object-position:65% top}.dashboard-top .hero:after{background:linear-gradient(90deg,#edf9f2f5,#edf9f2cd 55%,#edf9f255)}.hero p{max-width:260px}}
.dashboard-top .hero h1{font-size:40px}.hero.slim h1{font-size:38px}.offer-types .choice{padding:14px 8px;gap:8px;min-height:155px}.offer-types .choice>.icon{width:54px;height:54px;padding:10px}.offer-types .choice strong{font-size:13px;color:var(--ink)}.offer-types .choice small{line-height:1.35}.offer-work .field input{padding:8px 10px}.offer-work .field textarea{min-height:75px}.offer-work .field{gap:6px;margin-bottom:12px}.offer-work .toggle{padding:11px 0;font-size:12px}.offer-work .toggle small{font-size:10px}.offer-work .recommendation{grid-template-columns:105px 1fr;padding:13px 0}.offer-work .recommendation>img{width:105px;height:115px}.offer-work .recommendation p{font-size:11px;margin:5px 0}.offer-work .recommendation .note{padding:7px;font-size:10px}.offer-work .panel-head h2{font-size:17px}.offer-work .panel-head{margin-bottom:12px}.offer-work+.panel{margin-top:16px}.dashboard-top .project-card>div>.badge{position:absolute;left:8px;top:8px}.project-card{position:relative}
@media(max-width:580px){.dashboard-top .hero h1{font-size:27px}.hero.slim h1{font-size:27px}.offer-work .recommendation{grid-template-columns:90px 1fr}.offer-work .recommendation>img{width:90px;height:105px}}

/* Keep panoramic artwork visible in company workspace banners. */
.hero.slim>img{width:min(68%,850px);left:auto;right:0;object-position:center bottom}
.dashboard-top>.hero{height:clamp(280px,18vw,340px);min-height:280px}
.dashboard-top .hero>img{left:auto;right:0;width:min(68%,1050px);object-position:center bottom}
