*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: #f3f1ec;
  color: #1f2933;
}

a {
  color: #1d4f63;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app {
  min-height: 100vh;
}

.stack {
  display: grid;
  gap: 1.25rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 1.75rem;
}

.content-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 1.75rem;
}

.table-wrapper {
  overflow-x: auto;
}

.details {
  display: grid;
  gap: 0.875rem;
  margin: 0;
}

.details__item {
  display: grid;
  gap: 0.3rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #d9d1c4;
}

.details__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.details dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #66727f;
}

.details dd {
  margin: 0;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.list {
  margin: 0;
  padding-left: 1rem;
}

.list__item + .list__item {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .content-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }
}
.shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.shell__main {
  padding: 1.75rem;
}

.shell__content {
  display: grid;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .shell__main {
    padding: 1.25rem;
  }
}
.sidebar {
  display: grid;
  align-content: start;
  gap: 1.75rem;
  padding: 1.75rem;
  background: #f8f5ef;
  border-right: 1px solid #d9d1c4;
}

.sidebar__brand {
  display: grid;
  gap: 0.25rem;
}

.sidebar__kicker,
.sidebar__role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #66727f;
}

.sidebar__title {
  font-size: 1.2rem;
}

.sidebar__profile {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.875rem;
  align-items: center;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #d9d1c4;
  border-radius: 14px;
}

.sidebar__avatar {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #d8e7ed;
  color: #1d4f63;
  font-weight: 700;
}

.sidebar__name {
  display: block;
  margin-bottom: 0.2rem;
}

.sidebar__nav {
  display: grid;
  gap: 0.35rem;
}

.sidebar__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  color: #1f2933;
}

.sidebar__link:hover,
.sidebar__link--active {
  background: #ffffff;
  text-decoration: none;
}

.sidebar__logout {
  margin-top: auto;
}

@media (max-width: 1024px) {
  .sidebar {
    border-right: 0;
    border-bottom: 1px solid #d9d1c4;
  }
}
.header {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.header__eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #66727f;
}

.header__title {
  margin: 0;
  font-size: clamp(1.65rem, 2vw, 2.2rem);
}

.header__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  color: #66727f;
  font-size: 0.86rem;
}

.header__breadcrumb-link {
  color: #66727f;
  text-decoration: none;
}

.header__breadcrumb-link:hover {
  color: #1f2933;
}

.header__breadcrumb-separator {
  color: #d9d1c4;
}

.header__breadcrumb-current {
  color: #1f2933;
  font-weight: 600;
}

.header__subtitle {
  margin: 0.5rem 0 0;
  color: #66727f;
  max-width: 56ch;
}

.header__meta {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .header {
    flex-direction: column;
  }
}
.card {
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid #d9d1c4;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(31, 41, 51, 0.08);
}

.card--metric {
  display: grid;
  gap: 0.6rem;
}

.card--nested {
  background: #faf8f4;
  box-shadow: none;
}

.card--alert {
  margin-bottom: 1.25rem;
}

.card--success {
  border-color: rgba(40, 114, 74, 0.35);
}

.card--danger {
  border-color: rgba(164, 53, 45, 0.35);
}

.card--warning {
  border-color: rgba(154, 103, 0, 0.35);
}

.card__header {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.card__title {
  margin: 0;
  font-size: 1.15rem;
}

.card__eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #66727f;
}

.card__metric {
  font-size: 2rem;
  line-height: 1;
}

.card__text {
  margin: 0;
  color: #66727f;
  line-height: 1.6;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.table th,
.table td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid #d9d1c4;
  text-align: left;
  vertical-align: top;
}

.table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #66727f;
}

.table tbody tr:hover {
  background: #faf8f4;
}

.form {
  display: grid;
  gap: 1.25rem;
}

.form--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
}

.form__grid {
  display: grid;
  gap: 1.25rem;
}

.form__grid--two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form__field {
  display: grid;
  gap: 0.5rem;
  min-width: 180px;
}

.form__field--actions {
  align-content: end;
}

.form__label {
  font-size: 0.82rem;
  color: #66727f;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid #d9d1c4;
  border-radius: 10px;
  background: #ffffff;
  color: #1f2933;
}

.form__textarea {
  resize: vertical;
}

.form__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0.8rem 1.15rem;
  border: 0;
  border-radius: 10px;
  background: #1d4f63;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.form__button:hover {
  text-decoration: none;
  opacity: 0.95;
}

.form__button--ghost {
  background: #ece7df;
  color: #1f2933;
}

.form__button--danger {
  background: #8f2f3d;
  color: #fff;
}

.form__checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: #1f2933;
}

