.ir-root {
  max-width: 1450px;
  margin: 0 auto;
  padding: 28px;
  color: #1d2639;
}
.ir-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 26px;
  background: linear-gradient(135deg, #fdf7f5, #fff 44%, #fff1ec);
  border: 1px solid #f5cfc4;
  box-shadow: 0 16px 40px #97361915;
}
.ir-kicker {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.11em;
  color: #df6546;
}
.ir-hero h1 {
  margin: 7px 0;
  font-size: clamp(28px, 3vw, 42px);
}
.ir-hero p {
  margin: 0;
  color: #647084;
  line-height: 1.65;
}
.ir-hero-actions,
.ir-dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ir-btn {
  border: 1px solid #d9deea;
  background: #fff;
  border-radius: 12px;
  padding: 11px 15px;
  font-weight: 750;
  color: #263149;
  cursor: pointer;
}
.ir-btn:hover {
  border-color: #e46848;
}
.ir-primary {
  color: white;
  background: linear-gradient(135deg, #f17751, #d94c3b);
  border-color: #d94c3b;
}
.ir-notice {
  margin: 16px 0;
  padding: 13px 16px;
  border-radius: 12px;
  background: #fff7dc;
  color: #765a22;
  font-size: 14px;
}
.ir-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 620px;
  border: 1px solid #e3e7ef;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 36px #1f29370b;
}
.ir-sidebar {
  background: #f8f9fc;
  border-right: 1px solid #e5e8ef;
  padding: 16px;
}
.ir-side-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}
.ir-icon,
.ir-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #667085;
}
.ir-room-list {
  display: grid;
  gap: 8px;
}
.ir-room {
  width: 100%;
  border: 1px solid transparent;
  text-align: left;
  border-radius: 12px;
  background: transparent;
  padding: 12px;
  cursor: pointer;
}
.ir-room:hover,
.ir-room.active {
  background: #fff;
  border-color: #f2b7a7;
  box-shadow: 0 4px 13px #d65b3920;
}
.ir-room b,
.ir-room small {
  display: block;
}
.ir-room small,
.ir-muted {
  color: #718096;
  font-size: 12px;
  margin-top: 4px;
}
.ir-board {
  padding: 28px;
  background: linear-gradient(180deg, #fff, #fcfdff);
}
.ir-empty {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 500px;
  color: #778196;
}
.ir-empty i {
  font-size: 56px;
  color: #ec8a70;
}
.ir-room-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9edf4;
}
.ir-room-head h2 {
  margin: 0;
}
.ir-room-head p {
  margin: 6px 0;
  color: #718096;
}
.ir-compose {
  margin: 22px 0;
  border: 1px solid #e4e7ef;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
}
.ir-compose textarea {
  width: 100%;
  resize: vertical;
  min-height: 82px;
  border: 0;
  outline: 0;
  font: inherit;
}
.ir-compose-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eef0f5;
  padding-top: 12px;
}
.ir-file {
  max-width: 250px;
}
.ir-posts {
  display: grid;
  gap: 14px;
}
.ir-post {
  border: 1px solid #e7e9ee;
  border-radius: 16px;
  padding: 18px;
  background: white;
}
.ir-post-head {
  display: flex;
  justify-content: space-between;
  color: #647084;
  font-size: 13px;
}
.ir-post-body {
  white-space: pre-wrap;
  line-height: 1.65;
  margin: 13px 0;
}
.ir-file-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 10px;
  background: #fff4ef;
  color: #a5412d;
  text-decoration: none;
  font-weight: 700;
}
.ir-post-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.ir-post-actions button {
  border: 0;
  background: #f5f6f9;
  border-radius: 9px;
  padding: 7px 9px;
  cursor: pointer;
  color: #556070;
}
.ir-dialog {
  border: 0;
  border-radius: 22px;
  padding: 0;
  max-width: 460px;
  width: calc(100% - 32px);
  box-shadow: 0 22px 70px #11182755;
}
.ir-dialog::backdrop {
  background: #18203388;
}
.ir-dialog-card {
  position: relative;
  padding: 28px;
  display: grid;
  gap: 14px;
}
.ir-dialog-card h2,
.ir-dialog-card p {
  margin: 0;
}
.ir-dialog-card label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}
.ir-dialog-card input {
  padding: 12px;
  border: 1px solid #d9deea;
  border-radius: 10px;
  font: inherit;
}
.ir-close {
  position: absolute;
  right: 15px;
  top: 13px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d9deea;
  border-radius: 9px;
}
.ir-close:hover,
.ir-close:focus-visible {
  border-color: #e46848;
  background: #fff5f2;
  color: #b33b28;
  outline: none;
}
.ir-dialog .ir-btn:disabled {
  cursor: wait;
  opacity: 0.64;
}
.ir-form-error {
  color: #bb2d25;
  min-height: 20px;
  font-size: 13px;
}
.ir-dialog-actions {
  justify-content: flex-end;
  margin-top: 4px;
}
@media (max-width: 760px) {
  .ir-root {
    padding: 14px;
  }
  .ir-hero {
    display: grid;
    padding: 22px;
  }
  .ir-layout {
    grid-template-columns: 1fr;
  }
  .ir-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e5e8ef;
  }
  .ir-board {
    padding: 18px;
  }
  .ir-room-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ir-compose-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .ir-file {
    max-width: 100%;
  }
}
