.ui-shell-bar {
  width: min(1360px, calc(100vw - 32px));
  margin: 22px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(30, 44, 51, 0.12);
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.9);
  box-shadow: 0 16px 34px rgba(30, 44, 51, 0.08);
}

.ui-shell-brand {
  display: grid;
  gap: 4px;
}

.ui-shell-brand strong {
  font-size: 15px;
  color: #1e2c33;
}

.ui-shell-brand span {
  font-size: 12px;
  color: #63727a;
}

.ui-shell-bar {
  position: relative;
  z-index: 1001;
}

.ui-shell-actions {
  display: flex;
  gap: 8px;
}

.ui-shell-btn {
  padding: 8px 14px;
  border: 1px solid rgba(30, 44, 51, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #1e2c33;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.ui-shell-btn:hover {
  background: rgba(30, 44, 51, 0.06);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 44, 51, 0.5);
}

.modal-card {
  width: min(420px, calc(100vw - 32px));
  padding: 26px;
  border-radius: 24px;
  background: #fffcf7;
  box-shadow: 0 20px 44px rgba(30, 44, 51, 0.18);
  display: grid;
  gap: 14px;
}

.modal-card h3 {
  margin: 0;
  font-size: 20px;
}

.modal-msg {
  font-size: 14px;
  font-weight: 600;
  min-height: 1.4em;
}

.modal-field {
  display: grid;
  gap: 6px;
}

.modal-field label {
  font-size: 13px;
  font-weight: 600;
  color: #63727a;
}

.modal-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(30, 44, 51, 0.16);
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  box-sizing: border-box;
}

.modal-input:focus {
  outline: none;
  border-color: #0b7666;
  box-shadow: 0 0 0 3px rgba(11, 118, 102, 0.15);
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}

.modal-actions .hero-button {
  font-size: 14px;
}

@media (max-width: 1024px) {
  .ui-shell-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .ui-shell-actions {
    justify-content: flex-end;
  }
}
