/* Make width and height calculations easier in layout work. */
* {
  box-sizing: border-box;
}

/* Basic page setup. */
html,
body {
  margin: 0;
  padding: 0;
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  background: rgb(248, 251, 255);
  color: rgb(0, 17, 51);
}

/* Make buttons use the same font as the page. */
button {
  font: inherit;
}

/* Space below the navbar. */
.page-body {
  padding: 16px;
}

/* Main wrapper for the new clean project shell. */
.project-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Simple top message block on the reset page. */
.starter-block {
  margin: 16px;
  padding: 18px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(215, 238, 255);
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 48, 127, 0.10);
}

.starter-block h1 {
  margin: 0 0 8px;
  font-size: 20px;
  color: rgb(0, 32, 92);
}

.starter-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Four-card structure preview for the new folder setup. */
.starter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 16px 16px;
}

/* Main 3-part website layout. */
.website-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(320px, 0.95fr);
  align-items: start;
  gap: 12px;
  padding: 8px 8px 16px;
}

.website-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

/* Shared section panel style. */
.ui-panel {
  width: 100%;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(191, 217, 248);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 48, 127, 0.10);
}

.section-mount {
  min-width: 0;
  width: 100%;
  display: block;
}

.ui-panel-header {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 14px;
  background: linear-gradient(180deg, rgb(0, 48, 127) 0%, rgb(0, 66, 163) 100%);
  color: rgb(255, 255, 255);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.ui-panel-body {
  padding: 10px 12px;
}

.ui-field {
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(158, 196, 246);
  border-radius: 6px;
  color: rgb(0, 17, 51);
  font-size: 13px;
  font-weight: 600;
}

.ui-input {
  min-height: 32px;
  width: 100%;
  padding: 0 10px;
  border: 1px solid rgb(158, 196, 246);
  border-radius: 6px;
  background: rgb(255, 255, 255);
  color: rgb(0, 17, 51);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
}

.ui-input::placeholder {
  color: rgb(139, 154, 181);
}

.ui-input-calc {
  background: rgb(242, 247, 254);
  color: rgb(0, 32, 92);
}

.ui-field-calc {
  background: rgb(242, 247, 254);
  color: rgb(0, 32, 92);
}

.ui-unit {
  color: rgb(0, 48, 127);
  font-size: 12px;
  font-weight: 700;
  justify-self: start;
}

.ui-row-note {
  margin-top: 8px;
  padding: 8px 10px;
  border-top: 1px solid rgb(217, 233, 251);
  color: rgb(0, 32, 92);
  font-size: 11px;
  line-height: 1.45;
  background: rgb(248, 251, 255);
}

.ui-check-fixed {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid rgb(158, 196, 246);
  border-radius: 3px;
  background: rgb(255, 255, 255);
}

@media (max-width: 760px) {
  .starter-grid {
    grid-template-columns: 1fr;
  }

  .website-layout {
    grid-template-columns: 1fr;
    padding: 8px 8px 16px;
  }
}