@media (max-width: 720px) {
  .form--inline {
    display: grid;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge--muted {
  background: #ece7df;
  color: #1f2933;
}

.badge--success {
  background: rgba(40, 114, 74, 0.12);
  color: #28724a;
}

.badge--warning {
  background: rgba(154, 103, 0, 0.12);
  color: #9a6700;
}

.badge--danger {
  background: rgba(164, 53, 45, 0.12);
  color: #a4352d;
}

.badge--info {
  background: rgba(66, 103, 134, 0.12);
  color: #426786;
}

.tabs {
  display: grid;
  gap: 1.25rem;
}

.tabs__panel {
  padding: 1.25rem;
  border: 1px solid #d9d1c4;
  border-radius: 14px;
  background: #faf8f4;
}

.tabs__title {
  margin: 0 0 0.875rem;
  font-size: 1rem;
}

.empty-state {
  padding: 1.75rem;
  border: 1px dashed #d9d1c4;
  border-radius: 14px;
  text-align: center;
  background: #faf8f4;
}

.empty-state__text {
  margin: 0;
  color: #66727f;
}

.empty-state--compact {
  padding: 1.25rem;
}

.app--auth {
  display: grid;
  place-items: center;
  padding: 1.75rem;
}

.auth-panel__page {
  width: min(100%, 1080px);
}

.auth-panel {
  display: grid;
  gap: 1.25rem;
}

.auth-panel__surface {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #ffffff;
  border: 1px solid #d9d1c4;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(31, 41, 51, 0.08);
}

.auth-panel__eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #66727f;
}

.auth-panel__title {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 13ch;
}

.auth-panel__text {
  margin: 0;
  color: #66727f;
  max-width: 52ch;
  line-height: 1.7;
}

.notice {
  display: grid;
  gap: 1.25rem;
}

.notice__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.notice__item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #f5f1ea;
  color: #66727f;
  font-size: 0.82rem;
}

.notice__body {
  margin: 0;
  line-height: 1.7;
  color: #1f2933;
}

.notice__body--full {
  padding: 1.25rem;
  border-radius: 14px;
  background: #faf8f4;
}

.thread {
  display: grid;
  gap: 0.875rem;
}

.thread__message {
  max-width: min(100%, 780px);
  padding: 1.25rem;
  border: 1px solid #d9d1c4;
  border-radius: 14px;
  background: #faf8f4;
}

.thread__message--own {
  justify-self: end;
  background: #d8e7ed;
  border-color: rgba(29, 79, 99, 0.18);
}

.thread__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #66727f;
}

.thread__body {
  line-height: 1.7;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.875rem;
  align-items: center;
  margin-top: 1.25rem;
}

.pagination__summary {
  color: #66727f;
  font-size: 0.92rem;
}

.pagination__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  border: 1px solid #d9d1c4;
  border-radius: 10px;
  background: #ffffff;
  color: #1f2933;
  text-decoration: none;
}

.pagination__link:hover {
  text-decoration: none;
  border-color: rgba(29, 79, 99, 0.35);
}

.pagination__link--active {
  background: #1d4f63;
  border-color: #1d4f63;
  color: #fff;
}

@media (max-width: 720px) {
  .pagination {
    align-items: flex-start;
  }
}
.media-card {
  gap: 1.25rem;
}

.media-card__image {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #d9d1c4;
  background: #ece7df;
}

.media-table__thumb-wrap {
  margin-top: 0.875rem;
}

.media-table__thumb {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d9d1c4;
  background: #ece7df;
}

.media-table__path {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  color: #66727f;
}

.media-table__identity {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.media-table__avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #d9d1c4;
  background: #ece7df;
}

.media-table__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #66727f;
}

.media-uploader {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem;
  border: 1px solid #d9d1c4;
  border-radius: 20px;
  background: #ece7df;
}

.media-uploader__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.media-uploader__title {
  margin: 0;
  font-size: 1rem;
}

.media-uploader__hint {
  margin: 0.5rem 0 0;
  color: #66727f;
  font-size: 0.9rem;
}

.media-uploader__dropzone {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  padding: 1.75rem;
  border: 1px dashed #d9d1c4;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.media-uploader__dropzone:hover,
.media-uploader__dropzone--active {
  border-color: #1d4f63;
  background: rgba(29, 79, 99, 0.06);
}

.media-uploader__dropzone-title {
  font-weight: 600;
}

.media-uploader__dropzone-text {
  color: #66727f;
  font-size: 0.88rem;
}

.media-uploader__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.media-uploader__card {
  position: relative;
  display: grid;
  gap: 0.875rem;
  padding: 0.875rem;
  border: 1px solid #d9d1c4;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.media-uploader__card:hover,
.media-uploader__card--selected {
  border-color: #1d4f63;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.media-uploader__preview {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  background: #ece7df;
}

.media-uploader__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-uploader__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: #66727f;
  font-size: 0.82rem;
}

.media-uploader__meta strong {
  color: #1f2933;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-uploader__badge {
  justify-self: start;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(29, 79, 99, 0.12);
  color: #1d4f63;
  font-size: 0.78rem;
  font-weight: 600;
}

.media-uploader__selector {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1f2933;
  font-size: 0.82rem;
  font-weight: 500;
}

.media-uploader__selector input {
  margin: 0;
}

.media-uploader__remove {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  border: 0;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
}

/*# sourceMappingURL=main.css.map */
